W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2017

[csswg-drafts] [css-tables] correct content measurement based on test findings

From: Greg Whitworth via GitHub <sysbot+gh@w3.org>
Date: Fri, 10 Feb 2017 21:27:01 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-206910760-1486762020-sysbot+gh@w3.org>
gregwhitworth has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-tables] correct content measurement based on test findings ==
While trying to verify the content measurement we found that the spec 
text is not correct and needs to be re-written for colgroup widths.

   <ul>
                                                <li>the outer 
min-content width of the column group, if any
                                                <li>the outer 
min-content width of the column, if any
                                                <li>the outer 
min-content width of each cell in the column whose column-span is 1
                                                        (or just the 
one in the first row <a>in fixed mode</a>)
                                                        or 0 if there 
is none
                                        </ul>

For example in this test based on the above spec text both columns 
should result in 51px and this is not what any browser does.

    <table cellspacing="0" cellpadding="0">
        <colgroup style="width: 51px;">
            <col style="width: 20px;"></col>
            <col style="width: auto;"></col>
        </colgroup>
        <tr>
            <td style="width: 10px;"></td>
            <td id="four" style="width: 20px;"></td>
        </tr>
    </table>

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1025 using your GitHub 
account
Received on Friday, 10 February 2017 21:27:07 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:29 UTC