<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>111231</bug_id>
          
          <creation_ts>2013-03-01 16:00:01 -0800</creation_ts>
          <short_desc>Button whose shadow has only text node won&apos;t respond to clicks on text</short_desc>
          <delta_ts>2018-11-15 14:19:01 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.8</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>191694</dup_id>
          
          <bug_file_loc>http://jsfiddle.net/Jan_Miksovsky/suxve/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jan Miksovsky">jan</reporter>
          <assigned_to name="Web Components Team">webcomponents-bugzilla</assigned_to>
          <cc>jan</cc>
    
    <cc>rniwa</cc>
    
    <cc>webcomponents-bugzilla</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>845578</commentid>
    <comment_count>0</comment_count>
    <who name="Jan Miksovsky">jan</who>
    <bug_when>2013-03-01 16:00:01 -0800</bug_when>
    <thetext>The example at http://jsfiddle.net/Jan_Miksovsky/suxve/ shows two buttons with shadow roots:

1. The first button&apos;s shadow contains a text node only. Clicks on this button&apos;s text have no effect, although if one is careful to click in the button&apos;s padding (outside the text, inside the borders), the button does respond.
2. The second button is built the same way, but it&apos;s shadow places the text inside a &lt;div&gt;. This button is clickable everywhere as expected.

Is button #1&apos;s behavior expected? As someone building a custom button, I found this behavior surprising.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1478941</commentid>
    <comment_count>1</comment_count>
    <who name="Jan Miksovsky">jan</who>
    <bug_when>2018-11-15 09:16:23 -0800</bug_when>
    <thetext>This bug is ancient, and I think in any event it was a duplicate of https://bugs.webkit.org/show_bug.cgi?id=111231.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1479113</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2018-11-15 14:19:01 -0800</bug_when>
    <thetext>Reverse-duping this bug per Jan&apos;s email.

*** This bug has been marked as a duplicate of bug 191694 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>