We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b29c569 commit 59ef450Copy full SHA for 59ef450
1 file changed
css-cascade-4/Overview.bs
@@ -795,12 +795,17 @@ Cascade Sorting Order</h3>
795
A document language can provide for blending declarations sourced
796
from different <dfn>encapsulation contexts</dfn>,
797
such as the nested [=tree contexts=] of [=shadow trees=] in the [[!DOM]].
798
+
799
When comparing two declarations
800
that are sourced from different [=encapsulation contexts=],
801
then for [=normal=] rules
802
the declaration from the outer context wins,
803
and for [=important=] rules
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
809
<!--
810
<dt id='cascade-scope'>Scope
811
<dd>
0 commit comments