summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/100-percent-cell-width.html
blob: 35c28e744a662a57a9e6cee7583d7c991ddcf3ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<p>
    Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13670">http://bugs.webkit.org/show_bug.cgi?id=13670</a>
    Table misrender when one of the TDs has width=100%</i>.
</p>
<p>
    There should be one green vertical line, 100px long and 2px thick, near the right margin. 
</p>
<table cellpadding="0" cellspacing="0">
    <tr>
        <td width="100%"></td>
        <td><div style="width: 2px; background: green; height: 50px;"></div></td>
    </tr>
</table>
<div style="direction: rtl;">
    <div style="width: 2px; background: green; height: 50px;"></div>
</div>