[Webkit-unassigned] [Bug 111231] New: Button whose shadow has only text node won't respond to clicks on text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 1 15:57:37 PST 2013


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

           Summary: Button whose shadow has only text node won't respond
                    to clicks on text
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://jsfiddle.net/Jan_Miksovsky/suxve/
        OS/Version: Mac OS X 10.8
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jan at quickui.org


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list