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

Unified Diff: third_party/WebKit/LayoutTests/transitions/transition-end-event-multiple-02.html

Issue 2602163002: CSS Transitions: Reduce time taken by transition-end-event tests (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/LayoutTests/transitions/transition-end-event-multiple-02.html
diff --git a/third_party/WebKit/LayoutTests/transitions/transition-end-event-multiple-02.html b/third_party/WebKit/LayoutTests/transitions/transition-end-event-multiple-02.html
index b879226c7922c5d9e382984fb98c387da110d03a..38cc92ced9b2a465d70ad32f99dd077ba18cbb8c 100644
--- a/third_party/WebKit/LayoutTests/transitions/transition-end-event-multiple-02.html
+++ b/third_party/WebKit/LayoutTests/transitions/transition-end-event-multiple-02.html
@@ -9,7 +9,7 @@
margin: 10px;
background-color: blue;
-webkit-transition-property: width, left, background-color, height, top;
- -webkit-transition-duration: 0.5s;
+ -webkit-transition-duration: 0.05s;
}
.box1 {
@@ -26,7 +26,7 @@
background-color: green;
left: 50px;
height: 120px;
- -webkit-transition-duration: 0.7s;
+ -webkit-transition-duration: 0.07s;
}
</style>
@@ -35,13 +35,13 @@
var expectedEndEvents = [
// [property-name, element-id, elapsed-time, listen]
- ["background-color", "box2", 0.5, false],
- ["background-color", "box3", 0.7, false],
- ["height", "box3", 0.7, false],
- ["left", "box1", 0.5, false],
- ["left", "box2", 0.5, false],
- ["left", "box3", 0.7, false],
- ["width", "box3", 0.7, false],
+ ["background-color", "box2", 0.05, false],
+ ["background-color", "box3", 0.07, false],
+ ["height", "box3", 0.07, false],
+ ["left", "box1", 0.05, false],
+ ["left", "box2", 0.05, false],
+ ["left", "box3", 0.07, false],
+ ["width", "box3", 0.07, false],
];
function setupTest()

Powered by Google App Engine
This is Rietveld 408576698