Skip to content

Commit d5cec19

Browse files
committed
[css-contain][css-display] Move "becoming a FC" back to css-contain
As resolved in w3c#1457
1 parent 4e09a0a commit d5cec19

2 files changed

Lines changed: 26 additions & 11 deletions

File tree

css-contain/Overview.bs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,20 @@ Paint Containment</h3>
319319
3. Because they are guaranteed to be stacking contexts,
320320
scrolling elements can be painted into a single GPU layer.
321321

322+
<h2 id="becoming-formatting-context">Becoming a formatting context</h2>
323+
324+
In some some types of containement,
325+
a box may need to <dfn export lt='become a formatting context|becomes a formatting context|becoming a formatting context'>become a <a>formatting context</a></dfn>.
326+
If the box already establishes a <a>formatting context</a> of any kind other than an <a>inline formatting context</a>,
327+
this condition is satisfied.
328+
Otherwise, it is made to establish a <a>BFC</a> by changing its <a>inner display type</a> to ''flow-root''.
329+
This change happens at <a>used value</a> time,
330+
and does not affect the <a>computed value</a> of the 'display' property.
331+
332+
Issue: What should we do about boxes that establish <a>ruby formatting contexts</a>?
333+
See some discussion here: https://github.com/w3c/csswg-drafts/issues/1457#issuecomment-319996309
334+
335+
322336
Privacy and Security Considerations {#privsec}
323337
==============================================
324338

@@ -390,6 +404,14 @@ Answers are provided below.
390404

391405
This appendix is <em>informative</em>.
392406

407+
<h3 id="2017-08-08-changes">Changes from the
408+
<a href="https://www.w3.org/TR/2017/CR-css-contain-1-20170808/"
409+
>Candidate Recommendation of 8 August 2017</a></h3>
410+
411+
<ul>
412+
<li>Move the definition of "Becoming a formatting context" back to this specification
413+
</ul>
414+
393415
<h3 id="2017-04-19-changes">Changes from the
394416
<a href="https://www.w3.org/TR/2017/WD-css-contain-1-20170419/"
395417
>Working Draft of 19 April 2017</a></h3>

css-display/Overview.bs

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -803,17 +803,6 @@ Run-In Layout</h2>
803803

804804
Note: This run-in model is slightly different from the one proposed in earlier revisions of [[!CSS2]].
805805

806-
<h2 id="becoming-formatting-context">Becoming a formatting context</h2>
807-
808-
In some circumstances (See [[CSS-CONTAIN-1]] or [[CSS3-MULTICOL]] for examples),
809-
a box may need to <dfn export lt='become a formatting context|becomes a formatting context|becoming a formatting context'>become a <a>formatting context</a></dfn>.
810-
If the box already establishes a <a>formatting context</a> of any kind,
811-
this condition is satisfied.
812-
Otherwise, it is made to establish a <a>BFC</a> by changing its <a>inner display type</a> to ''flow-root''.
813-
This change happens at <a>used value</a> time,
814-
and does not affect the <a>computed value</a> of the 'display' property.
815-
816-
817806
<h2 id='glossary' class=no-num>
818807
Appendix A: Glossary</h2>
819808

@@ -1133,6 +1122,10 @@ Acknowledgments</h2>
11331122
<h2 class=no-num id="changes">
11341123
Changes</h2>
11351124

1125+
Changes since the <a href="https://www.w3.org/TR/2017/WD-css-display-3-20170720/">20 July 2017 Working Draft</a> include:
1126+
1127+
* Moved back the section about becomming a formatting context to css-contain
1128+
11361129
Changes since the <a href="https://www.w3.org/TR/2017/WD-css-display-3-20170126/">26 January 2017 Working Draft</a> include:
11371130

11381131
* Remove <css>inline-list-item</css> value that is equivalent to ''inline list-item''.

0 commit comments

Comments
 (0)