Skip to content

Commit af289ce

Browse files
committed
[css-multicol] Negative values for column-width are not allowed. Used values will be clamped to a minimum of 1px. #1741
1 parent 8cc9f8b commit af289ce

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

css-multicol-1/Overview.bs

+4-3
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ these two properties determine the outcome:-->
331331
Inherited: no
332332
Percentages: N/A
333333
Media: visual
334-
Computed value: the absolute length, zero or larger
334+
Computed value: the absolute length
335335
Animatable: as <<length>>
336336
</pre>
337337

@@ -347,8 +347,7 @@ these two properties determine the outcome:-->
347347
<dd>
348348
describes the optimal column width. The actual column width may be
349349
wider (to fill the available space), or narrower (only if the
350-
available space is smaller than the specified column width). Specified values
351-
must be greater than 0.
350+
available space is smaller than the specified column width). Negative values are not allowed. Used values will be clamped to a minimum of 1px.
352351
</dl>
353352

354353
<div class="example">
@@ -1170,8 +1169,10 @@ This appendix is <em>informative</em>.
11701169

11711170
<h3 id="changes-from-20171005">Changes from the <a href="https://www.w3.org/TR/2017/WD-css-multicol-1-20171005/">Working Draft (WD) of 5 October 2017</a></h3>
11721171
<ul>
1172+
11731173
<li>Replaced the HTML mock-up examples with SVG versions, as the examples were unclear. <a href="https://github.com/w3c/csswg-drafts/issues/1087">Issue 1087</a>.</li>
11741174
<li>Changed the value of normal for column-gap to be 1em, rather than a UA-specified length with a suggestion of 1em. <a href="https://github.com/w3c/csswg-drafts/issues/2145#issuecomment-378781507">Resolved: 4 Apr 2018</a></li>
1175+
<li>Clarified that negative values are not allowed for column-width, and that while 0 may be specified, used values will be clamped to a minimum of 1px. <a href="https://github.com/w3c/csswg-drafts/issues/1741#issuecomment-373091628">Resolved: 14 Mar 2018</a></li>
11751176
<li>Changed the sentence <em>Column rules are painted in the inline content layer, but below all inline content inside the multicol element.</em> to <em>Column rules are painted just above the border of the multicol element. For scrollable multicol elements, note that while the border and background of the multicol element obviously aren’t scrolled, the rules need to scroll along with the columns.</em> <a href="https://github.com/w3c/csswg-drafts/issues/1739#issuecomment-342659978">Resolved: 7 Nov 2017</a></li>
11761177
<li>Under section The Multi-column Model, removed two sentences <em>That is, column boxes behave like block-level, table cell, and inline-block boxes as per CSS 2.1, section 10.1, item 2 CSS21. However, column boxes do not establish block container boxes for elements with ''position: fixed or position: absolute''.</em>. THese were replaced with a clarification about the principal box and a new example showing how abspos elements refer to the multicol container. <a href="https://github.com/w3c/csswg-drafts/issues/1738#issuecomment-342661881">Resolved: 7 Nov 2017</a></li>
11771178
<li>Removed the sentence "To indicate where column breaks should (or should not) appear, new keyword values are introduced." and following example (Example 7 in the WD published <a href="https://www.w3.org/TR/2017/WD-css-multicol-1-20171005/">5 Oct 2017</a>) as the multicol specification no longer introduces these properties. <a href="https://github.com/w3c/csswg-drafts/issues/1966">Editorial</a></li>

css-multicol-1/issues-2011.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ Summary: Contradictions about whether zero is allowed for 'column-width'
169169
From: David Baron
170170
Comment: https://lists.w3.org/Archives/Public/www-style/2011May/0338.html
171171
Comment: https://github.com/w3c/csswg-drafts/issues/1741
172-
Open
172+
Closed: Accepted
173+
Resolved: https://github.com/w3c/csswg-drafts/issues/1741#issuecomment-373091628
173174
----
174175
Issue 18.
175176
Summary: Changed "Content in the normal flow" to "Floated or in-flow content"

0 commit comments

Comments
 (0)