Skip to content

Commit a8b0188

Browse files
committed
[css-tables] Remove line allowing percentage min-width per w3c#607
1 parent 67056b4 commit a8b0188

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

css-tables-3/Overview.bs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,12 +1257,20 @@ spec:css-sizing-3; type:property; text:box-sizing
12571257
is defined in terms of the computed values of 'width', 'max-width', and 'min-width'
12581258
that have computed values that are percentages:<br/>
12591259
<br/>
1260-
<code>max(percentage 'min-width', min(percentage 'width', percentage 'max-width'))</code>.<br/>
1260+
<code>min(percentage 'width', percentage 'max-width')</code>.<br/>
12611261
<br/>
12621262
If the computed values are not percentages,
1263-
then <code>0%</code> is used for 'width' or 'min-width',and
1263+
then <code>0%</code> is used for 'width', and
12641264
an <code>infinite</code> percentage is used for 'max-width'.
12651265

1266+
<div class="note">
1267+
Please note that 'min-width' is not included in this computation.
1268+
As a result, a percentage 'min-width' is ignored.
1269+
Since 'width' functions like a 'min-width' in table layout
1270+
and column sizing cannot be both length-based and percent-based,
1271+
authors should not use 'min-width' on table-internal boxes
1272+
and prefer to rely on 'width' only instead.
1273+
</div>
12661274
</dl>
12671275

12681276
<!--——————————————————————————————————————————————————————————————————————————-->

0 commit comments

Comments
 (0)