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

Unified Diff: LayoutTests/animations/fill-mode-removed.html

Issue 707713005: Don't require getPropertyCSSValue in animation fill-mode tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « LayoutTests/animations/fill-mode-multiple-keyframes.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/fill-mode-removed.html
diff --git a/LayoutTests/animations/fill-mode-removed.html b/LayoutTests/animations/fill-mode-removed.html
index 35e6fa3724d48d23b1fa2d4c3ccc222aa366a4a3..4f36717aaa3f12b19033de228b0663664b964235 100644
--- a/LayoutTests/animations/fill-mode-removed.html
+++ b/LayoutTests/animations/fill-mode-removed.html
@@ -67,7 +67,7 @@
for (var i=0; i < expectedEndValues.length; i++) {
var el = document.getElementById(expectedEndValues[i].id);
var expectedValue = expectedEndValues[i].value;
- var realValue = window.getComputedStyle(el).getPropertyCSSValue("left").getFloatValue(CSSPrimitiveValue.CSS_NUMBER);
+ var realValue = parseFloat(window.getComputedStyle(el).left);
if (Math.abs(expectedValue - realValue) < 5) {
result += "PASS";
} else {
« no previous file with comments | « LayoutTests/animations/fill-mode-multiple-keyframes.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698