Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / bugs / bug46924.html
blobcc46dceed4026f944e174c1a90770019503c6e68
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 //EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <HTML>
3 <HEAD>
4 <STYLE TYPE="text/css">
5 .w1 {width:100%}
6 .a-div {width:50%;position:relative; text-align:right; background-color:red;margin:0px;}
7 </STYLE>
8 </HEAD>
9 <BODY>
10 <DIV>Buggy example: This table has a tfoot and a tbody</DIV>
11 <TABLE border class="w1 fs-11-13">
12 <TFOOT><TR style="background-color:olive"><TD align="right">This is the footer</TD></TR></TFOOT>
13 <TBODY><TR style="background-color:silver" valign="top"><TD><DIV class="a-div">This row should be in the (grey) table body</DIV></TD></TR></TBODY>
14 </TABLE><BR>
15 <DIV>For comparison: The same table without a tfoot</DIV>
16 <TABLE border class="w1 fs-11-13">
17 <!--<TFOOT><TR style="background-color:olive"><TD align="right">This is the footer</TD></TR></TFOOT> -->
18 <TBODY><TR style="background-color:silver" valign="top"><TD><DIV class="a-div">This row should be in the (grey) table body</DIV></TD></TR></TBODY>
19 </TABLE>
20 <DIV>ILLEGAL example: TFOOT after TBODY -- THIS IS PROHIBITED BY HTML 4.01 STRICT AND SHOULD NOT WORK IN STRICT MODE. Please fix or reenable transitional mode.</DIV>
21 <TABLE border class="w1 fs-11-13">
22 <TBODY><TR style="background-color:silver" valign="top"><TD><DIV class="a-div">This row should be in the (grey) table body</DIV></TD></TR></TBODY>
23 <TFOOT><TR style="background-color:olive"><TD align="right">This is the footer</TD></TR></TFOOT>
24 </TABLE><BR>
25 </BODY>
26 </HTML>