Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/composited-relpos-resize.html

Issue 2028893002: Disallow fragmentation of composited content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698