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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/layer-creation/stacking-context-overlap.html

Issue 2393443002: Adjust compositing tests to be SPv2-compatible. (Closed)
Patch Set: none Created 4 years, 2 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 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <style type="text/css" media="screen"> 5 <style type="text/css" media="screen">
6 .trigger { 6 .trigger {
7 width: 20px; 7 width: 20px;
8 height: 20px; 8 height: 20px;
9 background-color: blue; 9 background-color: blue;
10 transform: translateZ(0); 10 transform: translateZ(0);
(...skipping 20 matching lines...) Expand all
31 </head> 31 </head>
32 <script> 32 <script>
33 if (window.testRunner) { 33 if (window.testRunner) {
34 testRunner.dumpAsText(); 34 testRunner.dumpAsText();
35 testRunner.waitUntilDone(); 35 testRunner.waitUntilDone();
36 } 36 }
37 37
38 function doTest() 38 function doTest()
39 { 39 {
40 if (window.testRunner) { 40 if (window.testRunner) {
41 document.getElementById('layertree').innerText = window.internals.la yerTreeAsText(document); 41 document.getElementById('layertree').innerText = window.internals.la yerTreeAsText(document, window.internals.OUTPUT_CHILDREN_AS_LAYER_LIST);
42 testRunner.notifyDone(); 42 testRunner.notifyDone();
43 } 43 }
44 } 44 }
45 45
46 window.addEventListener('load', doTest, false); 46 window.addEventListener('load', doTest, false);
47 </script> 47 </script>
48 <body> 48 <body>
49 <div class="trigger"></div> 49 <div class="trigger"></div>
50 50
51 <div class="container"> 51 <div class="container">
52 <div class="child box"> 52 <div class="child box">
53 <!-- This box doesn't need its own layer. --> 53 <!-- This box doesn't need its own layer. -->
54 </div> 54 </div>
55 </div> 55 </div>
56 <pre id="layertree"></pre> 56 <pre id="layertree"></pre>
57 </body> 57 </body>
58 </html> 58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698