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

Unified Diff: LayoutTests/compositing/child-transform-layer-requires-box.html

Issue 239513010: Only boxes should have child transform layers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: de-crazified the test. Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/compositing/child-transform-layer-requires-box.html
diff --git a/LayoutTests/compositing/child-transform-layer-requires-box.html b/LayoutTests/compositing/child-transform-layer-requires-box.html
new file mode 100644
index 0000000000000000000000000000000000000000..257c539f6b3dbdd974b8c316463d0d64ae01177c
--- /dev/null
+++ b/LayoutTests/compositing/child-transform-layer-requires-box.html
@@ -0,0 +1,17 @@
+<style>
Julien - ping for review 2014/04/17 00:02:38 Where is Da DOCTYPE?
Ian Vollick 2014/04/17 01:31:03 Added!
+</style>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ onload = function() {
+ el0=document.createElement('a'); el0.setAttribute('id','el0'); document.body.appendChild(el0);
+ el4=document.createElement('input'); el4.setAttribute('id','el4'); el0.appendChild(el4);
+ document.querySelector('style').appendChild(document.createTextNode('#el0 { -webkit-perspective:800 }'));
+ document.querySelector('style').appendChild(document.createTextNode('#el0 { opacity:0 }'));
+ document.querySelector('style').appendChild(document.createTextNode('#el4 { -webkit-transform:translate3d(0,20px,0) }'));
+ }
+</script>
+<body>
+This test passes if it does not crash.
Julien - ping for review 2014/04/17 00:02:38 How about a description of what you are testing?
Ian Vollick 2014/04/17 01:31:03 Done.
+</body>

Powered by Google App Engine
This is Rietveld 408576698