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

Side by Side Diff: LayoutTests/compositing/squashing/squash-clipped-expected.html

Issue 137143009: Add a number of tests for layer squashing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: moar expectations Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <style>
4 .composited {
5 -webkit-transform: translatez(0);
6 }
7
8 .box {
9 width: 100px;
10 height: 100px;
11 }
12
13 .behind {
14 position: absolute;
15 z-index: 1;
16 top: 100px;
17 left: 100px;
18 background-color: blue;
19 }
20
21 .middle {
22 position: absolute;
23 z-index: 1;
24 top: 180px;
25 left: 180px;
26 background-color: lime;
27 }
28
29 .middle2 {
30 position: absolute;
31 z-index: 1;
32 top: 260px;
33 left: 260px;
34 background-color: magenta;
35 }
36
37 .top {
38 position: absolute;
39 z-index: 1;
40 top: 340px;
41 left: 340px;
42 background-color: cyan;
43 }
44
45 .clipper {
46 -webkit-transform: translatez(0);
47 width: 400px;
48 height: 400px;
49 background-color: gray;
50 overflow: hidden;
51 }
52
53 div:hover {
54 background-color: green;
55 }
56
57 </style>
58 </head>
59 <body>
60 <div class="clipper">
61 <div class="composited box behind"></div>
62 <div class="box middle"></div>
63 <div class="box middle2"></div>
64 <div class="box top"></div>
65 </div>
66 </body>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/squashing/squash-clipped.html ('k') | LayoutTests/compositing/squashing/squash-onto-nephew.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698