Skip to content

Commit 13381d5

Browse files
committed
[css-tables] Working around bikeshed a bit
1 parent 3d18bca commit 13381d5

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

css-tables-3/Overview.bs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,10 @@ spec:css21; type:property; text:max-width
553553
</div>
554554

555555
<div class="example">
556-
<xmp class="lang-markup">
557-
<!-- built using dom api, as this would be fixed by the html parser -->
556+
<pre class="lang-markup" style="margin-bottom:0;padding-bottom:0;">
557+
&lt;!-- built using dom api, as this would be fixed by the html parser --&gt;
558+
</pre>
559+
<xmp class="lang-markup" style="margin-top:0;padding-top:0;">
558560
<grid style="display: table">
559561
<row style="display: table-row">
560562
<th rowspan="2">1</th>
@@ -1264,6 +1266,12 @@ spec:css21; type:property; text:max-width
12641266
as a length-percentage, in which case they are resolved
12651267
based on the table width (if it is definite, otherwise use 0).
12661268

1269+
<p>
1270+
For the purpose of calculating the outer min-content width of cells,
1271+
descendants of table cells whose width depends on percentages of their parent cell' width
1272+
are considered to have an auto width if they have 'overflow' set to visible,
1273+
and a 0px height if they have not.
1274+
12671275
<dl>
12681276
<!--------------------------------------------------------------------------------->
12691277
<dt><dfn>intermediate min-content width for span 1</dfn></dt>

0 commit comments

Comments
 (0)