RESOLVED DUPLICATE of bug 191694 111231
Button whose shadow has only text node won't respond to clicks on text
https://bugs.webkit.org/show_bug.cgi?id=111231
Summary Button whose shadow has only text node won't respond to clicks on text
Jan Miksovsky
Reported 2013-03-01 16:00:01 PST
The example at http://jsfiddle.net/Jan_Miksovsky/suxve/ shows two buttons with shadow roots: 1. The first button's shadow contains a text node only. Clicks on this button's text have no effect, although if one is careful to click in the button's padding (outside the text, inside the borders), the button does respond. 2. The second button is built the same way, but it's shadow places the text inside a <div>. This button is clickable everywhere as expected. Is button #1's behavior expected? As someone building a custom button, I found this behavior surprising.
Attachments
Jan Miksovsky
Comment 1 2018-11-15 09:16:23 PST
This bug is ancient, and I think in any event it was a duplicate of https://bugs.webkit.org/show_bug.cgi?id=111231.
Ryosuke Niwa
Comment 2 2018-11-15 14:19:01 PST
Reverse-duping this bug per Jan's email. *** This bug has been marked as a duplicate of bug 191694 ***
Note You need to log in before you can comment on or make changes to this bug.