| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> |
| 2 <title>CSS Test: Test for 'width' shrink-wrapping on inline-table</title> |
| 3 <link rel="author" title="L. David Baron" href="https://dbaron.org/" /> |
| 4 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> |
| 5 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#auto-table-layout"
/> |
| 6 <link rel="match" href="inline-table-width-002-ref.xht"/> |
| 7 <meta name="flags" content="" /> |
| 8 <style type="text/css"> |
| 9 body > div { width: 10em; } |
| 10 body > div > div { display: inline-table; background: green; color: white;
} |
| 11 body > div > div > div { width: 20em; } |
| 12 </style> |
| 13 </head> |
| 14 <body> |
| 15 <div>x<div><div>y</div></div>z</div> |
| 16 |
| 17 |
| 18 </body></html> |
| OLD | NEW |