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

Unified Diff: LayoutTests/svg/dom/SVGLength-expected.txt

Issue 1234383003: Removing TreatNullAs=NullString from SVGAngle.valueAsString and SVGLength.valueAsString attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « LayoutTests/svg/dom/SVGAngle-expected.txt ('k') | LayoutTests/svg/dom/script-tests/SVGAngle.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/SVGLength-expected.txt
diff --git a/LayoutTests/svg/dom/SVGLength-expected.txt b/LayoutTests/svg/dom/SVGLength-expected.txt
index 5ac2b821f0cbe80d8d00fc9c44ba7bfd025491d8..e6de085cf9295569d46082251d776b6039d5f87b 100644
--- a/LayoutTests/svg/dom/SVGLength-expected.txt
+++ b/LayoutTests/svg/dom/SVGLength-expected.txt
@@ -72,6 +72,11 @@ PASS length.valueAsString is "2px"
PASS length.value is 2
PASS length.valueInSpecifiedUnits is 2
PASS length.unitType is SVGLength.SVG_LENGTHTYPE_PX
+PASS length.valueAsString = null threw exception SyntaxError: Failed to set the 'valueAsString' property on 'SVGLength': The value provided ('null') is invalid..
+PASS length.valueAsString is "2px"
+PASS length.value is 2
+PASS length.valueInSpecifiedUnits is 2
+PASS length.unitType is SVGLength.SVG_LENGTHTYPE_PX
Check setting invalid 'value' arguments
PASS length.value = NaN threw exception TypeError: Failed to set the 'value' property on 'SVGLength': The provided float value is non-finite..
« no previous file with comments | « LayoutTests/svg/dom/SVGAngle-expected.txt ('k') | LayoutTests/svg/dom/script-tests/SVGAngle.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698