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

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

Issue 447193002: Add support for additional blend modes to SVGFEBlendElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
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 26 matching lines...) Expand all
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 TypeError: Failed to set th e 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided is 0, which is not settable.. 39 PASS feBlendElement.mode.baseVal = 0 threw exception TypeError: Failed to set th e 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided is 0, which is not settable..
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
48 baseVal access when mode is set to a value not in SVGFEBlendElement.SVG_FEBLEND_ MODE_*.
49 PASS feBlendElement.mode.baseVal is SVGFEBlendElement.SVG_FEBLEND_MODE_UNKNOWN
50 PASS feBlendElement.mode.baseVal = 13 threw exception TypeError: Failed to set t he 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provide d (13) is larger than the largest allowed value (5)..
51 PASS feBlendElement.getAttribute('mode') is "color-dodge"
47 PASS successfullyParsed is true 52 PASS successfullyParsed is true
48 53
49 TEST COMPLETE 54 TEST COMPLETE
50 55
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEBlendElement.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698