[Webkit-unassigned] [Bug 271136] New: [css-cascade] revert-layer does not rollback unregistered custom properties
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 17 20:34:53 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=271136
Bug ID: 271136
Summary: [css-cascade] revert-layer does not rollback
unregistered custom properties
Product: WebKit
Version: Safari 17
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: nathan at knowler.dev
Created attachment 470414
--> https://bugs.webkit.org/attachment.cgi?id=470414&action=review
Test reduction for custom properties and revert-layer
I expect that using the `revert-layer` keyword for a custom property would roll it back to the previous layer’s specified value, however, for unregistered custom properties it seems to ignore any specified values and computes as nothing. Registered custom properties seem to work as expected whether or not they have an initial value. Chrome and Firefox both work as expected.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240318/0b315bb5/attachment.htm>
More information about the webkit-unassigned
mailing list