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

Side by Side Diff: LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFEBlendElement-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 SVGFEBlendElement 1 This test checks the use of SVGAnimatedEnumeration within SVGFEBlendElement
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 'mode' value 7 Check initial 'mode' value
8 PASS feBlendElement.mode.toString() is "[object SVGAnimatedEnumeration]" 8 PASS feBlendElement.mode.toString() is "[object SVGAnimatedEnumeration]"
9 PASS typeof(feBlendElement.mode.baseVal) is "number" 9 PASS typeof(feBlendElement.mode.baseVal) is "number"
10 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL 10 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL
(...skipping 12 matching lines...) Expand all
23 PASS feBlendElement.mode.baseVal = SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN is SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN 23 PASS feBlendElement.mode.baseVal = SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN is SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN
24 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN 24 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN
25 PASS feBlendElement.getAttribute('mode') is "darken" 25 PASS feBlendElement.getAttribute('mode') is "darken"
26 26
27 Switch to 'lighten' 27 Switch to 'lighten'
28 PASS feBlendElement.mode.baseVal = SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN 28 PASS feBlendElement.mode.baseVal = SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN
29 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN 29 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN
30 PASS feBlendElement.getAttribute('mode') is "lighten" 30 PASS feBlendElement.getAttribute('mode') is "lighten"
31 31
32 Try setting invalid values 32 Try setting invalid values
33 PASS feBlendElement.mode.baseVal = 6 threw exception Error: SVG_INVALID_VALUE_ER R: DOM SVG Exception 1. 33 PASS feBlendElement.mode.baseVal = 6 threw exception SVG_INVALID_VALUE_ERR: An i nvalid value was passed to an operation or assigned to an attribute..
34 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN 34 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN
35 PASS feBlendElement.getAttribute('mode') is "lighten" 35 PASS feBlendElement.getAttribute('mode') is "lighten"
36 PASS feBlendElement.mode.baseVal = -1 threw exception Error: SVG_INVALID_VALUE_E RR: DOM SVG Exception 1. 36 PASS feBlendElement.mode.baseVal = -1 threw exception SVG_INVALID_VALUE_ERR: An invalid value was passed to an operation or assigned to an attribute..
37 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN 37 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN
38 PASS feBlendElement.getAttribute('mode') is "lighten" 38 PASS feBlendElement.getAttribute('mode') is "lighten"
39 PASS feBlendElement.mode.baseVal = 0 threw exception Error: SVG_INVALID_VALUE_ER R: DOM SVG Exception 1. 39 PASS feBlendElement.mode.baseVal = 0 threw exception SVG_INVALID_VALUE_ERR: An i nvalid value was passed to an operation or assigned to an attribute..
40 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN 40 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN
41 PASS feBlendElement.getAttribute('mode') is "lighten" 41 PASS feBlendElement.getAttribute('mode') is "lighten"
42 42
43 Switch to 'normal' 43 Switch to 'normal'
44 PASS feBlendElement.mode.baseVal = SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL is SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL 44 PASS feBlendElement.mode.baseVal = SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL is SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL
45 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL 45 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL
46 PASS feBlendElement.getAttribute('mode') is "normal" 46 PASS feBlendElement.getAttribute('mode') is "normal"
47 PASS successfullyParsed is true 47 PASS successfullyParsed is true
48 48
49 TEST COMPLETE 49 TEST COMPLETE
50 50
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698