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

Unified Diff: LayoutTests/svg/css/glyph-orientation-rounding-test.xhtml

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/css/glyph-orientation-rounding-test.xhtml
diff --git a/LayoutTests/svg/css/glyph-orientation-rounding-test.xhtml b/LayoutTests/svg/css/glyph-orientation-rounding-test.xhtml
index 88b4943e248da41890bf2e6033e674f87b64b775..92939a06b5f1c2f02f6d9771aa754c8a5f1cfb6c 100644
--- a/LayoutTests/svg/css/glyph-orientation-rounding-test.xhtml
+++ b/LayoutTests/svg/css/glyph-orientation-rounding-test.xhtml
@@ -20,7 +20,7 @@ function parseGlyphOrientationHelper(property, angleValue, expectedValue)
if (expectedValue == "auto") {
shouldBe("computedStyle.getPropertyValue('" + property + "')", '"auto"');
} else {
- shouldBe("computedStyle.getPropertyCSSValue('" + property + "').getFloatValue(CSSPrimitiveValue.CSS_DEG)", "" + expectedValue);
+ shouldBe("parseFloat(computedStyle.getPropertyValue('" + property + "'))", "" + expectedValue);
}
debug("");

Powered by Google App Engine
This is Rietveld 408576698