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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/SVGLengthList-xml-dom-modifications-expected.txt

Issue 2344403002: Convert LayoutTests/svg/dom/SVGLengthList*.html js-tests.js to testharness.js based tests (Closed)
Patch Set: Align with review comments Created 4 years, 3 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 ABC
2 ABC
3 This is a test how SVGLengthList reacts to XML DOM modifications.
4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6
7
8 PASS text1.x.baseVal.numberOfItems is 3
9 PASS text1XBaseValGetItem0.value is 500
10 PASS text1XBaseValGetItem1.value is 1000
11 PASS text1XBaseValGetItem2.value is 1500
12
13 Setting x = x - 250 on all three items
14 PASS text1XBaseValGetItem0.value is 250
15 PASS text1XBaseValGetItem1.value is 750
16 PASS text1XBaseValGetItem2.value is 1250
17
18 Now using text.setAttribute('x', '50 100')
19
20 Assure that the wrappers still point to the OLD values
21 PASS text1XBaseValGetItem0.value is 250
22 PASS text1XBaseValGetItem1.value is 750
23 PASS text1XBaseValGetItem2.value is 1250
24
25 Assure that obtaining new wrappers will give the right NEW values
26 PASS text1.x.baseVal.numberOfItems is 2
27 PASS text1.x.baseVal.getItem(0).value is 50
28 PASS text1.x.baseVal.getItem(1).value is 100
29
30 Setting x = x + 100 on all old wrapper items
31
32 Assure that the old wrappers can still be modified, but don't influence the new wrappers
33 PASS text1XBaseValGetItem0.value is 350
34 PASS text1XBaseValGetItem1.value is 850
35 PASS text1XBaseValGetItem2.value is 1350
36
37 Assure that the new wrappers stayed the same
38 PASS text1.x.baseVal.numberOfItems is 2
39 PASS text1.x.baseVal.getItem(0).value is 50
40 PASS text1.x.baseVal.getItem(1).value is 100
41
42 The test passes if you only see 'PASS' messages, and both elements on top look t he same
43
44 PASS successfullyParsed is true
45
46 TEST COMPLETE
47
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698