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/Overview.bs
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -319,6 +319,20 @@ Paint Containment</h3>
319
319
3. Because they are guaranteed to be stacking contexts,
320
320
scrolling elements can be painted into a single GPU layer.
321
321
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
Copy file name to clipboardExpand all lines: css-display/Overview.bs
+4-11Lines changed: 4 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -803,17 +803,6 @@ Run-In Layout</h2>
803
803
804
804
Note: This run-in model is slightly different from the one proposed in earlier revisions of [[!CSS2]].
805
805
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
-
817
806
<h2 id='glossary' class=no-num>
818
807
Appendix A: Glossary</h2>
819
808
@@ -1133,6 +1122,10 @@ Acknowledgments</h2>
1133
1122
<h2 class=no-num id="changes">
1134
1123
Changes</h2>
1135
1124
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
+
1136
1129
Changes since the <a href="https://www.w3.org/TR/2017/WD-css-display-3-20170126/">26 January 2017 Working Draft</a> include:
1137
1130
1138
1131
* Remove <css>inline-list-item</css> value that is equivalent to ''inline list-item''.
0 commit comments