mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
No longer store scroll offsets for elements in the DOM. Instead consistently get and set these in layout's `ScrollTree`. This more consistently requires layout to run when querying scroll offsets, which ensures that they are up-to-date and properly bounded by scrollable overflow area. Testing: This causes several WPT tests to start passing, and one to start failing. In the case of `/shadow-dom/scroll-to-the-fragment-in-shadow-tree.html`, I believe the issue is that we don't properly handle scrolling and shadow DOM elements. Before, the faulty scrolling was hiding this issue. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
27 lines
760 B
INI
Vendored
27 lines
760 B
INI
Vendored
[scrolling-quirks-vs-nonquirks.html]
|
|
[scrollWidth/scrollHeight on the root element in non-quirks mode]
|
|
expected: FAIL
|
|
|
|
[scrollWidth/scrollHeight on the root element in quirks mode]
|
|
expected: FAIL
|
|
|
|
[scrollWidth/scrollHeight on the HTML body element in quirks mode]
|
|
expected: FAIL
|
|
|
|
[scroll() on the root element in non-quirks mode]
|
|
expected: FAIL
|
|
|
|
[scrollBy() on the root element in non-quirks mode]
|
|
expected: FAIL
|
|
|
|
[scrollLeft/scrollTop on the root element in non-quirks mode]
|
|
expected: FAIL
|
|
|
|
[scroll() on the HTML body element in quirks mode]
|
|
expected: FAIL
|
|
|
|
[scrollBy() on the HTML body element in quirks mode]
|
|
expected: FAIL
|
|
|
|
[scrollLeft/scrollTop on the HTML body element in quirks mode]
|
|
expected: FAIL
|