| OLD | NEW |
| (Empty) |
| 1 <!doctype html> | |
| 2 | |
| 3 <style> | |
| 4 | |
| 5 @font-face { | |
| 6 font-family: webkit-ahem; | |
| 7 font-style: normal; | |
| 8 src: url(../../resources/Ahem.ttf); | |
| 9 } | |
| 10 | |
| 11 #test-goals, #test, #test2{ | |
| 12 font-family: webkit-ahem; | |
| 13 } | |
| 14 | |
| 15 #content { | |
| 16 -webkit-flow-into: flow1; | |
| 17 padding: 5px; | |
| 18 } | |
| 19 | |
| 20 #first-box { | |
| 21 border: 1px solid blue; | |
| 22 } | |
| 23 | |
| 24 #second-box { | |
| 25 margin:7px; | |
| 26 border: 1px solid green; | |
| 27 } | |
| 28 | |
| 29 #region1, #region2, #region3 { | |
| 30 border: 1px solid black; | |
| 31 -webkit-flow-from: flow1; | |
| 32 } | |
| 33 | |
| 34 #region1 { | |
| 35 width: 15em; | |
| 36 height: 55px; | |
| 37 } | |
| 38 | |
| 39 #region2 { | |
| 40 width: 35em; | |
| 41 height: 45px; | |
| 42 } | |
| 43 | |
| 44 #region3 { | |
| 45 width: 10em; | |
| 46 height: 55px; | |
| 47 } | |
| 48 </style> | |
| 49 | |
| 50 <div id="topLevel"> | |
| 51 <span id="test-goals">Text should flow through all three regions and not
spill outside of the border</span> | |
| 52 </div> | |
| 53 <div id="content"> | |
| 54 <div id="first-box"> | |
| 55 <div id="second-box"> | |
| 56 <span id="test">mnopq mnopq mnopq mnopq </span> <span id="test2"> mn
opqmnopq mnopqmnopq mnopqmnopq mnopqmnopq mnopqmnopq mno mno mno mno mno mno mno
mno</span> | |
| 57 </div> | |
| 58 </div> | |
| 59 </div> | |
| 60 | |
| 61 <div id="container"> | |
| 62 <div id="region1"></div> | |
| 63 <div id="region2"></div> | |
| 64 <div id="region3"></div> | |
| 65 </div> | |
| 66 | |
| 67 <script> | |
| 68 document.body.offsetWidth; | |
| 69 document.getElementById('test').appendChild(document.createTextNode("qponmqponm
")); | |
| 70 </script> | |
| OLD | NEW |