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

Unified Diff: LayoutTests/svg/css/glyph-orientation-rounding-test-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/css/glyph-orientation-rounding-test-expected.txt
diff --git a/LayoutTests/svg/css/glyph-orientation-rounding-test-expected.txt b/LayoutTests/svg/css/glyph-orientation-rounding-test-expected.txt
index f692023b722756fc20c4c7ee0edb77da5d2209bb..a02872d3e2b4018aa5aa2741ee9614057c971f55 100644
--- a/LayoutTests/svg/css/glyph-orientation-rounding-test-expected.txt
+++ b/LayoutTests/svg/css/glyph-orientation-rounding-test-expected.txt
@@ -7,49 +7,49 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Strings that fail to parse, and hence parse as "0" for horziontal and "auto" as vertical.
Test angleValue: ' 0,1'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: ' 0,1'
PASS computedStyle.getPropertyValue('glyph-orientation-vertical') is "auto"
Test angleValue: ' 0,00000.1'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: ' 0,00000.1'
PASS computedStyle.getPropertyValue('glyph-orientation-vertical') is "auto"
Test angleValue: ' 0 1'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: ' 0 1'
PASS computedStyle.getPropertyValue('glyph-orientation-vertical') is "auto"
Test angleValue: '0.1 0.2'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: '0.1 0.2'
PASS computedStyle.getPropertyValue('glyph-orientation-vertical') is "auto"
Test angleValue: ' 270,1'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: ' 270,1'
PASS computedStyle.getPropertyValue('glyph-orientation-vertical') is "auto"
Test angleValue: ' 270,00000.1'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: ' 270,00000.1'
PASS computedStyle.getPropertyValue('glyph-orientation-vertical') is "auto"
Test angleValue: ' 270 1'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: ' 270 1'
PASS computedStyle.getPropertyValue('glyph-orientation-vertical') is "auto"
Test angleValue: '270.1 0.2'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: '270.1 0.2'
PASS computedStyle.getPropertyValue('glyph-orientation-vertical') is "auto"
@@ -57,262 +57,262 @@ PASS computedStyle.getPropertyValue('glyph-orientation-vertical') is "auto"
This tests the rounding of glyph orientation values to the only allowed values 0, 90, 180, 270.
Test angleValue: '-0.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: '-0.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
Test angleValue: '-10.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: '-10.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
Test angleValue: '-45.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: '-45.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
Test angleValue: '0.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: '0.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
Test angleValue: '10.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: '10.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
Test angleValue: '45.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: '45.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
Test angleValue: '-90.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
Test angleValue: '-90.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
Test angleValue: '-100.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
Test angleValue: '-100.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
Test angleValue: '-135.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
Test angleValue: '-135.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
Test angleValue: '90.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
Test angleValue: '90.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
Test angleValue: '100.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
Test angleValue: '100.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
Test angleValue: '135.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
Test angleValue: '135.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
Test angleValue: '-180.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
Test angleValue: '-180.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
Test angleValue: '-190.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
Test angleValue: '-190.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
Test angleValue: '-225.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
Test angleValue: '-225.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
Test angleValue: '180.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
Test angleValue: '180.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
Test angleValue: '190.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
Test angleValue: '190.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
Test angleValue: '225.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
Test angleValue: '225.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
Test angleValue: '-270.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
Test angleValue: '-270.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
Test angleValue: '-280.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
Test angleValue: '-280.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
Test angleValue: '-305.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
Test angleValue: '-305.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
Test angleValue: '270.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
Test angleValue: '270.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
Test angleValue: '280.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
Test angleValue: '280.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
Test angleValue: '305.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
Test angleValue: '305.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
Tests angles bigger than 360.
Test angleValue: '449.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
Test angleValue: '449.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
Test angleValue: '450.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
Test angleValue: '450.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
Test angleValue: '451.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
Test angleValue: '451.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
Test angleValue: '539.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
Test angleValue: '539.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
Test angleValue: '540.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
Test angleValue: '540.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
Test angleValue: '541.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
Test angleValue: '541.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
Test angleValue: '629.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
Test angleValue: '629.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
Test angleValue: '630.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
Test angleValue: '630.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
Test angleValue: '631.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
Test angleValue: '631.0'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
Tests whitespace before/after angle value.
Test angleValue: ' .0 '
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: ' .0 '
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
Test angleValue: ' 0 '
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: ' 0 '
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
Test angleValue: ' 90.0 '
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
Test angleValue: ' 90.0 '
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
Test angleValue: ' 180.0 '
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
Test angleValue: ' 180.0 '
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
Test angleValue: ' 270.0 '
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
Test angleValue: ' 270.0 '
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 270
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
Tests rounding of fractional angle values.
Test angleValue: '45.0000'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
Test angleValue: '45.0000'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 0
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
Test angleValue: '45.0001'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
Test angleValue: '45.0001'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
Test angleValue: '135.000'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
Test angleValue: '135.000'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 90
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
Test angleValue: '135.001'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-horizontal').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
Test angleValue: '135.001'
-PASS computedStyle.getPropertyCSSValue('glyph-orientation-vertical').getFloatValue(CSSPrimitiveValue.CSS_DEG) is 180
+PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/svg/css/glyph-orientation-rounding-test.xhtml ('k') | LayoutTests/svg/css/rect-system-color.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698