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

Side by Side Diff: LayoutTests/compositing/child-transform-layer-requires-box.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 <style> 2 <style>
3 </style> 3 </style>
4 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 7
8 onload = function() { 8 onload = function() {
9 el0=document.createElement('a'); el0.setAttribute('id','el0'); document.bo dy.appendChild(el0); 9 el0=document.createElement('a'); el0.setAttribute('id','el0'); document.bo dy.appendChild(el0);
10 el4=document.createElement('input'); el4.setAttribute('id','el4'); el0.app endChild(el4); 10 el4=document.createElement('input'); el4.setAttribute('id','el4'); el0.app endChild(el4);
11 document.querySelector('style').appendChild(document.createTextNode('#el0 { -webkit-perspective:800 }')); 11 document.querySelector('style').appendChild(document.createTextNode('#el0 { -webkit-perspective:800 }'));
12 document.querySelector('style').appendChild(document.createTextNode('#el0 { opacity:0 }')); 12 document.querySelector('style').appendChild(document.createTextNode('#el0 { opacity:0 }'));
13 document.querySelector('style').appendChild(document.createTextNode('#el4 { -webkit-transform:translate3d(0,20px,0) }')); 13 document.querySelector('style').appendChild(document.createTextNode('#el4 { transform:translate3d(0,20px,0) }'));
14 } 14 }
15 </script> 15 </script>
16 <!-- 16 <!--
17 This test causes a situation where we have a non-box element (a RenderInline) wi th 17 This test causes a situation where we have a non-box element (a RenderInline) wi th
18 a perspective applied to it. This should not invoke the perspective machinery in the 18 a perspective applied to it. This should not invoke the perspective machinery in the
19 CompositedLayerMapping or it will crash. 19 CompositedLayerMapping or it will crash.
20 --> 20 -->
21 <body> 21 <body>
22 This test passes if it does not crash. 22 This test passes if it does not crash.
23 </body> 23 </body>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/child-layer-3d-sorting.html ('k') | LayoutTests/compositing/child-transform-with-anchor-point.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698