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

Side by Side Diff: LayoutTests/compositing/geometry/bounds-ignores-hidden.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 <style> 1 <style>
2 .composited { 2 .composited {
3 -webkit-transform: translateZ(0); 3 transform: translateZ(0);
4 } 4 }
5 5
6 img { 6 img {
7 background-color: black; 7 background-color: black;
8 width: 50px; 8 width: 50px;
9 height: 50px; 9 height: 50px;
10 } 10 }
11 </style> 11 </style>
12 <script> 12 <script>
13 if (window.testRunner) 13 if (window.testRunner)
14 testRunner.dumpAsText(); 14 testRunner.dumpAsText();
15 15
16 function dumpLayers() 16 function dumpLayers()
17 { 17 {
18 if (window.testRunner) { 18 if (window.testRunner) {
19 document.getElementById('layers').innerText = window.internals.layer TreeAsText(document); 19 document.getElementById('layers').innerText = window.internals.layer TreeAsText(document);
20 } 20 }
21 } 21 }
22 window.addEventListener('load', dumpLayers, false); 22 window.addEventListener('load', dumpLayers, false);
23 </script> 23 </script>
24 <body> 24 <body>
25 <div style="position: absolute; left: 0px; top: 0px; z-index: 106; " class=" composited"> 25 <div style="position: absolute; left: 0px; top: 0px; z-index: 106; " class=" composited">
26 <img style="position: absolute; left: 10px; top: 10px; z-index: -2;"> 26 <img style="position: absolute; left: 10px; top: 10px; z-index: -2;">
27 <img style="position: absolute; left: 44940px; top: 15013px; z-index: 0; visibility: hidden;"> 27 <img style="position: absolute; left: 44940px; top: 15013px; z-index: 0; visibility: hidden;">
28 </div> 28 </div>
29 <pre id="layers">Layer tree goes here in DRT</pre> 29 <pre id="layers">Layer tree goes here in DRT</pre>
30 </body> 30 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698