[Webkit-unassigned] [Bug 240635] New: "box-shadow" does not work on button

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 19 02:20:14 PDT 2022


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

            Bug ID: 240635
           Summary: "box-shadow" does not work on button
           Product: WebKit
           Version: Safari 15
          Hardware: All
                OS: All
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tlock.chijin at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 459574

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

webkit screenshot

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

code:
```
<html>
<head>
<style>
</style>
<script>
function jsfuzzer() {
document.getElementById("htmlvar00001").style["box-shadow"] = "red 2px 100px"
}
</script>
</head>
<body onload=jsfuzzer()>
<button id="htmlvar00001" >button</button>
</body>
</html>

```

version: all webkit products (including Safari)

description:

The button 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/20220519/baeb7a11/attachment-0001.htm>


More information about the webkit-unassigned mailing list