[Webkit-unassigned] [Bug 240706] New: "box-shadow" does not work on select element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 20 00:23:57 PDT 2022


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

            Bug ID: 240706
           Summary: "box-shadow" does not work on select 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 459607

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

webkit screenshot

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

code:
```
<html>
<head>
<style>
</style>
<script>
function jsfuzzer() {
document.getElementById("htmlvar00005").style["box-shadow"] = " 69px 1px green"
}
</script>
</head>
<body onload=jsfuzzer()>
<select id="htmlvar00005" multiple="multiple">
    <option value="dog">Dog</option>
    <option value="cat">Cat</option>
</select>

</body>
</html>


```

version: all webkit products (including Safari)

description:

The select element does not have shadow even though the "box-shadow" is set. Chrome and Firefox work fine with it.

Could be the same root cause with this issue (https://bugs.webkit.org/show_bug.cgi?id=240455).

-- 
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/20220520/b160df92/attachment-0001.htm>


More information about the webkit-unassigned mailing list