[Webkit-unassigned] [Bug 236272] New: [css] Can't revert low-priority properties like text-decoration
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 7 16:39:42 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=236272
Bug ID: 236272
Summary: [css] Can't revert low-priority properties like
text-decoration
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: obrufau at igalia.com
Blocks: 236199
Created attachment 451172
--> https://bugs.webkit.org/attachment.cgi?id=451172&action=review
testcase
All of these should look identical:
<u style="all: revert">foo</u>
<u style="text-decoration: revert">foo</u>
<u style="all: revert-layer">foo</u>
<u style="text-decoration: revert-layer">foo</u>
<u>foo</u>
But only the last one has the underline set in UA origin.
That's because text-decoration is low-priority / deferred / applied in parse order.
`revert` and `revert-layer` don't seem to work on these properties:
https://webkit-search.igalia.com/webkit/rev/30ea950a1b2947097300016afbe68f78665b0e43/Source/WebCore/style/PropertyCascade.cpp#41-73
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=236199
[Bug 236199] [css-logical] changing the writing-mode via a CSS variable does not update the physical properties
--
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/20220208/c7f29971/attachment.htm>
More information about the webkit-unassigned
mailing list