mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Fix main frame scrolling in quirks mode after WebRender (#30375)
Main frame scrolling after the WebRender upgrade was broken because the main frame no longer has content size content bounds and quirks mode leads to a body with zero height. Fixes #30368.
This commit is contained in:
parent
df8cd1a7c8
commit
39291715c4
13 changed files with 12 additions and 16 deletions
|
@ -664,7 +664,7 @@ impl<Window: WindowMethods + ?Sized> IOCompositor<Window> {
|
|||
self.waiting_for_results_of_scroll = true;
|
||||
|
||||
let mut txn = Transaction::new();
|
||||
txn.scroll_node_with_id(point, scroll_id, ScrollClamping::ToContentBounds);
|
||||
txn.scroll_node_with_id(point, scroll_id, ScrollClamping::NoClamping);
|
||||
txn.generate_frame(0);
|
||||
self.webrender_api
|
||||
.send_transaction(self.webrender_document, txn);
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[background-attachment-fixed-inline-scrolled.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[position-sticky-escape-scroller-002.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[position-sticky-escape-scroller-004.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[position-sticky-top-002.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-overflow-021.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[sticky-content.html]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[background-attachment-fixed-inline-scrolled.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[position-sticky-escape-scroller-002.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[filtered-html-is-not-container.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[scroll_root.html]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[scrollBy.html]
|
||||
[Ensure that the window.scrollBy function affects scroll position as expected]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[scroll_root.html]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue