1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/table-anonymous-boxes/white-space-pre-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <head> 1.7 + <title>CSS 2.1 Test Suite: anonymous table boxes</title> 1.8 + <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" /> 1.9 + <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> 1.10 + <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/> 1.11 + <meta name="flags" content="dom" /> 1.12 + <style> 1.13 + #x:after { content: " cd"; display: table-cell; } 1.14 + </style> 1.15 + <script> 1.16 + function doTest() { 1.17 + var f = document.getElementById("f"); 1.18 + f.parentNode.removeChild(f); 1.19 + } 1.20 + </script> 1.21 + </head> 1.22 + <body onload="doTest()"> 1.23 + <div style="font-family: monospace; width: 10em; white-space: pre-wrap"><span id="f" style="float: left; width: 80%; height: 0.5em"></span><span id="x">a <script>document.body.offsetWidth;</script> <span style="display: table-cell">b</span></span></div> 1.24 + </body> 1.25 +</html>