| Index: third_party/WebKit/LayoutTests/svg/css/glyph-orientation-rounding-test-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/svg/css/glyph-orientation-rounding-test-expected.txt b/third_party/WebKit/LayoutTests/svg/css/glyph-orientation-rounding-test-expected.txt
|
| deleted file mode 100644
|
| index a02872d3e2b4018aa5aa2741ee9614057c971f55..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/svg/css/glyph-orientation-rounding-test-expected.txt
|
| +++ /dev/null
|
| @@ -1,320 +0,0 @@
|
| -Stress test glyph-orientation SVG CSS properties
|
| -
|
| -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 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 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 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 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 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 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 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 parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
|
| -
|
| -Test angleValue: '270.1 0.2'
|
| -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 parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
|
| -
|
| -Test angleValue: '-0.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
|
| -
|
| -Test angleValue: '-10.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
|
| -
|
| -Test angleValue: '-10.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
|
| -
|
| -Test angleValue: '-45.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
|
| -
|
| -Test angleValue: '-45.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
|
| -
|
| -Test angleValue: '0.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
|
| -
|
| -Test angleValue: '0.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
|
| -
|
| -Test angleValue: '10.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
|
| -
|
| -Test angleValue: '10.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
|
| -
|
| -Test angleValue: '45.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
|
| -
|
| -Test angleValue: '45.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
|
| -
|
| -Test angleValue: '-90.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
|
| -
|
| -Test angleValue: '-90.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
|
| -
|
| -Test angleValue: '-100.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
|
| -
|
| -Test angleValue: '-100.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
|
| -
|
| -Test angleValue: '-135.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
|
| -
|
| -Test angleValue: '-135.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
|
| -
|
| -Test angleValue: '90.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
|
| -
|
| -Test angleValue: '90.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
|
| -
|
| -Test angleValue: '100.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
|
| -
|
| -Test angleValue: '100.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
|
| -
|
| -Test angleValue: '135.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
|
| -
|
| -Test angleValue: '135.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
|
| -
|
| -Test angleValue: '-180.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
|
| -
|
| -Test angleValue: '-180.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
|
| -
|
| -Test angleValue: '-190.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
|
| -
|
| -Test angleValue: '-190.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
|
| -
|
| -Test angleValue: '-225.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
|
| -
|
| -Test angleValue: '-225.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
|
| -
|
| -Test angleValue: '180.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
|
| -
|
| -Test angleValue: '180.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
|
| -
|
| -Test angleValue: '190.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
|
| -
|
| -Test angleValue: '190.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
|
| -
|
| -Test angleValue: '225.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
|
| -
|
| -Test angleValue: '225.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
|
| -
|
| -Test angleValue: '-270.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
|
| -
|
| -Test angleValue: '-270.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
|
| -
|
| -Test angleValue: '-280.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
|
| -
|
| -Test angleValue: '-280.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
|
| -
|
| -Test angleValue: '-305.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
|
| -
|
| -Test angleValue: '-305.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
|
| -
|
| -Test angleValue: '270.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
|
| -
|
| -Test angleValue: '270.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
|
| -
|
| -Test angleValue: '280.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
|
| -
|
| -Test angleValue: '280.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
|
| -
|
| -Test angleValue: '305.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
|
| -
|
| -Test angleValue: '305.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
|
| -
|
| -Tests angles bigger than 360.
|
| -
|
| -Test angleValue: '449.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
|
| -
|
| -Test angleValue: '449.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
|
| -
|
| -Test angleValue: '450.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
|
| -
|
| -Test angleValue: '450.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
|
| -
|
| -Test angleValue: '451.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
|
| -
|
| -Test angleValue: '451.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
|
| -
|
| -Test angleValue: '539.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
|
| -
|
| -Test angleValue: '539.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
|
| -
|
| -Test angleValue: '540.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
|
| -
|
| -Test angleValue: '540.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
|
| -
|
| -Test angleValue: '541.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
|
| -
|
| -Test angleValue: '541.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
|
| -
|
| -Test angleValue: '629.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
|
| -
|
| -Test angleValue: '629.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
|
| -
|
| -Test angleValue: '630.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
|
| -
|
| -Test angleValue: '630.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
|
| -
|
| -Test angleValue: '631.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
|
| -
|
| -Test angleValue: '631.0'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
|
| -
|
| -Tests whitespace before/after angle value.
|
| -
|
| -Test angleValue: ' .0 '
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
|
| -
|
| -Test angleValue: ' .0 '
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
|
| -
|
| -Test angleValue: ' 0 '
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
|
| -
|
| -Test angleValue: ' 0 '
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
|
| -
|
| -Test angleValue: ' 90.0 '
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
|
| -
|
| -Test angleValue: ' 90.0 '
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
|
| -
|
| -Test angleValue: ' 180.0 '
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
|
| -
|
| -Test angleValue: ' 180.0 '
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
|
| -
|
| -Test angleValue: ' 270.0 '
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 270
|
| -
|
| -Test angleValue: ' 270.0 '
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 270
|
| -
|
| -Tests rounding of fractional angle values.
|
| -
|
| -Test angleValue: '45.0000'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 0
|
| -
|
| -Test angleValue: '45.0000'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 0
|
| -
|
| -Test angleValue: '45.0001'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
|
| -
|
| -Test angleValue: '45.0001'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
|
| -
|
| -Test angleValue: '135.000'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 90
|
| -
|
| -Test angleValue: '135.000'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 90
|
| -
|
| -Test angleValue: '135.001'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-horizontal')) is 180
|
| -
|
| -Test angleValue: '135.001'
|
| -PASS parseFloat(computedStyle.getPropertyValue('glyph-orientation-vertical')) is 180
|
| -
|
| -PASS successfullyParsed is true
|
| -
|
| -TEST COMPLETE
|
| -
|
|
|