Bug 240771

Summary: word-spacing does not work on optgroup
Product: WebKit Reporter: Chijin <tlock.chijin>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Critical CC: cdumez, karlcow, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=8351
Attachments:
Description Flags
webkit screenshot
none
firefox screenshot
none
chrome screenshot none

Chijin
Reported 2022-05-22 00:38:10 PDT
Created attachment 459646 [details] webkit screenshot reprodiciable example: https://codepen.io/chijinz/pen/wvyqWRj code: ``` <head> <style> </style> <script> function jsfuzzer() { document.getElementById("htmlvar00004").style["word-spacing"] = "53pt" } </script> </head> <body onload=jsfuzzer()> <select multiple> <optgroup id="htmlvar00004"> <option >abc abc abc</option> </optgroup> </select> </body> </html> ``` version: all webkit products (including Safari) description: The "word-spacing" should make content of the optgroup element more space between words. But it does not work. Chrome and Firefox work fine with it.
Attachments
webkit screenshot (90.47 KB, image/png)
2022-05-22 00:38 PDT, Chijin
no flags
firefox screenshot (84.97 KB, image/png)
2022-05-22 00:38 PDT, Chijin
no flags
chrome screenshot (196.66 KB, image/png)
2022-05-22 00:38 PDT, Chijin
no flags
Chijin
Comment 1 2022-05-22 00:38:36 PDT
Created attachment 459647 [details] firefox screenshot
Chijin
Comment 2 2022-05-22 00:38:55 PDT
Created attachment 459648 [details] chrome screenshot
Radar WebKit Bug Importer
Comment 3 2022-05-29 00:39:13 PDT
Note You need to log in before you can comment on or make changes to this bug.