[Webkit-unassigned] [Bug 240771] New: word-spacing does not work on optgroup

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 22 00:38:10 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=240771

            Bug ID: 240771
           Summary: word-spacing does not work on optgroup
           Product: WebKit
           Version: Safari 15
          Hardware: All
                OS: All
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tlock.chijin at gmail.com
                CC: cdumez at apple.com, wenson_hsieh at apple.com

Created attachment 459646

  --> https://bugs.webkit.org/attachment.cgi?id=459646&action=review

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.

-- 
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/20220522/096ec555/attachment.htm>


More information about the webkit-unassigned mailing list