[Webkit-unassigned] [Bug 86999] New: When a text node is clicked, event's target should be adjusted by using composed shadow tree.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 21 02:20:30 PDT 2012


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

           Summary: When a text node is clicked, event's target should be
                    adjusted by using composed shadow tree.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hayato at chromium.org
                CC: dglazkov at chromium.org, dominicc at chromium.org,
                    morrita at google.com, shinyak at chromium.org,
                    tasak at google.com


Suppose the following tree:

<div id='host'>
  - <shadow root>
      - <content>
  - <text node A> 


When <text node A> is clicked,  click event's target becomes #host. But that should be 'shadow root'. 
The reason is that the text node is distributed and the nearest parentNode of the text node is 'shadow root' in composed shadow DOM tree.

-- 
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