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

Unified Diff: third_party/WebKit/LayoutTests/transitions/inherit.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/inherit.html
diff --git a/third_party/WebKit/LayoutTests/transitions/inherit.html b/third_party/WebKit/LayoutTests/transitions/inherit.html
index 28f2eaba41eb607b0a76d101d0b4e654b54f2bb0..612cb918cf365c60aa7d4731cc6b6972d5be06a5 100644
--- a/third_party/WebKit/LayoutTests/transitions/inherit.html
+++ b/third_party/WebKit/LayoutTests/transitions/inherit.html
@@ -10,11 +10,11 @@
background-color: blue;
}
.transition {
- -webkit-transition-property: left;
- -webkit-transition-duration: 2s;
+ transition-property: left;
+ transition-duration: 2s;
}
#box4 {
- -webkit-transition-property: inherit;
+ transition-property: inherit;
}
</style>
<script>
@@ -39,7 +39,7 @@
var boxes = document.body.getElementsByClassName('box');
for (var i = 0; i < boxes.length; ++i) {
var curBox = boxes[i];
- var curProp = getComputedStyle(curBox).webkitTransitionProperty;
+ var curProp = getComputedStyle(curBox).transitionProperty;
if (curProp == kExpecteds[i])
result += "PASS: ";
else

Powered by Google App Engine
This is Rietveld 408576698