servo/tests/wpt/meta/css/css-cascade
Martin Robinson 9416251cab
script: Unify script-based "update the rendering" and throttle it to 60 FPS (#38431)
Instead of running "update the rendering" at every IPC message, only run
it when a timeout has occured in script. In addition, avoid updating the
rendering if a rendering update isn't necessary. This should greatly
reduce the amount of processing that has to happen in script.

Because we are running many fewer calls to "update the rendering" it is
reasonable now to ensure that these always work the same way. In
particular, we always run rAF and update the animation timeline when
updating the ernder

In addition, pull the following things out of reflow:

 - Code dealing with informing the Constellation that a Pipeline has
   become Idle when waiting for a screenshot.
 - Detecting when it is time to fulfill the `document.fonts.ready`
   promise.

The latter means that reflow can never cause a garbage collection,
making timing of reflows more consistent and simplifying many callsites
that need to do script queries.

Followup changes will seek to simplify the way that ScriptThread-driven
animation timeouts happen even simpler.

Testing: In general, this should not change testable behavior so much,
though it
does seem to fix one test.  The main improvement here should be that
the ScriptThread does less work.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2025-08-04 16:27:00 +00:00
..
parsing Add CSSOM support for CSS layers (#31481) 2024-03-03 12:47:39 +00:00
all-prop-initial-visited.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
all-prop-revert-noop.html.ini Add basic support for enumerating computed styles (#31499) 2024-03-06 21:43:06 +00:00
at-scope-parsing.html.ini script: Implement deprecated CSSStyleSheet members (#36313) 2025-04-03 15:56:47 +00:00
at-scope-relative-syntax.html.ini Update web-platform-tests to revision b'16f18d8135a80e89f2e910ca7548999fa2f7937e' (#31951) 2024-03-31 05:15:08 +00:00
idlharness.html.ini Add CSSOM support for CSS layers (#31481) 2024-03-03 12:47:39 +00:00
import-conditions.html.ini Upgrade Stylo to 2025-08-01 (#38429) 2025-08-02 21:48:33 +00:00
layer-counter-style-override.html.ini Partial implementation of keyword sizes for block layout (#34568) 2024-12-16 12:34:57 +00:00
layer-cssom-order-reverse-at-property.html.ini Add CSSOM support for CSS layers (#31481) 2024-03-03 12:47:39 +00:00
layer-font-face-override.html.ini Sync WPT with upstream (11-07-2025) (#38001) 2025-07-11 16:06:40 +00:00
layer-media-query.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
layer-property-override.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
revert-layer-011.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
revert-val-008.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
revert-val-009.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
revert-val-010.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
scope-container.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
scope-cssom.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
scope-declarations.html.ini Update web-platform-tests to revision b'6d461cc41e1a9951e1991a94f651e389b0ca24ba' (#34360) 2024-11-24 01:40:36 +00:00
scope-deep.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
scope-evaluation.html.ini style: Add support for is() and where() selectors (#34066) 2024-11-19 14:05:46 +00:00
scope-implicit-external.html.ini Update web-platform-tests to revision b'17375f41ccf41e081764d2786ec535dede108c47' (#32426) 2024-06-02 03:56:27 +00:00
scope-implicit.html.ini Update web-platform-tests to revision b'6d461cc41e1a9951e1991a94f651e389b0ca24ba' (#34360) 2024-11-24 01:40:36 +00:00
scope-import-implicit.tentative.html.ini Update web-platform-tests to revision b'6cf69a4f431581e9438681abc776029308ee8a8c' (#34265) 2024-11-17 01:49:15 +00:00
scope-import-inner-scope.tentative.html.ini Update web-platform-tests to revision b'6cf69a4f431581e9438681abc776029308ee8a8c' (#34265) 2024-11-17 01:49:15 +00:00
scope-import-multiple.tentative.html.ini Update web-platform-tests to revision b'6cf69a4f431581e9438681abc776029308ee8a8c' (#34265) 2024-11-17 01:49:15 +00:00
scope-import-parent-pseudo.tentative.html.ini Update web-platform-tests to revision b'6cf69a4f431581e9438681abc776029308ee8a8c' (#34265) 2024-11-17 01:49:15 +00:00
scope-import-scope-end.tentative.html.ini Update web-platform-tests to revision b'6cf69a4f431581e9438681abc776029308ee8a8c' (#34265) 2024-11-17 01:49:15 +00:00
scope-import-scope-pseudo.tentative.html.ini Update web-platform-tests to revision b'6cf69a4f431581e9438681abc776029308ee8a8c' (#34265) 2024-11-17 01:49:15 +00:00
scope-import-scope-start.tentative.html.ini Update web-platform-tests to revision b'6cf69a4f431581e9438681abc776029308ee8a8c' (#34265) 2024-11-17 01:49:15 +00:00
scope-invalidation.html.ini Update web-platform-tests to revision b'bf49dde84c5f05613115d6146d109f0ec3900694' (#34483) 2024-12-05 05:23:07 +00:00
scope-layer.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
scope-media.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
scope-name-defining-rules.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
scope-nesting.html.ini Update web-platform-tests to revision b'38623a53d6598cb7aab4be8a810102b352a652df' (#34622) 2024-12-15 03:52:07 +00:00
scope-overlapping-has.html.ini Update web-platform-tests to revision b'979291d49c1a8e3d811df117d9e6b5d399a6deb2' (#34733) 2024-12-22 01:37:35 +00:00
scope-part.html.ini Update web-platform-tests to revision b'3634d5a63f2fa3969616396d95537c91c3348fe5' (#32959) 2024-08-07 10:15:56 +00:00
scope-proximity.html.ini Update web-platform-tests to revision b'73d6bd0d61f0ad5341d0c2303a7638e3aa12a594' (#34029) 2024-10-27 01:31:51 +00:00
scope-pseudo-element.html.ini Update web-platform-tests to revision b'86de4ffa4e439098e05f05de7d8cae1c24ff84fb' (#32200) 2024-05-01 15:47:11 +00:00
scope-shadow-sharing.html.ini Enable Shadow DOM for tests (#34299) 2024-11-20 05:57:50 +00:00
scope-shadow.html.ini Update web-platform-tests to revision b'6d461cc41e1a9951e1991a94f651e389b0ca24ba' (#34360) 2024-11-24 01:40:36 +00:00
scope-specificity.html.ini Update web-platform-tests to revision b'd2f2efe271ae2fa661c52ed2fe8564e21ad4036f' (#34115) 2024-11-03 01:33:12 +00:00
scope-starting-style.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
scope-style-sharing-001.html.ini Update web-platform-tests to revision b'5af3e9c2a2aba76ade00f0dbc3486e50a74a4506' (#32824) 2024-07-21 07:59:39 +00:00
scope-style-sharing-002.html.ini Update web-platform-tests to revision b'5af3e9c2a2aba76ade00f0dbc3486e50a74a4506' (#32824) 2024-07-21 07:59:39 +00:00
scope-supports.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00
scope-visited-cssom.html.ini style: Add support for is() and where() selectors (#34066) 2024-11-19 14:05:46 +00:00
scope-visited.html.ini Enable more css tests (#31469) 2024-03-01 07:49:39 +00:00