You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-contain-2/Overview.bs
+6
Original file line number
Diff line number
Diff line change
@@ -1061,6 +1061,12 @@ Style Containment</h3>
1061
1061
contain-style-breaks-005.html
1062
1062
</wpt>
1063
1063
1064
+
However, giving an element [=style containment=]
1065
+
has no effect if any of the following are true:
1066
+
1067
+
* if the element does not generate a <a>principal box</a>
1068
+
(as is the case with ''display: contents'' or ''display: none'')
1069
+
1064
1070
Note: [[CSS-REGIONS-1]] has normative requirements on how <a>style containment</a> affects regions.
1065
1071
1066
1072
A <dfn export for=property lt="scoped | scoped property | scoped properties">scoped property</dfn> has its effects scoped to a particular element or subtree.
0 commit comments