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

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

Issue 2713833002: Convert LayoutTests/svg/dom/SVGAnimated*.html js-tests.js to testharness.js based tests. (Closed)
Patch Set: Created 3 years, 9 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 SVGAnimatedLengthList API - utilizing the dx property of SV GTextElement
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 Check initial dx value
8 PASS textElement.dx.toString() is "[object SVGAnimatedLengthList]"
9 PASS textElement.dx.baseVal.toString() is "[object SVGLengthList]"
10 PASS textElement.dx.baseVal.getItem(0).value is 50
11
12 Check that length lists are dynamic, caching value in a local variable and modif ying it, should take effect
13 PASS numRef.getItem(0).value is 100
14 PASS textElement.dx.baseVal.getItem(0).value is 100
15
16 Check that assigning to baseVal has no effect, as no setter is defined
17 PASS textElement.dx.baseVal = -1 is -1
18 PASS textElement.dx.baseVal = 'aString' is "aString"
19 PASS textElement.dx.baseVal = textElement is textElement
20
21 Check that the dx value remained 100, and the baseVal type has not been changed
22 PASS textElement.dx.baseVal.toString() is "[object SVGLengthList]"
23 PASS textElement.dx.baseVal.getItem(0).value is 100
24 PASS successfullyParsed is true
25
26 TEST COMPLETE
27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698