summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/calculated-width-on-col-within-colgroup.html
blob: a7107e47da6603f5e97be8a783173b307f54ae94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<style>
    col {
        width: calc(-10in - 10%);
    }
</style>
<script src="../../resources/check-layout.js"></script>
<table>
    <colgroup width="200">
        <col data-expected-width=0>
        <col data-expected-width=0>
    </colgroup>
    <tr>
        <td data-expected-width=200></td>
        <td data-expected-width=200></td>
    </tr>
</table>
<script>
    checkLayout('table')
</script>
<p> crbug.com/446936: Use a used value of Auto on col elements that have a calc value. This is permitted by the spec and avoids ASSERTs.</p>