From a8634b96900279916bd6c505fda88dda71d8ec51 Mon Sep 17 00:00:00 2001 From: Florian Rivoal Date: Thu, 6 Apr 2017 02:09:33 +0900 Subject: [PATCH] [css-multicol-1] Clarify when column-span:all creates a formatting context Closes #1074 --- css-multicol/Overview.bs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/css-multicol/Overview.bs b/css-multicol/Overview.bs index 3704e16c498..5ce8f3b07a1 100644 --- a/css-multicol/Overview.bs +++ b/css-multicol/Overview.bs @@ -15,6 +15,7 @@ Previous Version: https://www.w3.org/TR/2005/WD-css3-multicol-20051215/ Previous Version: https://www.w3.org/TR/2001/WD-css3-multicol-20010118/ Previous Version: http://www.w3.org/1999/06/WD-css3-multicol-19990623 Editor: HÃ¥kon Wium Lie, Opera Software, howcome@opera.com +Editor: Florian Rivoal, On behalf of Bloomberg, https://florian.rivoal.net Abstract: This specification describes multi-column layouts in CSS, a style sheet language for the web. Using functionality described in the specification, content can be flowed into multiple columns with a gap and a rule between them. Link Defaults: css-color (property) color, css21 (property) max-height, css-backgrounds-3 (value) hidden @@ -945,17 +946,18 @@ Spanning columns element is automatically balanced across all columns before the element appears. The element establishes a new block formatting context. + + Note: The element establishing a formatting content does not + depend of whether the element is a descendent of a multicol or not. + When 'column-span' is ''column-span/all'', it always does. + This helps with robustness of designs to later revisions + that remove the multicol, + or when media queries turn the multicol off in some situations. An element that spans more than one column is called a spanning element and the box it creates is called a spanner. - -
In this example, an h2 element has been added to the sample document after the sixth sentence (i.e., after the word "jkl."). This styling applies: