Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[css-scoping] Multiple shadow root was removed as per webapp WG resol…
…ution
  • Loading branch information
kojiishi committed Apr 28, 2015
commit 3178877fda4f16e9a59c6d3275606cf0d6eadb1c
11 changes: 1 addition & 10 deletions css-scoping/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -196,17 +196,13 @@ Shadow Encapsulation</h2>
that can be attached to any element in the DOM.
The root of the <a>shadow tree</a> is a <dfn export>shadow root</dfn>,
a non-element node which is associated with a <a>shadow host</a>.
An element can have any number of <a>shadow trees</a>,
which are ordered by creation time.
The most recently-created <a>shadow tree</a> on an element
is the <dfn export>youngest shadow tree</dfn> for that element.

An element with a <a>shadow tree</a> is a <dfn export>shadow host</dfn>.
It is the <dfn export>host element</dfn> for its shadow trees.

The descendants of a <a>shadow host</a>
must not generate boxes in the formatting tree.
Instead, the contents of the <a>youngest shadow tree</a> generate boxes
Instead, the contents of the <a>shadow tree</a> generate boxes
as if they were the contents of the element instead.

In several instances in shadow DOM,
Expand Down Expand Up @@ -470,11 +466,6 @@ Cascading</h4>

Note: This is the <em>opposite</em> of how scoped styles work.

* When comparing two declarations,
if both are in <a>shadow trees</a> with the same <a>host element</a>,
then for normal rules the declaration from the <a>shadow tree</a> that was created most recently wins,
and for important rules the declaration from the <a>shadow tree</a> that was created less recently wins.

When calculating <a href="http://dev.w3.org/csswg/css-cascade/#cascade-order">Order of Appearance</a>,
the tree of trees,
defined by the Shadow DOM specification,
Expand Down