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

Unified Diff: LayoutTests/svg/animations/svgnumber-animation-2-expected.txt

Issue 705373004: Don't require getPropertyCSSValue in svg number animation 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/svgnumber-animation-2-expected.txt
diff --git a/LayoutTests/svg/animations/svgnumber-animation-2-expected.txt b/LayoutTests/svg/animations/svgnumber-animation-2-expected.txt
index 251a5bd8d4af7f8ed3256010f5ad05135a180a3b..bc7c1b3329906a87473bc0dd85f3b0e83707a42d 100644
--- a/LayoutTests/svg/animations/svgnumber-animation-2-expected.txt
+++ b/LayoutTests/svg/animations/svgnumber-animation-2-expected.txt
@@ -5,10 +5,10 @@ Test for SVGNumber animation with different exponents.
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.5
-PASS getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 1
-PASS getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
+PASS parseFloat(getComputedStyle(rect).opacity) is 0
+PASS parseFloat(getComputedStyle(rect).opacity) is 0.5
+PASS parseFloat(getComputedStyle(rect).opacity) is 1
+PASS parseFloat(getComputedStyle(rect).opacity) is 0
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698