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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/SVGAnimatedLength-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 SVGAnimatedLength API - utilizing the width property of SVG RectElement
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 Check initial width value
8 PASS rectElement.width.toString() is "[object SVGAnimatedLength]"
9 PASS rectElement.width.baseVal.toString() is "[object SVGLength]"
10 PASS rectElement.width.baseVal.value is 0
11
12 Check that lengths are dynamic, caching value in a local variable and modifying it, should take effect
13 PASS numRef.value is 100
14 PASS rectElement.width.baseVal.value is 100
15
16 Check that assigning to baseVal has no effect, as no setter is defined
17 PASS rectElement.width.baseVal = -1 is -1
18 PASS rectElement.width.baseVal = 'aString' is "aString"
19 PASS rectElement.width.baseVal = rectElement is rectElement
20
21 Check that the width value remained 100, and the baseVal type has not been chang ed
22 PASS rectElement.width.baseVal.toString() is "[object SVGLength]"
23 PASS rectElement.width.baseVal.value is 100
24 PASS successfullyParsed is true
25
26 TEST COMPLETE
27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698