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

Side by Side Diff: LayoutTests/compositing/repaint/transform-style-change.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 <!-- Tests that an element composited with transform-style: preserve-3d still re nders when switched to transform-style: flat --> 2 <!-- Tests that an element composited with transform-style: preserve-3d still re nders when switched to transform-style: flat -->
3 <div id="box" style="width:100px; height:100px; background-color: green; -webkit -transform: translateZ(0); -webkit-transform-style: preserve-3d"></div> 3 <div id="box" style="width:100px; height:100px; background-color: green; transfo rm: translateZ(0); -webkit-transform-style: preserve-3d"></div>
4 <script src="../../resources/run-after-display.js"></script> 4 <script src="../../resources/run-after-display.js"></script>
5 <script> 5 <script>
6 function test() { 6 function test() {
7 document.getElementById("box").style.webkitTransformStyle = "flat"; 7 document.getElementById("box").style.webkitTransformStyle = "flat";
8 if (window.testRunner) 8 if (window.testRunner)
9 testRunner.notifyDone(); 9 testRunner.notifyDone();
10 } 10 }
11 11
12 if (window.testRunner) { 12 if (window.testRunner) {
13 testRunner.waitUntilDone(); 13 testRunner.waitUntilDone();
14 testRunner.dumpAsTextWithPixelResults(); 14 testRunner.dumpAsTextWithPixelResults();
15 } 15 }
16 // Force one composite with preserve-3d 16 // Force one composite with preserve-3d
17 runAfterDisplay(test); 17 runAfterDisplay(test);
18 </script> 18 </script>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/repaint/shrink-layer.html ('k') | LayoutTests/compositing/rounded-corners.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698