Index: third_party/WebKit/LayoutTests/svg/dom/SVGLength-viewport-units-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/svg/dom/SVGLength-viewport-units-expected.txt b/third_party/WebKit/LayoutTests/svg/dom/SVGLength-viewport-units-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bc3623b79b848a961630706df0ab84958a22f453 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/dom/SVGLength-viewport-units-expected.txt |
@@ -0,0 +1,41 @@ |
+This test checks the Viewport Units for SVGLength |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+ |
+Tests the vw unit |
+PASS svgElement.width.baseVal.value is 10 * viewportWidthPercent() |
+PASS svgElement.width.baseVal.valueInSpecifiedUnits is 10 |
+PASS svgElement.width.baseVal.valueAsString = '2vw' threw exception SyntaxError: Failed to set the 'valueAsString' property on 'SVGLength': The value provided ('2vw') is invalid.. |
+PASS svgElement.width.baseVal.valueInSpecifiedUnits = '2' did not throw exception. |
+PASS svgElement.width.baseVal.value is 2 * viewportWidthPercent() |
+PASS svgElement.width.baseVal.unitType is SVGLength.SVG_LENGTHTYPE_UNKNOWN |
+ |
+Tests the vh unit |
+PASS svgElement.width.baseVal.value is 10 * viewportHeightPercent() |
+PASS svgElement.width.baseVal.valueInSpecifiedUnits is 10 |
+PASS svgElement.width.baseVal.valueAsString = '2vh' threw exception SyntaxError: Failed to set the 'valueAsString' property on 'SVGLength': The value provided ('2vh') is invalid.. |
+PASS svgElement.width.baseVal.valueInSpecifiedUnits = '2' did not throw exception. |
+PASS svgElement.width.baseVal.value is 2 * viewportHeightPercent() |
+PASS svgElement.width.baseVal.unitType is SVGLength.SVG_LENGTHTYPE_UNKNOWN |
+ |
+Tests the vmin unit |
+PASS svgElement.width.baseVal.value is 10 * viewportMinPercent() |
+PASS svgElement.width.baseVal.valueInSpecifiedUnits is 10 |
+PASS svgElement.width.baseVal.valueAsString = '2vmin' threw exception SyntaxError: Failed to set the 'valueAsString' property on 'SVGLength': The value provided ('2vmin') is invalid.. |
+PASS svgElement.width.baseVal.valueInSpecifiedUnits = '2' did not throw exception. |
+PASS svgElement.width.baseVal.value is 2 * viewportMinPercent() |
+PASS svgElement.width.baseVal.unitType is SVGLength.SVG_LENGTHTYPE_UNKNOWN |
+ |
+Tests the vmax unit |
+PASS svgElement.width.baseVal.value is 10 * viewportMaxPercent() |
+PASS svgElement.width.baseVal.valueInSpecifiedUnits is 10 |
+PASS svgElement.width.baseVal.valueAsString = '2vmax' threw exception SyntaxError: Failed to set the 'valueAsString' property on 'SVGLength': The value provided ('2vmax') is invalid.. |
+PASS svgElement.width.baseVal.valueInSpecifiedUnits = '2' did not throw exception. |
+PASS svgElement.width.baseVal.value is 2 * viewportMaxPercent() |
+PASS svgElement.width.baseVal.unitType is SVGLength.SVG_LENGTHTYPE_UNKNOWN |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |