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-1/Overview.bs
+6-10Lines changed: 6 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -224,15 +224,8 @@ Layout Containment</h3>
224
224
they remain part of the <a>fragmentation context</a>,
225
225
but do not receive any content from the <a>fragmented flow</a>.
226
226
227
-
Specifically:
228
-
- <a>CSS Regions</a> following the one which traps the content
229
-
are still considered part of the <a>region chain</a>
230
-
as returned by the {{NamedFlow/getRegions()}} method
231
-
of the {{NamedFlow}} interface.
232
-
- the {{Region/regionOverset}} attribute of the {{Region}} interface
233
-
of the region which traps the content
234
-
is set to ''overset'' if the content doesn't fit,
235
-
even if it is not the last region in the region chain.
227
+
Note: [[CSS-REGIONS-1]] has details over how <a>layout containment</a> affects
228
+
regions.
236
229
237
230
3. If the contents of the element overflow the element,
238
231
they must be treated as <a>ink overflow</a>.
@@ -261,9 +254,11 @@ Style Containment</h3>
261
254
262
255
Giving an element <dfn export>style containment</dfn> has the following effects:
263
256
264
-
1. The 'counter-increment', 'counter-set', 'flow-from', 'flow-into', and <a property spec=css2>content</a> (for the purpose of ''content/open-quote''/etc values) properties
257
+
1. The 'counter-increment', 'counter-set', and <a property spec=css2>content</a> (for the purpose of ''content/open-quote''/etc values) properties
265
258
must be <a for=property>scoped</a> to the element's sub-tree.
266
259
260
+
Note: [[CSS-REGIONS-1]] has normative requirements on how <a>style containment</a> affects regions.
261
+
267
262
A <dfn export for=property lt="scoped | scoped property | scoped properties">scoped property</dfn> has its effects scoped to a particular element or subtree.
268
263
It must act as if the scoping element was the root of the document
269
264
for the purpose of evaluating the property's effects:
@@ -416,6 +411,7 @@ This appendix is <em>informative</em>.
416
411
<li>Clarify to which box paint containment clips.
417
412
<li>Move the interaction between containment and the <code>bookmark-*</code> and <code>string-set</code> properties to [[CSS-CONTENT-3]]
418
413
<li>Remove the effects of style containment on the "break-*" properties.
414
+
<li>Move the description of the effects of containement on regions from this specification to [[CSS-REGIONS-1]].
0 commit comments