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

Side by Side Diff: LayoutTests/compositing/visible-rect/animated-from-none.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5 <style>
6 .container {
7 position: relative;
8 height: 200px;
9 width: 500px;
10 border: 1px solid black;
11 overflow: hidden;
12 z-index: 0;
13 }
14
15 .box {
16 position: absolute;
17 left: -100px;
18 width: 200px;
19 height: 200px;
20 background-color: blue;
21 -webkit-animation: move 20000000s linear;
22 }
23
24 @-webkit-keyframes move {
25 from { -webkit-transform: none; }
26 to { -webkit-transform: translateX(400px); }
27 }
28 </style>
29 <script>
30 if (window.testRunner) {
31 testRunner.dumpAsText();
32 testRunner.waitUntilDone();
33 }
34
35 function doTest()
36 {
37 document.getElementById('animated').addEventListener('webkitAnimatio nStart', function() {
38 if (window.internals)
39 document.getElementById('layers').innerText = internals.laye rTreeAsText(document, internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS)
40
41 if (window.testRunner)
42 testRunner.notifyDone();
43 }, false);
44 }
45 window.addEventListener('load', doTest, false);
46 </script>
47 </head>
48 <body>
49
50 <div class="container">
51 <div id="animated" class="box"></div>
52 </div>
53
54 <pre id="layers">Layer tree goes here when testing</pre>
55 </body>
56 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698