[css-scoping] Shadow Cascading

In [1] you have:

"When comparing two declarations, if one of them is in a shadow tree
and the other is in a document that contains that shadow tree, then
for normal rules the declaration from the outer document wins, and for
important rules the declaration from the shadow tree wins."

What about nested shadow trees? Could "document" be "shadow tree" as well?

Also,

"When calculating Order of Appearance, the tree of trees, defined by
the Shadow DOM specification, is used to calculate ordering."

Assuming the first point holds for nested shadow trees as well, order
of appearance only applies within the same scope, right?

If so, using "tree of trees" might mislead to think otherwise.


[1] http://dev.w3.org/csswg/css-scoping/#shadow-cascading

-- 
Rune Lillesveen

Received on Tuesday, 3 February 2015 13:51:45 UTC