[Bug 20693] New: Incorrect specification for ShadowRoot.olderShadowRoot attribute

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

            Bug ID: 20693
           Summary: Incorrect specification for ShadowRoot.olderShadowRoot
                    attribute
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: a.semenov@unipro.ru
        QA Contact: public-webapps-bugzilla@w3.org

The Shadow DOM specification reads:

"10.5 The shadow HTML element
....
Attributes
    olderShadowRoot of type ShadowRoot
        Represents the shadow tree that is rendered in place of this shadow
insertion point
        On getting, the attribute must return a result that is equivalent to
running the following steps:
        1. Let TREE be the shadow tree that contains the context object
        2. If TREE does not exist, return null.
"

This text seems to be incorrect.
If TREE (which contains the shadow HTML element) does not exist, the shadow
element does not exist too. So it is not possible to read its attribute
olderShadowRoot.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 17 January 2013 10:40:55 UTC