RESOLVED DUPLICATE of bug 277154 260425
Unexpected behavior with the `quotes` property when custom properties are applied to pseudo-elements
https://bugs.webkit.org/show_bug.cgi?id=260425
Summary Unexpected behavior with the `quotes` property when custom properties are app...
Yuhei Yasuda
Reported 2023-08-19 05:21:00 PDT
Created attachment 467339 [details] 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
Attachments
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 ” (5.49 KB, image/png)
2023-08-19 05:21 PDT, Yuhei Yasuda
no flags
Radar WebKit Bug Importer
Comment 1 2023-08-26 05:21:14 PDT
Tim Nguyen (:ntim)
Comment 2 2024-07-26 17:31:53 PDT
*** This bug has been marked as a duplicate of bug 277154 ***
Tim Nguyen (:ntim)
Comment 3 2024-07-26 17:32:16 PDT
Bug 277154 fixes this testcase
Note You need to log in before you can comment on or make changes to this bug.