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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGGradientElement-expected.txt

Issue 2416163002: Convert LayoutTests/svg/dom/SVGAnimatedEnumeration*.html js-tests.js to testharness.js based tests. (Closed)
Patch Set: Created 4 years, 2 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/SVGAnimatedEnumeration-SVGGradientElement-expected.txt
diff --git a/third_party/WebKit/LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGGradientElement-expected.txt b/third_party/WebKit/LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGGradientElement-expected.txt
deleted file mode 100644
index 744045505c838f3118957b1c3eabadf5976d1284..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGGradientElement-expected.txt
+++ /dev/null
@@ -1,66 +0,0 @@
-This test checks the use of SVGAnimatedEnumeration within SVGGradientElement
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-
-Check initial 'gradientUnits' value
-PASS gradientElement.gradientUnits.toString() is "[object SVGAnimatedEnumeration]"
-PASS typeof(gradientElement.gradientUnits.baseVal) is "number"
-PASS gradientElement.gradientUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE
-
-Switch to 'objectBoundingBox'
-PASS gradientElement.gradientUnits.baseVal = SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX
-PASS gradientElement.gradientUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX
-PASS gradientElement.getAttribute('gradientUnits') is "objectBoundingBox"
-
-Try setting invalid values
-PASS gradientElement.gradientUnits.baseVal = 3 threw exception TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided (3) is larger than the largest allowed value (2)..
-PASS gradientElement.gradientUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX
-PASS gradientElement.getAttribute('gradientUnits') is "objectBoundingBox"
-PASS gradientElement.gradientUnits.baseVal = -1 threw exception TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided (65535) is larger than the largest allowed value (2)..
-PASS gradientElement.gradientUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX
-PASS gradientElement.getAttribute('gradientUnits') is "objectBoundingBox"
-PASS gradientElement.gradientUnits.baseVal = 0 threw exception TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided is 0, which is not settable..
-PASS gradientElement.gradientUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX
-PASS gradientElement.getAttribute('gradientUnits') is "objectBoundingBox"
-
-Switch to 'userSpaceOnUse'
-PASS gradientElement.gradientUnits.baseVal = SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE is SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE
-PASS gradientElement.gradientUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE
-PASS gradientElement.getAttribute('gradientUnits') is "userSpaceOnUse"
-
-Check initial 'spreadMethod' value
-PASS gradientElement.spreadMethod.toString() is "[object SVGAnimatedEnumeration]"
-PASS typeof(gradientElement.spreadMethod.baseVal) is "number"
-PASS gradientElement.spreadMethod.baseVal is SVGGradientElement.SVG_SPREADMETHOD_PAD
-
-Switch to 'reflect' value
-PASS gradientElement.spreadMethod.baseVal = SVGGradientElement.SVG_SPREADMETHOD_REFLECT is SVGGradientElement.SVG_SPREADMETHOD_REFLECT
-PASS gradientElement.spreadMethod.baseVal is SVGGradientElement.SVG_SPREADMETHOD_REFLECT
-PASS gradientElement.getAttribute('spreadMethod') is "reflect"
-
-Switch to 'repeat' value
-PASS gradientElement.spreadMethod.baseVal = SVGGradientElement.SVG_SPREADMETHOD_REPEAT is SVGGradientElement.SVG_SPREADMETHOD_REPEAT
-PASS gradientElement.spreadMethod.baseVal is SVGGradientElement.SVG_SPREADMETHOD_REPEAT
-PASS gradientElement.getAttribute('spreadMethod') is "repeat"
-
-Try setting invalid values
-PASS gradientElement.spreadMethod.baseVal = 4 threw exception TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided (4) is larger than the largest allowed value (3)..
-PASS gradientElement.spreadMethod.baseVal is SVGGradientElement.SVG_SPREADMETHOD_REPEAT
-PASS gradientElement.getAttribute('spreadMethod') is "repeat"
-PASS gradientElement.spreadMethod.baseVal = -1 threw exception TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided (65535) is larger than the largest allowed value (3)..
-PASS gradientElement.spreadMethod.baseVal is SVGGradientElement.SVG_SPREADMETHOD_REPEAT
-PASS gradientElement.getAttribute('spreadMethod') is "repeat"
-PASS gradientElement.spreadMethod.baseVal = 0 threw exception TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided is 0, which is not settable..
-PASS gradientElement.spreadMethod.baseVal is SVGGradientElement.SVG_SPREADMETHOD_REPEAT
-PASS gradientElement.getAttribute('spreadMethod') is "repeat"
-
-Switch to 'pad'
-PASS gradientElement.spreadMethod.baseVal = SVGGradientElement.SVG_SPREADMETHOD_PAD is SVGGradientElement.SVG_SPREADMETHOD_PAD
-PASS gradientElement.spreadMethod.baseVal is SVGGradientElement.SVG_SPREADMETHOD_PAD
-PASS gradientElement.getAttribute('spreadMethod') is "pad"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698