[Webkit-unassigned] [Bug 240652] New: "text-indent" does not work on "optgroup" element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 19 08:08:25 PDT 2022


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

            Bug ID: 240652
           Summary: "text-indent" does not work on "optgroup" element
           Product: WebKit
           Version: Safari 15
          Hardware: All
                OS: All
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tlock.chijin at gmail.com

Created attachment 459588

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

webkit screenshot

reprodiciable example: https://codepen.io/chijinz/pen/KKQmbqV

code:
```
<html>
<head>
<style>
</style>
<script>
function jsfuzzer() {
document.getElementById("htmlvar00005").style["text-indent"] = "200px"
}
</script>
</head>
<body onload=jsfuzzer()>
<select id="htmlvar00004" multiple="multiple">
        <optgroup id="htmlvar00005" label="option1"></optgroup>
        <optgroup label="option2"></optgroup>
</select>
</body>
</html>

```

version: all webkit products (including Safari)

description:

The optgroup element does not change when setting the "text-indent". It does not follow the semantics of text-indent.

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/20220519/710f4c54/attachment.htm>


More information about the webkit-unassigned mailing list