OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script> | 2 <script> |
3 onload = function() { | 3 onload = function() { |
4 var elm = document.getElementById('elm'); | 4 var elm = document.getElementById('elm'); |
5 document.body.offsetTop; // trigger layout | 5 document.body.offsetTop; // trigger layout |
6 elm.style.display = 'block'; | 6 elm.style.display = 'block'; |
7 } | 7 } |
8 </script> | 8 </script> |
9 <p>Test inserting a block in the middle of inline content that has an anonymous
wrapper block around it.</p> | 9 <p>Test inserting a block in the middle of inline content that has an anonymous
wrapper block around it.</p> |
10 <p>There should be three lines below with the word "PASS". Letter spacing is exp
ected to vary</p> | 10 <p>There should be three lines below with the word "PASS". Letter spacing is exp
ected to vary</p> |
11 <div style="-webkit-columns:4; -webkit-column-gap:0; width:4em;"> | 11 <div style="-webkit-columns:4; -webkit-column-gap:0; width:4em; orphans:1; widow
s:1;"> |
12 <div style="-webkit-column-span:all;">PASS</div> | 12 <div style="-webkit-column-span:all;">PASS</div> |
13 P<br>P | 13 P<br>P |
14 <div id="elm" style="display:none;">A</div> | 14 <div id="elm" style="display:none;">A</div> |
15 A<br>S<br>S<br>S<br>S | 15 A<br>S<br>S<br>S<br>S |
16 </div> | 16 </div> |
OLD | NEW |