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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/composited-layer-nested.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 margin: 3em 0; 4 margin: 3em 0;
5 width: 60px; 5 width: 60px;
6 -webkit-column-width: 20px; 6 -webkit-column-width: 20px;
7 -webkit-column-gap: 0; 7 -webkit-column-gap: 0;
8 column-fill: auto; 8 column-fill: auto;
9 height: 60px; 9 height: 60px;
10 } 10 }
11 .square { 11 .square {
12 width: 20px; 12 width: 20px;
13 height: 20px; 13 height: 20px;
14 background: green; 14 background: green;
15 } 15 }
16 16
17 .layer { transform: translateZ(0); } 17 .layer { transform: translateZ(0); }
18 18
19 </style> 19 </style>
20 <p>There should be two green squares below.</p> 20 <p>If no compositing were present, there should be two green squares below. Sinc e some elements are composited, and therefore not fragmented, the output is diff erent.</p>
21 <!-- composited layer in composited layer: --> 21 <!-- composited layer in composited layer: -->
22 <div class="multicol"> 22 <div class="multicol">
23 <div class="square"></div> 23 <div class="square"></div>
24 <div class="layer"> <!-- from first to second column --> 24 <div class="layer"> <!-- from first to second column -->
25 <div class="square"></div> 25 <div class="square"></div>
26 <div class="layer"> 26 <div class="layer">
27 <div class="square"></div> 27 <div class="square"></div>
28 <div class="square"></div> 28 <div class="square"></div>
29 </div> 29 </div>
30 <div class="square"></div> 30 <div class="square"></div>
(...skipping 19 matching lines...) Expand all
50 <div class="layer"> <!-- from second to third column --> 50 <div class="layer"> <!-- from second to third column -->
51 <div class="layer"> <!-- from second to third column --> 51 <div class="layer"> <!-- from second to third column -->
52 <div class="square"></div> 52 <div class="square"></div>
53 <div class="square"></div> 53 <div class="square"></div>
54 </div> 54 </div>
55 <div class="square"></div> 55 <div class="square"></div>
56 <div class="square"></div> 56 <div class="square"></div>
57 </div> 57 </div>
58 </div> 58 </div>
59 </div> 59 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698