Skip to content

Commit baec100

Browse files
committed
[css2] Issue 172.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%403071
1 parent 5f7638d commit baec100

1 file changed

Lines changed: 17 additions & 8 deletions

File tree

css2/tables.src

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: tables.src,v 2.123 2010-10-18 21:58:44 bbos Exp $ -->
3+
<!-- $Id: tables.src,v 2.124 2010-10-25 17:28:27 bbos Exp $ -->
44
<head>
55
<title>Tables</title>
66
</head>
@@ -931,22 +931,31 @@ final layout and may demand more than one pass.
931931

932932
</ol>
933933

934-
<p>This gives a maximum and minimum width for each column. Column
934+
<p>This gives a maximum and minimum width for each column.
935+
936+
<p>The caption width minimum (CAPMIN) is determined by calculating for
937+
each caption the minimum caption outer width as the MCW of a
938+
hypothetical table cell that contains the caption formatted as
939+
"display: block". The greatest of the minimum caption outer widths is
940+
CAPMIN.
941+
942+
<p>Column and caption
935943
widths influence the final table width as follows:
936944

937945
<ol>
938946
<li>If the 'table' or 'inline-table' element's <span
939947
class="propinst-width">'width'</span> property has a computed value
940-
(W) other than 'auto', the property's value as used for layout is
941-
the greater of W and the minimum width required by all the columns
942-
plus cell spacing or borders (MIN). If W is greater than MIN, the
948+
(W) other than 'auto', the used width is
949+
the greater of W, CAPMIN, and the minimum width required by all the
950+
columns plus cell spacing or borders (MIN). If the used width is
951+
greater than MIN, the
943952
extra width should be distributed over the columns.
944953

945954
<li>If the 'table' or 'inline-table' element has 'width: auto',
946-
the table width used for layout is the greater of the table's
947-
containing block width and MIN. However, if the maximum width
955+
the used width is the greater of the table's containing block width,
956+
CAPMIN, and MIN. However, if either CAPMIN or the maximum width
948957
required by the columns plus cell spacing or borders (MAX) is less
949-
than that of the containing block, use MAX.
958+
than that of the containing block, use max(MAX, CAPMIN).
950959
</ol>
951960

952961
<p>A percentage value for a column width is relative to the table

0 commit comments

Comments
 (0)