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

Unified Diff: LayoutTests/svg/animations/animate-css-xml-attributeType-expected.txt

Issue 700843006: Don't require getPropertyCSSValue in svg 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
Index: LayoutTests/svg/animations/animate-css-xml-attributeType-expected.txt
diff --git a/LayoutTests/svg/animations/animate-css-xml-attributeType-expected.txt b/LayoutTests/svg/animations/animate-css-xml-attributeType-expected.txt
index 01ede85ff62800014f690f5d8a8d46a4146410ac..a5fc88b99e21acab26f6fa3801869b5ee891899a 100644
--- a/LayoutTests/svg/animations/animate-css-xml-attributeType-expected.txt
+++ b/LayoutTests/svg/animations/animate-css-xml-attributeType-expected.txt
@@ -9,9 +9,9 @@ PASS rect.x.animVal.value is 100
PASS rect.x.baseVal.value is 100
PASS rect.x.animVal.value is 300
PASS rect.x.animVal.value is 100
-PASS getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0.8
+PASS parseFloat(getComputedStyle(rect).opacity) is 0.8
PASS rect.x.animVal.value is 100
-FAIL getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER) should be close to 1. Was 0.800000011920929.
+FAIL parseFloat(getComputedStyle(rect).opacity) should be close to 1. Was 0.800000011920929.
PASS rect.x.animVal.value is 200
PASS rect.x.baseVal.value is 100
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698