Relevant quote involved from the spec:
«In the fixed table layout algorithm, the width of each column is determined as follows:
- A column element with a value other than 'auto' for the 'width' property sets the width for that column.
- Otherwise, a cell in the first row with a value other than 'auto' for the 'width' property determines the width for that column. If the cell spans more than one column, the width is divided over the columns.
- Any remaining columns equally divide the remaining horizontal table space (minus borders or cell spacing).»
coming from CSS 2.1, section 17.5.2.1 Fixed table layout
Initial and sole testcase in RC6 of CSS 2.1 test suite: fixed-table-layout-003
Thread in W3C www-style mailing list: [css21] Section 17.5.2.1 should be clarified
«(...) the column width is set to the width of the cell plus its left padding plus its right padding plus half its left border plus half its right border in the collapsing border model, and the same but using full border widths in the separated border model.»
coming from http://lists.w3.org/Archives/Public/www-style/2011Apr/0743.html
border-collapse: separate | padding and no border | a01 | a02 | a03 | a04 | a05 | a06 | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
padding and border | b01 | b02 | b03 | b04 | b05 | b06 | b07 | b08 | b09 | b10 | b11 | b12 | |
border and no padding | c01 | c02 | c03 | c04 | c05 | c06 | c07 | c08 | |||||
border-collapse: collapse | padding and no border | d01 | d02 | d03 | d04 | d05 | d06 | ||||||
padding and border | e01 | e02 | e03 | e04 | e05 | e06 | e07 | e08 | e09 | e10 | e11 | e12 | |
border and no padding | f01 | f02 | f03 | f04 | f05 | f06 | f07 | f08 |