File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -795,12 +795,17 @@ Cascade Sorting Order</h3>
795
795
A document language can provide for blending declarations sourced
796
796
from different <dfn>encapsulation contexts</dfn> ,
797
797
such as the nested [=tree contexts=] of [=shadow trees=] in the [[!DOM]] .
798
+
798
799
When comparing two declarations
799
800
that are sourced from different [=encapsulation contexts=] ,
800
801
then for [=normal=] rules
801
802
the declaration from the outer context wins,
802
803
and for [=important=] rules
803
804
the declaration from the inner context wins.
805
+ For this purpose,
806
+ [[DOM]] [=tree contexts=] are considered to be nested
807
+ in [=shadow-including tree order=] .
808
+
804
809
<!--
805
810
<dt id='cascade-scope'> Scope
806
811
<dd>
You can’t perform that action at this time.
0 commit comments