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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/composited-layer-multiple-fragments-translated.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 <style> 2 <style>
3 .multicol { 3 .multicol {
4 width: 60px; 4 width: 60px;
5 -webkit-column-width: 20px; 5 -webkit-column-width: 20px;
6 -webkit-column-gap: 0; 6 -webkit-column-gap: 0;
7 column-fill: auto; 7 column-fill: auto;
8 height: 60px; 8 height: 60px;
9 line-height: 20px; 9 line-height: 20px;
10 } 10 }
11 .square { 11 .square {
12 width: 20px; 12 width: 20px;
13 height: 20px; 13 height: 20px;
14 background: red; 14 background: red;
15 } 15 }
16 .layer { transform: translateZ(0) translateY(20px); } 16 .layer { transform: translateZ(0) translateY(20px); }
17 .layer .square { background: green; } 17 .layer .square { background: green; }
18 </style> 18 </style>
19 19
20 <p>There should be two small green squares below, and no red.</p> 20 <p>There should be two small green squares vertically aligned below, and another red square to the top-right. The second green square does not overlap the red b ecause it is conmposited, and hence not fragmented.</p>
21 <div class="multicol"> 21 <div class="multicol">
22 <br> 22 <br>
23 <br> 23 <br>
24 <br> 24 <br>
25 <br> 25 <br>
26 <br> 26 <br>
27 <div class="layer"> <!-- from second to third column --> 27 <div class="layer"> <!-- from second to third column -->
28 <div class="square"></div> 28 <div class="square"></div>
29 <br> 29 <br>
30 <div class="square"></div> 30 <div class="square"></div>
31 </div> 31 </div>
32 <div class="square"></div> 32 <div class="square"></div>
33 </div> 33 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698