WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
240652
"text-indent" does not work on "optgroup" element
https://bugs.webkit.org/show_bug.cgi?id=240652
Summary
"text-indent" does not work on "optgroup" element
Chijin
Reported
2022-05-19 08:08:25 PDT
Created
attachment 459588
[details]
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.
Attachments
webkit screenshot
(91.56 KB, image/png)
2022-05-19 08:08 PDT
,
Chijin
no flags
Details
firefox screenshot
(204.42 KB, image/png)
2022-05-19 08:08 PDT
,
Chijin
no flags
Details
chrome screenshot
(204.42 KB, image/png)
2022-05-19 08:08 PDT
,
Chijin
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Chijin
Comment 1
2022-05-19 08:08:39 PDT
Created
attachment 459589
[details]
firefox screenshot
Chijin
Comment 2
2022-05-19 08:08:50 PDT
Created
attachment 459590
[details]
chrome screenshot
Radar WebKit Bug Importer
Comment 3
2022-05-26 08:09:13 PDT
<
rdar://problem/93970684
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug