[Webkit-unassigned] [Bug 260425] New: Unexpected behavior with the `quotes` property when custom properties are applied to pseudo-elements
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Aug 19 05:21:00 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=260425
Bug ID: 260425
Summary: Unexpected behavior with the `quotes` property when
custom properties are applied to pseudo-elements
Product: WebKit
Version: Safari 16
Hardware: Mac (Apple Silicon)
OS: macOS 13
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: yuhei.yasuda1003 at gmail.com
Created attachment 467339
--> https://bugs.webkit.org/attachment.cgi?id=467339&action=review
For none, the open quote is hidden and the close quote is ”; for string, the open quote has a custom value applied but the close quote is ”
When using either `none` or a string for the `quotes` property, and if custom properties are applied to pseudo-elements, the result is the same as if `auto` was specified for the `quotes` property.
span {
quotes: "«" "»";
}
span::before {
content: open-quote;
}
span::after {
--x: ; /* this line reverts the quote */
content: close-quote;
}
Demo: https://codepen.io/yuheiy/pen/oNJNQzw
--
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/20230819/1d2debcc/attachment.htm>
More information about the webkit-unassigned
mailing list