OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <p>There should be two yellow boxes below.</p> | 2 <p>There should be one yellow box below. There is only one because the content i
s composited, and hence not fragmented.</p> |
3 <div id="elm" style="-webkit-columns:2; -webkit-column-gap:0; column-fill:auto;
height:13em; line-height:2em;"> | 3 <div id="elm" style="-webkit-columns:2; -webkit-column-gap:0; column-fill:auto;
height:13em; line-height:2em;"> |
4 <div style="will-change:transform; position:absolute; left:0; right:0; heigh
t:15em; background:cyan;"></div> | 4 <div style="will-change:transform; position:absolute; left:0; right:0; heigh
t:15em; background:cyan;"></div> |
5 <br> | 5 <br> |
6 <br> | 6 <br> |
7 <br> | 7 <br> |
8 <br> | 8 <br> |
9 <div style="position:relative; margin:0.5em; background:yellow;"> | 9 <div style="position:relative; margin:0.5em; background:yellow;"> |
10 first<br> | 10 first<br> |
11 column<br> | 11 column<br> |
12 second<br> | 12 second<br> |
13 column<br> | 13 column<br> |
14 </div> | 14 </div> |
15 </div> | 15 </div> |
16 <script> | 16 <script> |
17 if (window.internals) | 17 if (window.internals) |
18 internals.forceCompositingUpdate(document); | 18 internals.forceCompositingUpdate(document); |
19 document.getElementById('elm').style.width = '90%'; | 19 document.getElementById('elm').style.width = '90%'; |
20 </script> | 20 </script> |
OLD | NEW |