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

Side by Side Diff: LayoutTests/compositing/contents-opaque/hidden-with-visible-child.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 #caption { 5 #caption {
6 width: 200px; 6 width: 200px;
7 height: 100px; 7 height: 100px;
8 background-color: green; 8 background-color: green;
9 -webkit-transform: translateZ(0); 9 transform: translateZ(0);
10 } 10 }
11 .inner { 11 .inner {
12 visibility: visible; 12 visibility: visible;
13 background-color: blue; 13 background-color: blue;
14 } 14 }
15 </style> 15 </style>
16 <script type="text/javascript"> 16 <script type="text/javascript">
17 if (window.testRunner) 17 if (window.testRunner)
18 testRunner.dumpAsText(); 18 testRunner.dumpAsText();
19 19
20 function doTest() { 20 function doTest() {
21 document.getElementById("caption").style.visibility = "hidden"; 21 document.getElementById("caption").style.visibility = "hidden";
22 if (window.testRunner && window.internals) 22 if (window.testRunner && window.internals)
23 document.getElementById('layertree').innerText = window.internal s.layerTreeAsText(document); 23 document.getElementById('layertree').innerText = window.internal s.layerTreeAsText(document);
24 } 24 }
25 window.addEventListener('load', doTest, false); 25 window.addEventListener('load', doTest, false);
26 </script> 26 </script>
27 </head> 27 </head>
28 <body> 28 <body>
29 <div id="caption" style="position: fixed; background: green;"> 29 <div id="caption" style="position: fixed; background: green;">
30 <div class="inner"></div> 30 <div class="inner"></div>
31 </div> 31 </div>
32 <pre id="layertree"></pre> 32 <pre id="layertree"></pre>
33 </body> 33 </body>
34 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698