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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/SVGAnimatedInteger-expected.txt

Issue 2705293005: Convert LayoutTests/svg/dom/SVGAnimated*.html js-tests.js to testharness.js based tests. (Closed)
Patch Set: Align with review comments Created 3 years, 10 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
(Empty)
1 This test checks the SVGAnimatedInteger API - utilizing the targetX property of SVGFEConvolveMatrix
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 Check initial targetX value
8 PASS feConvolveMatrix.targetX.toString() is "[object SVGAnimatedInteger]"
9 PASS typeof(feConvolveMatrix.targetX.baseVal) is "number"
10 PASS feConvolveMatrix.targetX.baseVal is 0
11
12 Check that integers are static, caching value in a local variable and modifying it, should have no effect
13 PASS numRef is 100
14 PASS feConvolveMatrix.targetX.baseVal is 0
15
16 Check assigning various valid and invalid values
17 PASS feConvolveMatrix.targetX.baseVal = -1 is -1
18 PASS feConvolveMatrix.targetX.baseVal = 300 is 300
19 PASS feConvolveMatrix.targetX.baseVal = 'aString' is 'aString'
20 PASS feConvolveMatrix.targetX.baseVal is 0
21 PASS feConvolveMatrix.targetX.baseVal = feConvolveMatrix is feConvolveMatrix
22 PASS feConvolveMatrix.targetX.baseVal is 0
23 PASS feConvolveMatrix.targetX.baseVal = 300 is 300
24
25 Check that the targetX value remained 300
26 PASS feConvolveMatrix.targetX.baseVal is 300
27 PASS successfullyParsed is true
28
29 TEST COMPLETE
30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698