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

Side by Side Diff: LayoutTests/compositing/background-color/background-color-padding-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> 1 <!DOCTYPE>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style type="text/css" media="screen"> 4 <style type="text/css" media="screen">
5 #background { 5 #background {
6 width: 200px; 6 width: 200px;
7 height: 200px; 7 height: 200px;
8 display: block; 8 display: block;
9 background-color: green; 9 background-color: green;
10 -webkit-background-clip: content; 10 -webkit-background-clip: content;
11 } 11 }
12 12
13 #content { 13 #content {
14 width: 100px; 14 width: 100px;
15 height: 100px; 15 height: 100px;
16 display: block; 16 display: block;
17 background-color: blue; 17 background-color: blue;
18 } 18 }
19 19
20 .composited { 20 .composited {
21 -webkit-transform: translateZ(0); 21 transform: translateZ(0);
22 } 22 }
23 </style> 23 </style>
24 <script type="text/javascript" charset="utf-8"> 24 <script type="text/javascript" charset="utf-8">
25 if (window.testRunner) { 25 if (window.testRunner) {
26 testRunner.waitUntilDone(); 26 testRunner.waitUntilDone();
27 testRunner.dumpAsTextWithPixelResults(); 27 testRunner.dumpAsTextWithPixelResults();
28 } 28 }
29 function doTest() 29 function doTest()
30 { 30 {
31 var bg = document.getElementById("background"); 31 var bg = document.getElementById("background");
(...skipping 12 matching lines...) Expand all
44 window.addEventListener('load', doTest, false); 44 window.addEventListener('load', doTest, false);
45 </script> 45 </script>
46 </head> 46 </head>
47 <body> 47 <body>
48 <!-- When the test is done, there should only be a green square on the page --> 48 <!-- When the test is done, there should only be a green square on the page -->
49 <div id="background" class="composited"> 49 <div id="background" class="composited">
50 <div id="content"></div> 50 <div id="content"></div>
51 </div> 51 </div>
52 </body> 52 </body>
53 </html> 53 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698