mirror of
https://github.com/servo/servo
synced 2026-04-29 10:57:43 +02:00
Suppress reflows before RefreshTick or FirstLoad
This fixes a bug where partially loaded content is displayed to the user before it should be, usually before stylesheets have loaded. This commit supresses reflows until either FirstLoad or RefreshTick, whichever comes first. Unfortunately, hit_test and mouse_over did not do reflows if they were necessary, and so by suppressing the initial spurious reflows, these methods started to panic without a display list to query. This patch also transforms these into queries similar to the other existing queries.
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
[CaretPosition-001.htm]
|
||||
type: testharness
|
||||
[Element at (400, 100)]
|
||||
expected: FAIL
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
[elementFromPoint-001.htm]
|
||||
type: testharness
|
||||
[CSSOM View - 5 - extensions to the Document interface]
|
||||
expected: FAIL
|
||||
|
||||
@@ -1,20 +1,8 @@
|
||||
[elementFromPosition.htm]
|
||||
type: testharness
|
||||
[test some point of the element: top left corner]
|
||||
expected: FAIL
|
||||
|
||||
[test some point of the element: top line]
|
||||
expected: FAIL
|
||||
|
||||
[test some point of the element: top right corner]
|
||||
expected: FAIL
|
||||
|
||||
[test some point of the element: left line]
|
||||
expected: FAIL
|
||||
|
||||
[test some point of the element: inside]
|
||||
expected: FAIL
|
||||
|
||||
[test some point of the element: right line]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user