Summary: | CSS `::marker` does not support defining CSS variables | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jordan Pittman <jordan> | ||||
Component: | CSS | Assignee: | Karl Dubost <karlcow> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | brandon, heycam, koivisto, obrufau, sam, simon.fraser, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | GoodFirstBug, InRadar | ||||
Version: | Safari 15 | ||||||
Hardware: | Mac (Apple Silicon) | ||||||
OS: | macOS 12 | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=241576 | ||||||
Attachments: |
|
Description
Jordan Pittman
2022-06-13 13:36:22 PDT
*** Bug 241576 has been marked as a duplicate of this bug. *** (In reply to Jordan Pittman from comment #0) > I think the CSS spec is possibly underspecified here as it does limit what > properties apply to `::marker` pseudo elements It's specified in https://drafts.csswg.org/css-variables/#defining-variables > Applies to: all elements and all pseudo-elements (including those with restricted property lists) > I'd love to send in a patch Probably it's just a matter of adding CSSPropertyCustom into isValidMarkerStyleProperty. https://searchfox.org/wubkat/rev/fd9594cdf418745718908fd1869a116307a46e7a/Source/WebCore/style/PropertyAllowlist.cpp#41 ::cue may have the same problem. Pull request: https://github.com/WebKit/WebKit/pull/7376 Committed 257711@main (52052a276f0d): <https://commits.webkit.org/257711@main> Reviewed commits have been landed. Closing PR #7376 and removing active labels. |