OLD | NEW |
| (Empty) |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR
/xhtml1/DTD/xhtml1-strict.dtd"> | |
2 <html xmlns="http://www.w3.org/1999/xhtml"> | |
3 <head> | |
4 <title>CSS Test: Flexbox must shrink to fit child content - Reference </
title> | |
5 <link rel="author" title="Codeaurora" href="http://www.codeaurora.org/"
/> | |
6 <link rel="help" href="http://www.w3.org/TR/2009/WD-css3-flexbox-2009072
3/"/> | |
7 <style type="text/css"> | |
8 table | |
9 { | |
10 border: 0px; | |
11 border-collapse:collapse; | |
12 border-spacing:0px 0px; | |
13 background: green; | |
14 } | |
15 td | |
16 { | |
17 width:100px; | |
18 vertical-align:text-top; | |
19 padding: 0px; | |
20 } | |
21 | |
22 </style> | |
23 </head> | |
24 <body> | |
25 <p>Test passes if there is no red visible on the page.</p> | |
26 <div> | |
27 <table> | |
28 <tr> | |
29 <td>100px wide child</td> | |
30 <td>100px wide child</td> | |
31 </tr> | |
32 </table> | |
33 </div> | |
34 </body> | |
35 </html> | |
OLD | NEW |