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 23481 - [Shadow]: Multiple trees are introduced to explain encapsulation.
Summary: [Shadow]: Multiple trees are introduced to explain encapsulation.
Status: RESOLVED MOVED
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: 15480
  Show dependency treegraph
 
Reported: 2013-10-10 16:09 UTC by johnjbarton
Modified: 2015-05-27 02:46 UTC (History)
3 users (show)

See Also:


Attachments

Description johnjbarton 2013-10-10 16:09:11 UTC
" Encapsulation is effectively a natural property of having multiple trees."

I pondered the first part of this document for a long while: "tree of trees" makes no sense. Graphically, a tree of trees is just a tree. Look at all the diagrams in the first part of the doc: just trees with solid or dotted lines and some superfluous-looking boxes.

Eventually it came to me: 'tree of trees' was invented to explain that parts of the tree are encapsulated from other parts.  Eventually this was confirmed in the quote above.

The story would be much clearer if you say that right when you introduce the neology 'tree of trees'.  Rather than starting with complicated definitions, just say that the Shadow DOM spec defines new encapsulated DOM sub-trees. When we introduce this encapsulated sub-tree into the existing DOM tree, we call the result a 'tree of trees' to emphasis the encapsulation while also showing that tree navigation operation existed between pre-shadow-DOM nodes and Shadow DOM nodes.
Comment 1 Yuta Kitamura 2013-10-22 07:00:51 UTC
Yeah, I agree that inter-tree interactions are not very obvious. I think
it's the specification's job to explain the "naturalness" in written form.
Comment 2 Hayato Ito 2015-05-27 02:46:46 UTC
Moved to https://github.com/w3c/webcomponents/issues/83