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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/SVGLength-px-with-context-expected.txt

Issue 2271223002: Convert LayoutTests/svg/dom/SVGLength*.html js-tests.js tests to testharness.js based tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved length to local Created 4 years, 3 months 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: third_party/WebKit/LayoutTests/svg/dom/SVGLength-px-with-context-expected.txt
diff --git a/third_party/WebKit/LayoutTests/svg/dom/SVGLength-px-with-context-expected.txt b/third_party/WebKit/LayoutTests/svg/dom/SVGLength-px-with-context-expected.txt
deleted file mode 100644
index e1833e0405bec168d41c7d4479bc091a4390db38..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/SVGLength-px-with-context-expected.txt
+++ /dev/null
@@ -1,92 +0,0 @@
-This test checks SVGLength - converting from px to all other unit types
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-
-Set value to be 2px
-PASS length.unitType is SVGLength.SVG_LENGTHTYPE_PX
-PASS length.value is 2
-PASS length.valueInSpecifiedUnits is 2
-PASS length.valueAsString is "2px"
-
-Convert from px to unitless
-PASS length.convertToSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_NUMBER) is undefined.
-PASS length.valueAsString is "2"
-PASS length.value is 2
-PASS length.valueInSpecifiedUnits is 2
-PASS length.unitType is SVGLength.SVG_LENGTHTYPE_NUMBER
-
-Reset to 2px
-
-Convert from px to percentage
-PASS length.convertToSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PERCENTAGE) is undefined.
-PASS length.valueAsString is "1.33333%"
-PASS length.valueInSpecifiedUnits.toFixed(5) is "1.33333"
-PASS length.value.toFixed(1) is "2.0"
-PASS length.unitType is SVGLength.SVG_LENGTHTYPE_PERCENTAGE
-
-Reset to 2px
-
-Convert from px to ems
-PASS length.convertToSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_EMS) is undefined.
-PASS length.valueAsString is "0.166667em"
-PASS length.valueInSpecifiedUnits.toFixed(6) is "0.166667"
-PASS length.value.toFixed(1) is "2.0"
-PASS length.unitType is SVGLength.SVG_LENGTHTYPE_EMS
-
-Reset to 2px
-
-Convert from px to exs
-PASS length.convertToSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_EXS) is undefined.
-PASS length.valueInSpecifiedUnits.toFixed(1) is "0.2"
-PASS length.value.toFixed(1) is "2.0"
-PASS length.unitType is SVGLength.SVG_LENGTHTYPE_EXS
-
-Reset to 2px
-
-Convert from px to cm
-PASS length.convertToSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_CM) is undefined.
-PASS length.valueAsString is "0.0529167cm"
-PASS length.valueInSpecifiedUnits.toFixed(7) is "0.0529167"
-PASS length.value.toFixed(1) is "2.0"
-PASS length.unitType is SVGLength.SVG_LENGTHTYPE_CM
-
-Reset to 2px
-
-Convert from px to mm
-PASS length.convertToSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_MM) is undefined.
-PASS length.valueAsString is "0.529167mm"
-PASS length.valueInSpecifiedUnits.toFixed(6) is "0.529167"
-PASS length.value.toFixed(1) is "2.0"
-PASS length.unitType is SVGLength.SVG_LENGTHTYPE_MM
-
-Reset to 2px
-
-Convert from px to in
-PASS length.convertToSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_IN) is undefined.
-PASS length.valueAsString is "0.0208333in"
-PASS length.valueInSpecifiedUnits.toFixed(7) is "0.0208333"
-PASS length.value.toFixed(1) is "2.0"
-PASS length.unitType is SVGLength.SVG_LENGTHTYPE_IN
-
-Reset to 2px
-
-Convert from px to pt
-PASS length.convertToSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PT) is undefined.
-PASS length.valueAsString is "1.5pt"
-PASS length.valueInSpecifiedUnits is 1.5
-PASS length.value.toFixed(1) is "2.0"
-PASS length.unitType is SVGLength.SVG_LENGTHTYPE_PT
-
-Reset to 2px
-
-Convert from px to pc
-PASS length.convertToSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PC) is undefined.
-PASS length.valueInSpecifiedUnits.toFixed(3) is "0.125"
-PASS length.value.toFixed(1) is "2.0"
-PASS length.unitType is SVGLength.SVG_LENGTHTYPE_PC
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698