You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug 1734939 [wpt PR 31169] - [@layer] Change layer order from preorder to postorder, a=testonly
Automatic update from web-platform-tests
[@layer] Change layer order from preorder to postorder
This patch follows from a recent CSSWG resolution [1] that puts the
default layer at the highest priority, and a subsequent spec edit [2]
that changed the layer ordering from the preorder of the layer tree to
the postorder.
Most test changes just reflect this spec change. In some WPT tests,
rule ordering is swapping so that the winning rule will appear first,
so that we can verify layer is working.
external/wpt/css/css-cascade/presentational-hints-cascade.html is moved
from the stable test suite to a new disable-custom-element-default-style
virtual test suite because this is the flag that actually makes the test
result different on test and stable builds. We need to disable this flag
while keeping cascade layers enabled to test the new test case in the
file.
[1] w3c/csswg-drafts#6284 (comment)
[2] w3c/csswg-drafts@a6fc16e
Fixed: 1257936
Change-Id: I899de8c8a921b0535296957ee1b0cca1f60a8c61
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3214603
Reviewed-by: Anders Hartvoll Ruud
Reviewed-by: Xianzhu Wang
Commit-Queue: Xiaocheng Hu
Cr-Commit-Position: refs/heads/main@{#930689}
--
wpt-commits: fd7a9e9a139e01cd5017b57b8d3123d3a9a1a7bb
wpt-pr: 31169
0 commit comments