aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/css
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-12-11 13:58:37 +0100
committerGitHub <noreply@github.com>2024-12-11 12:58:37 +0000
commit3f85a27097549d15d52297d5e4e75fa9d52453c8 (patch)
tree3735a7bc2bcd19f717360fcee387a8403085b717 /tests/wpt/meta/css
parentbc741bdc0bddbba8971270f510570606519d1aab (diff)
downloadservo-3f85a27097549d15d52297d5e4e75fa9d52453c8.tar.gz
servo-3f85a27097549d15d52297d5e4e75fa9d52453c8.zip
script: Remove 'pending reflow' concept and some explicit reflows (#34558)
The `pending reflow` concept isn't necessary now that *update the rendering* is taking care of triggering reflows at the correct time. `Window::reflow` already avoids reflows if the page is not dirty, so pending reflows is now just an extraneous check as long as *update the rendering* runs properly. This change also removes some explicit reflows, which now wait until the appropriate moment during *update the rendering*. This should remove some extra reflows that are not necessary. Servo needs some way to track that resizing the web view needs to re-layout due to the initial containing block changing. Move handling of `Document::needs_paint` to the script thread and use this, expanding the rustdoc to explain what it is for a bit more clearly. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'tests/wpt/meta/css')
-rw-r--r--tests/wpt/meta/css/css-ui/transparent-accent-color-001.html.ini2
-rw-r--r--tests/wpt/meta/css/css-ui/transparent-accent-color-002.html.ini2
2 files changed, 0 insertions, 4 deletions
diff --git a/tests/wpt/meta/css/css-ui/transparent-accent-color-001.html.ini b/tests/wpt/meta/css/css-ui/transparent-accent-color-001.html.ini
deleted file mode 100644
index 86d0d1e6e2c..00000000000
--- a/tests/wpt/meta/css/css-ui/transparent-accent-color-001.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[transparent-accent-color-001.html]
- expected: TIMEOUT
diff --git a/tests/wpt/meta/css/css-ui/transparent-accent-color-002.html.ini b/tests/wpt/meta/css/css-ui/transparent-accent-color-002.html.ini
deleted file mode 100644
index 5942e38a2db..00000000000
--- a/tests/wpt/meta/css/css-ui/transparent-accent-color-002.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[transparent-accent-color-002.html]
- expected: TIMEOUT