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

Unified Diff: LayoutTests/svg/animations/change-css-property-while-animating-fill-freeze-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/change-css-property-while-animating-fill-freeze-expected.txt
diff --git a/LayoutTests/svg/animations/change-css-property-while-animating-fill-freeze-expected.txt b/LayoutTests/svg/animations/change-css-property-while-animating-fill-freeze-expected.txt
index 331b6576ebbf47b4436f4e5da4c65d9beb043df9..e30b77c57b935e7042b26edb9798d255538e0e4b 100644
--- a/LayoutTests/svg/animations/change-css-property-while-animating-fill-freeze-expected.txt
+++ b/LayoutTests/svg/animations/change-css-property-while-animating-fill-freeze-expected.txt
@@ -6,12 +6,12 @@ This tests scripting a CSS property while animation is running
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
-PASS getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0.25
-PASS getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0.25
-PASS getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0.5
-PASS getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0.5
-PASS getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0.5
+PASS parseFloat(getComputedStyle(rect).opacity) is 0
+PASS parseFloat(getComputedStyle(rect).opacity) is 0.25
+PASS parseFloat(getComputedStyle(rect).opacity) is 0.25
+PASS parseFloat(getComputedStyle(rect).opacity) is 0.5
+PASS parseFloat(getComputedStyle(rect).opacity) is 0.5
+PASS parseFloat(getComputedStyle(rect).opacity) is 0.5
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698