[Bug 16599] New: [Shadow]: Event Dispatch on non-distributed light children.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16599

           Summary: [Shadow]: Event Dispatch on non-distributed light
                    children.
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
        AssignedTo: dglazkov@chromium.org
        ReportedBy: hayato@chromium.org
         QAContact: public-webapps-bugzilla@w3.org
            Blocks: 14978


Clarify what is an expected behavior when an event happens on non-distributed
light children.

Suppose the following tree:

<div id='shadow-host-A'>
  <shadow-root>
    <div id='shadow-root-child'>
    ...there is no <content> elements in the shadow root.
  <div id='light-child-1'>
  <div id='light-child-2'>

#shadow-host-A has a shadow root, but there is no <content> element in there.
So #light-child-1 and #light-child-2 don't appear in ComposedShadowTree.
ComposedShadowTree is:

<div id='shadow-host-A'>
  <div id='shadow-root-child'>

And suppose an event happens on #light-child-1 (e.g.
document.getElementById('light-child-1').focus()).
What is expected behavior?.

In algorithm of calculating adjustedParentNode used in section 6, it's not
clear what is the result of 'adjustedParentNode of #light-child-1'.
In my opinion, adjustedParentNode(light-chlild-1) should be 'null' instead of
'#shadow-host-A' in this case. What do you think about?

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 2 April 2012 09:16:17 UTC