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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/resources/get-layers.html

Issue 2954343004: [DevTools] Migrate inspector-protocol/layers tests to new harness (Closed)
Patch Set: fix test Created 3 years, 5 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 <html>
2 <head>
3 <script>
4 function addCompositedLayer() {
5 var element = document.createElement("div");
6 element.className = "composited";
7 element.id = "last-element";
8 document.body.appendChild(element);
9 }
10 </script>
11 <style type="text/css">
12 div {
13 position: absolute;
14 top: 0;
15 left: 0;
16 }
17
18 .regular {
19 width: 100px;
20 height: 100px;
21 background-color: black;
22 }
23
24 .composited {
25 top: 25px;
26 left: 25px;
27 width: 50px;
28 height: 50px;
29 background-color: blue;
30 transform: translateZ(0);
31 }
32
33 .offset {
34 left: 200px;
35 transform: translateZ(0);
36 }
37 </style>
38 </head>
39 <body>
40
41 <div class="regular"></div>
42
43 <div class="composited">
44 <div class="composited"></div>
45 </div>
46
47 <div class="regular offset">
48 <div class="composited"></div>
49 </div>
50
51 </body>
52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698