Skip to content

Commit 68a9375

Browse files
committed
[css-contain][css-overflow-4] refactoring
Move interaction between contain and fragmentation of overflow to the css-overflow-4 specification Closes #1374
1 parent e922b42 commit 68a9375

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

css-contain/Overview.bs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,6 @@ Layout Containment</h3>
225225
of the region which traps the content
226226
is set to ''overset'' if the content doesn't fit,
227227
even if it is not the last region in the region chain.
228-
- If the computed value of the 'continue' property
229-
on an element with <a>layout containment</a>
230-
would otherwise have been ''continue/auto'' or ''continue/fragments'',
231-
it must instead compute to ''continue/overflow''.
232228

233229
3. If the contents of the element overflow the element,
234230
they must be treated as <a>ink overflow</a>.
@@ -401,6 +397,7 @@ This appendix is <em>informative</em>.
401397
<ul>
402398
<li>Clarify the interaction with display: contents
403399
<li>Clarify how containment works on table parts
400+
<li>Move the interaction between containment and fragmentation of overflow from this specification to CSS-OVERFLOW-4
404401
</ul>
405402

406403
<h3 id="fpwd-changes">Changes from the

css-overflow/Overview.bs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,10 @@ while ''continue: paginate'' replaces "overflow: paged-x | paged-y | paged-x-con
450450
451451
The computed value of the 'continue' for a given element or pseudo element is determined as follow:
452452
<ol>
453-
<li>If the specified value is ''continue/auto''
453+
<li>On elements or pseudo elements with <a>layout containment</a> (see [[!CSS-CONTAIN-1]]),
454+
if the specificied value is ''continue/auto'' or ''continue/fragments''
455+
then the computed value is ''continue/overflow''.
456+
<li>Otherwise, if the specified value is ''continue/auto''
454457
<ol>
455458
<li>On a <a spec="css-regions">CSS Region</a> other than the last one in a <a spec="css-regions">region chain</a>,
456459
the computed value is ''continue/auto''
@@ -460,7 +463,7 @@ The computed value of the 'continue' for a given element or pseudo element is de
460463
the computed value is ''continue/fragments''
461464
<li>Otherwise, the computed value is ''continue/overflow''
462465
</ol>
463-
<li>If the specified value is ''continue/framgents''
466+
<li>Otherwise, if the specified value is ''continue/framgents''
464467
<ol>
465468
<li>On a page
466469
the computed value is ''continue/paginate''

0 commit comments

Comments
 (0)