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

Side by Side Diff: LayoutTests/transitions/transition-end-event-prefixed-01.html

Issue 22893051: Add support for BeforeUnloadEvent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix test failures Created 7 years, 3 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <style> 5 <style>
6 .box { 6 .box {
7 position: relative; 7 position: relative;
8 left: 0; 8 left: 0;
9 height: 100px; 9 height: 100px;
10 width: 100px; 10 width: 100px;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } 45 }
46 46
47 function outerTransitionEndEvent(e) 47 function outerTransitionEndEvent(e)
48 { 48 {
49 transitionEventContainer = e; 49 transitionEventContainer = e;
50 shouldBe("transitionEventContainer.type", "transitionEventBox.type"); 50 shouldBe("transitionEventContainer.type", "transitionEventBox.type");
51 shouldBe("transitionEventContainer.bubbles", "transitionEventBox.bubbles "); 51 shouldBe("transitionEventContainer.bubbles", "transitionEventBox.bubbles ");
52 shouldBe("transitionEventContainer.timeStamp", "transitionEventBox.timeS tamp"); 52 shouldBe("transitionEventContainer.timeStamp", "transitionEventBox.timeS tamp");
53 shouldBe("transitionEventContainer.cancelable", "transitionEventBox.canc elable"); 53 shouldBe("transitionEventContainer.cancelable", "transitionEventBox.canc elable");
54 shouldBe("transitionEventContainer.srcElement", "transitionEventBox.srcE lement"); 54 shouldBe("transitionEventContainer.srcElement", "transitionEventBox.srcE lement");
55 shouldBe("transitionEventContainer.returnValue", "transitionEventBox.ret urnValue");
56 shouldBe("transitionEventContainer.cancelBubble", "transitionEventBox.ca ncelBubble"); 55 shouldBe("transitionEventContainer.cancelBubble", "transitionEventBox.ca ncelBubble");
57 shouldBe("transitionEventContainer.defaultPrevented", "transitionEventBo x.defaultPrevented"); 56 shouldBe("transitionEventContainer.defaultPrevented", "transitionEventBo x.defaultPrevented");
58 shouldBe("transitionEventContainer.target", "transitionEventBox.target") ; 57 shouldBe("transitionEventContainer.target", "transitionEventBox.target") ;
59 shouldBe("transitionEventContainer.currentTarget", "testContainer"); 58 shouldBe("transitionEventContainer.currentTarget", "testContainer");
60 // TransitionEnd event specific properties. 59 // TransitionEnd event specific properties.
61 shouldBe("transitionEventContainer.pseudoElement", "transitionEventBox.p seudoElement"); 60 shouldBe("transitionEventContainer.pseudoElement", "transitionEventBox.p seudoElement");
62 shouldBe("transitionEventContainer.elapsedTime", "transitionEventBox.ela psedTime"); 61 shouldBe("transitionEventContainer.elapsedTime", "transitionEventBox.ela psedTime");
63 shouldBe("transitionEventContainer.propertyName", "transitionEventBox.pr opertyName"); 62 shouldBe("transitionEventContainer.propertyName", "transitionEventBox.pr opertyName");
64 if (window.testRunner) 63 if (window.testRunner)
65 testRunner.notifyDone(); 64 testRunner.notifyDone();
66 document.body.removeChild(testContainer); 65 document.body.removeChild(testContainer);
67 } 66 }
68 67
69 testContainer.addEventListener('webkitTransitionEnd', outerTransitionEndEven t, false); 68 testContainer.addEventListener('webkitTransitionEnd', outerTransitionEndEven t, false);
70 box.addEventListener('webkitTransitionEnd', innerTransitionEndEvent, false); 69 box.addEventListener('webkitTransitionEnd', innerTransitionEndEvent, false);
71 </script> 70 </script>
72 <script src="../fast/js/resources/js-test-post.js"></script> 71 <script src="../fast/js/resources/js-test-post.js"></script>
73 </body> 72 </body>
74 </html> 73 </html>
OLDNEW
« no previous file with comments | « LayoutTests/jquery/event-expected.txt ('k') | LayoutTests/transitions/transition-end-event-prefixed-01-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698