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
[css-multicol][css-display][css-contain] Becomes a formatting context (#1179)
* [css-contain][css-display] Move the definition of becoming a formatting context
* [css-multicol] spanners become a formatting context, not always a BFC
Closes#1071
Copy file name to clipboardExpand all lines: css-display/Overview.bs
+12
Original file line number
Diff line number
Diff line change
@@ -739,6 +739,17 @@ Run-In Layout</h2>
739
739
740
740
Note: This run-in model is slightly different from the one proposed in earlier revisions of [[!CSS2]].
741
741
742
+
<h2 id="becoming-formatting-context">Becoming a formatting context</h2>
743
+
744
+
In some circumstances (See [[CSS-CONTAIN-1]] or [[CSS3-MULTICOL]] for examples),
745
+
an element 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>.
746
+
If the element already establishes a <a>formatting context</a> of any kind,
747
+
this condition is satisfied.
748
+
Otherwise, it is made to establish a <a>BFC</a> by changing its <a>inner display type</a> to ''flow-root''.
749
+
This change happens at <a>used value</a> time,
750
+
and does not affect the <a>computed value</a> of the 'display' property.
751
+
752
+
742
753
<h2 id='glossary' class=no-num>
743
754
Appendix A: Glossary</h2>
744
755
@@ -1102,6 +1113,7 @@ Changes</h2>
1102
1113
<li>Clarified interaction of run-ins with out-of-flow elements and ''::first-letter''.
1103
1114
<li>Switched ''table-caption'' and ''table-cell'' to use ''flow-root'' as their <a>inner display type</a>, since they always form a formatting context root.
1104
1115
<li>Closed off remaining issues and added at-risk list.
1116
+
<li>Added the definition of <a>becoming a formatting context</a>
1105
1117
</ul>
1106
1118
1107
1119
Changes since the <a href="https://www.w3.org/TR/2015/WD-css-display-3-20150721/">21 July 2015 Working Draft</a> include:
0 commit comments