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

Unified Diff: third_party/WebKit/LayoutTests/transitions/remove-accelerated-transition.html

Issue 2521493002: CSS Transitions: Reduce usage of -webkit prefix in layout tests (Closed)
Patch Set: Created 4 years, 1 month 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/remove-accelerated-transition.html
diff --git a/third_party/WebKit/LayoutTests/transitions/remove-accelerated-transition.html b/third_party/WebKit/LayoutTests/transitions/remove-accelerated-transition.html
index a6fe5efb9b91ab323b04b721dfe83841b8091902..a7ed204dbac0b7c5b410d8fbb0c66c0d89b083d5 100644
--- a/third_party/WebKit/LayoutTests/transitions/remove-accelerated-transition.html
+++ b/third_party/WebKit/LayoutTests/transitions/remove-accelerated-transition.html
@@ -5,7 +5,7 @@
background-color: red;
height: 100px;
width: 100px;
- -webkit-transition: height 0.5s linear;
+ transition: height 0.5s linear;
overflow: hidden;
}
@@ -13,7 +13,7 @@
background-color: blue;
height: 100px;
width: 100px;
- -webkit-transition: -webkit-transform 0.5s linear;
+ transition: transform 0.5s linear;
}
</style>
<script>
@@ -31,11 +31,11 @@
function startTest() {
var a = document.getElementById("a");
var b = document.getElementById("b");
- a.addEventListener("webkitTransitionEnd", endTest, false);
+ a.addEventListener("transitionend", endTest, false);
// Trigger transitions.
a.style.height = "0px";
- b.style.webkitTransform = "translateX(10px)";
+ b.style.transform = "translateX(10px)";
// Force layout.
document.body.offsetHeight;

Powered by Google App Engine
This is Rietveld 408576698