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 28562 - [Shadow]: Introduce "deep tree" terminology
Summary: [Shadow]: Introduce "deep tree" terminology
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Hayato Ito
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 28552
  Show dependency treegraph
 
Reported: 2015-04-27 05:44 UTC by Anne
Modified: 2015-05-18 05:21 UTC (History)
5 users (show)

See Also:


Attachments

Description Anne 2015-04-27 05:44:31 UTC
A deep tree is a composed tree minus the closed bits.

(I've been wondering, does composed tree include <iframe>? Or is cross-document boundaries worthy of yet another term? "Cross-document composed tree"?)
Comment 1 Olli Pettay 2015-04-27 16:27:29 UTC
cross-document is definitely a separate thing, and hopefully not something
we need to think about in the context of shadow DOM.
Comment 2 Travis Leithead [MSFT] 2015-04-27 19:58:37 UTC
(In reply to Olli Pettay from comment #1)
> cross-document is definitely a separate thing, and hopefully not something
> we need to think about in the context of shadow DOM.

+1 though I'm not sure where I stand on the cross-origin web component (with separate script environment). This might be part of the "deep tree" but should involve an entirely separate event object/ nested dispatch, I think.
Comment 3 Hayato Ito 2015-04-27 23:05:56 UTC
I don't think deepTree will help us to spec the closed mode because a open child shadow tree of the closed shadow tree should be "considered" *closed* from an ancestor node tree.

I have an idea to explain the behavior of each APIs in term of the "reachability (visibility)" between two node trees.

Let me update this thread when I'm ready to explain.
Comment 4 Hayato Ito 2015-05-08 06:17:09 UTC
Anne, Olli,

I've introduced the "an unclosed {tree/node} of" relation between two {node trees/nodes} so that closed shadow trees behave correctly as expected.

- http://w3c.github.io/webcomponents/spec/shadow/#dfn-unclosed-tree
- http://w3c.github.io/webcomponents/spec/shadow/#dfn-unclosed-node

See
- https://github.com/w3c/webcomponents/commit/503e27c6b85ceb5c1d270039c69fec529c079117

This is an example of usages:

- https://github.com/w3c/webcomponents/commit/644a0fa4a22589d15fd123fa98436c651a0d3a62


I appreciate if you could check whether these definitions meet your expectations or not.
Comment 5 Hayato Ito 2015-05-08 06:40:19 UTC
An "unclosed" is just a tentative name.
The other candidates are "reachable", "visible" or anything you want to call.

Anyway, these terms are not exposed to APIs.
Comment 6 Hayato Ito 2015-05-18 05:21:22 UTC
Thanks for some comments on github.
Let me close this bug. I don't think we need a "deepTree" terminology.