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

Side by Side Diff: LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGClipPathElement-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This test checks the use of SVGAnimatedEnumeration within SVGClipPathElement 1 This test checks the use of SVGAnimatedEnumeration within SVGClipPathElement
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 6
7 Check initial 'clipPathUnits' value 7 Check initial 'clipPathUnits' value
8 PASS clipPathElement.clipPathUnits.toString() is "[object SVGAnimatedEnumeration ]" 8 PASS clipPathElement.clipPathUnits.toString() is "[object SVGAnimatedEnumeration ]"
9 PASS typeof(clipPathElement.clipPathUnits.baseVal) is "number" 9 PASS typeof(clipPathElement.clipPathUnits.baseVal) is "number"
10 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE 10 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE
11 11
12 Switch to 'objectBoundingBox' 12 Switch to 'objectBoundingBox'
13 PASS clipPathElement.clipPathUnits.baseVal = SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBO UNDINGBOX is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX 13 PASS clipPathElement.clipPathUnits.baseVal = SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBO UNDINGBOX is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX
14 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTB OUNDINGBOX 14 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTB OUNDINGBOX
15 PASS clipPathElement.getAttribute('clipPathUnits') is "objectBoundingBox" 15 PASS clipPathElement.getAttribute('clipPathUnits') is "objectBoundingBox"
16 16
17 Try setting invalid values 17 Try setting invalid values
18 PASS clipPathElement.clipPathUnits.baseVal = 3 threw exception Error: SVG_INVALI D_VALUE_ERR: DOM SVG Exception 1. 18 PASS clipPathElement.clipPathUnits.baseVal = 3 threw exception SVG_INVALID_VALUE _ERR: An invalid value was passed to an operation or assigned to an attribute..
19 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTB OUNDINGBOX 19 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTB OUNDINGBOX
20 PASS clipPathElement.getAttribute('clipPathUnits') is "objectBoundingBox" 20 PASS clipPathElement.getAttribute('clipPathUnits') is "objectBoundingBox"
21 PASS clipPathElement.clipPathUnits.baseVal = -1 threw exception Error: SVG_INVAL ID_VALUE_ERR: DOM SVG Exception 1. 21 PASS clipPathElement.clipPathUnits.baseVal = -1 threw exception SVG_INVALID_VALU E_ERR: An invalid value was passed to an operation or assigned to an attribute..
22 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTB OUNDINGBOX 22 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTB OUNDINGBOX
23 PASS clipPathElement.getAttribute('clipPathUnits') is "objectBoundingBox" 23 PASS clipPathElement.getAttribute('clipPathUnits') is "objectBoundingBox"
24 PASS clipPathElement.clipPathUnits.baseVal = 0 threw exception Error: SVG_INVALI D_VALUE_ERR: DOM SVG Exception 1. 24 PASS clipPathElement.clipPathUnits.baseVal = 0 threw exception SVG_INVALID_VALUE _ERR: An invalid value was passed to an operation or assigned to an attribute..
25 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTB OUNDINGBOX 25 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTB OUNDINGBOX
26 PASS clipPathElement.getAttribute('clipPathUnits') is "objectBoundingBox" 26 PASS clipPathElement.getAttribute('clipPathUnits') is "objectBoundingBox"
27 27
28 Switch to 'userSpaceOnUse' 28 Switch to 'userSpaceOnUse'
29 PASS clipPathElement.clipPathUnits.baseVal = SVGUnitTypes.SVG_UNIT_TYPE_USERSPAC EONUSE is SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE 29 PASS clipPathElement.clipPathUnits.baseVal = SVGUnitTypes.SVG_UNIT_TYPE_USERSPAC EONUSE is SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE
30 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE 30 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE
31 PASS clipPathElement.getAttribute('clipPathUnits') is "userSpaceOnUse" 31 PASS clipPathElement.getAttribute('clipPathUnits') is "userSpaceOnUse"
32 PASS successfullyParsed is true 32 PASS successfullyParsed is true
33 33
34 TEST COMPLETE 34 TEST COMPLETE
35 35
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698