WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
237486
[css-cascade] revert-layer in lowest @layer ignores user and UA styles
https://bugs.webkit.org/show_bug.cgi?id=237486
Summary
[css-cascade] revert-layer in lowest @layer ignores user and UA styles
Oriol Brufau
Reported
2022-03-04 14:51:03 PST
Created
attachment 453874
[details]
testcase <!DOCTYPE html> <style> @layer { #target { display: revert-layer; } } </style> <div id="target"></div> <script> document.body.append(getComputedStyle(target).display); </script> Actual: inline Expected: block Chromium and Firefox do it correctly. Spec:
https://drafts.csswg.org/css-cascade-5/#revert-layer
> If there are no lower-priority declarations in the same cascade origin as the revert-layer value, the cascaded value will roll back to the previous origin.
Attachments
testcase
(185 bytes, text/html)
2022-03-04 14:51 PST
,
Oriol Brufau
no flags
Details
Patch
(6.98 KB, patch)
2022-03-04 16:24 PST
,
Oriol Brufau
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Oriol Brufau
Comment 1
2022-03-04 16:24:07 PST
Created
attachment 453879
[details]
Patch
EWS Watchlist
Comment 2
2022-03-04 16:26:20 PST
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see
https://trac.webkit.org/wiki/WPTExportProcess
EWS
Comment 3
2022-03-05 03:20:12 PST
Committed
r290864
(
248095@main
): <
https://commits.webkit.org/248095@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 453879
[details]
.
Radar WebKit Bug Importer
Comment 4
2022-03-05 03:21:18 PST
<
rdar://problem/89854114
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug