This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20693 - [Shadow]: Incorrect specification for ShadowRoot.olderShadowRoot attribute
Summary: [Shadow]: Incorrect specification for ShadowRoot.olderShadowRoot attribute
Status: RESOLVED INVALID
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 18428
  Show dependency treegraph
 
Reported: 2013-01-17 10:40 UTC by Aleksei Yu.Semenov
Modified: 2013-05-07 22:50 UTC (History)
0 users

See Also:


Attachments

Description Aleksei Yu.Semenov 2013-01-17 10:40:53 UTC
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.
Comment 1 Aleksei Yu.Semenov 2013-01-17 10:42:18 UTC
The URL of the Shadow DOM spec: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html
Comment 2 Dimitri Glazkov 2013-05-07 22:50:48 UTC
I can have a <shadow> element outside of a shadow tree, right?