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

Side by Side Diff: LayoutTests/compositing/repaint/inline-repaint-container.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 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <style type="text/css" media="screen"> 5 <style type="text/css" media="screen">
6 span { 6 span {
7 position: relative; 7 position: relative;
8 padding: 10px; 8 padding: 10px;
9 } 9 }
10 10
11 .composited { 11 .composited {
12 position: absolute; 12 position: absolute;
13 width: 200px; 13 width: 200px;
14 height: 100px; 14 height: 100px;
15 border: 1px solid black; 15 border: 1px solid black;
16 -webkit-transform: translateZ(0); 16 transform: translateZ(0);
17 } 17 }
18 </style> 18 </style>
19 <script type="text/javascript" charset="utf-8"> 19 <script type="text/javascript" charset="utf-8">
20 if (window.testRunner) 20 if (window.testRunner)
21 testRunner.dumpAsText(); 21 testRunner.dumpAsText();
22 22
23 function doTest() 23 function doTest()
24 { 24 {
25 window.setTimeout(function() { 25 window.setTimeout(function() {
26 var testNode = document.getElementById('test'); 26 var testNode = document.getElementById('test');
27 testNode.removeChild(testNode.firstChild); 27 testNode.removeChild(testNode.firstChild);
28 }, 0); 28 }, 0);
29 } 29 }
30 30
31 window.addEventListener('load', doTest, false); 31 window.addEventListener('load', doTest, false);
32 </script> 32 </script>
33 </head> 33 </head>
34 <body> 34 <body>
35 35
36 <p>This should not assert in debug builds.</p> 36 <p>This should not assert in debug builds.</p>
37 <div class="composited"></div> 37 <div class="composited"></div>
38 <span id="test">test</span> 38 <span id="test">test</span>
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698