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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/overflow/tiled-mask.html

Issue 2689253002: cc: Add layout test cases for mask tiling. (Closed)
Patch Set: Rebaseline virtual/prefer_compositing_to_lcd_text tests. Created 3 years, 9 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
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #mask {
4 width: 800px;
5 height: 800px;
6 overflow: hidden;
7 border-radius: 90px;
8 will-change: transform;
9 border: 4px solid red;
10 background-color: grey;
11 }
12
13 .clipped {
14 width: 100px;
15 height: 100px;
16 will-change: transform;
17 position: absolute;
18 }
19
20 .small {
21 width: 50px;
22 height: 50px;
23 will-change: transform;
24 position: absolute;
25 }
26
27 #spacer {
28 width: 2000px;
29 height: 2000px;
30 position: absolute;
31 will-change: transform;
32 background: papayawhip;
33 }
34 </style>
35 <script src="../../resources/run-after-layout-and-paint.js"></script>
36 <script>
37 runAfterLayoutAndPaint(function() {
38 window.scrollTo(300, 300);
39 }, true);
40 </script>
41 <div id="mask">
42 <div id="spacer">There's stuff in here</div>
43 <div class="small" style="left:0px; top:0px; background: maroon"></div>
44 <div class="clipped" style="left: 0px; top: 700px; background: orange"></div>
45 <div class="clipped" style="left: -60px; top: 70px; background: green"></div>
46 <div class="clipped" style="left: 120px; top: 700px; background: blue"></div>
47 <div class="clipped" style="left: 750px; top: 0px; background: yellow"></div>
48 <div class="clipped" style="left: 80px; top: 300px; background: grey"></div>
49 <div class="clipped" style="left: 20px; top: 400px; background: red"></div>
50 <div class="small" style="left: 750px; top: 750px; background: purple"></div>
51 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698