This website requires JavaScript.
Explore
Help
Sign in
Stowage
/
ladybird
Watch
2
Star
0
Fork
You've already forked ladybird
0
mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced
2025-12-08 06:09:58 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
d31a58a7d6
ladybird
/
Tests
/
LibWeb
/
Text
/
expected
/
DOM
/
Element-set-scroll-left.txt
3 lines
35 B
Text
Raw
Normal View
History
Unescape
Escape
LibWeb+WebContent: Do not include DOM HTML in text test expectations For example, in the following abbreviated test HTML: <span>some text</span> <script>println("whf")</script> We would have to craft the expectation file to include the "some text" segment, usually with some leading whitespace. This is a bit annoying, and makes it difficult to manually craft expectation files. So instead of comparing the expectation against the entire DOM inner text, we now send the inner text of just the <pre> element containing the test output when we invoke `internals.signalTextTestIsDone`.
2024-10-02 12:38:10 -04:00
scrollWidth: 1430
LibWeb: Clamp scroll offset to valid range in `set_scroll_offset()` By moving scroll offset clamp from `PaintableBox::scroll_by()` to `PaintableBox::set_scroll_offset()`, we ensure that updates from `Element::set_scroll_top()` and `Element::set_scroll_left()` are constrained to a valid range.
2024-02-22 01:27:21 +01:00
scrollLeft: 1130
Reference in a new issue
Copy permalink