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

Side by Side Diff: LayoutTests/fast/dom/MicroData/nameditem-must-return-correct-item-properties-expected.txt

Issue 14028014: Remove MicroData implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Also delete all the tests Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 This test ensures that namedItem must return the correct item properties.
2
3 Created element of type: div
4
5 Test properties.namedItem(name).
6 PASS item.properties.namedItem('foo').length is 2
7 PASS item.properties.namedItem('bar').length is 1
8 PASS item.properties.namedItem('baz').length is 1
9 PASS item.properties.namedItem('qux').length is 1
10 PASS item.properties.namedItem('foo')[0] is element.firstChild
11 PASS item.properties.namedItem('foo')[1] is item.firstChild
12 PASS item.properties.namedItem('bar')[0] is item.firstChild
13 PASS item.properties.namedItem('baz')[0] is element.lastChild
14 PASS item.properties.namedItem('qux')[0] is element.lastChild.firstChild
15
16 Test properties[name].
17 PASS item.properties['foo'].length is 2
18 PASS item.properties['bar'].length is 1
19 PASS item.properties['baz'].length is 1
20 PASS item.properties['qux'].length is 1
21 PASS item.properties['foo'][0] is element.firstChild
22 PASS item.properties['foo'][1] is item.firstChild
23 PASS item.properties['bar'][0] is item.firstChild
24 PASS item.properties['baz'][0] is element.lastChild
25 PASS item.properties['qux'][0] is element.lastChild.firstChild
26
27 Test properties[index].
28 PASS item.properties[0] is element.firstChild
29 PASS item.properties[1] is item.firstChild
30 PASS item.properties[2] is element.lastChild
31 PASS item.properties[3] is element.lastChild.firstChild
32 PASS successfullyParsed is true
33
34 TEST COMPLETE
35
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698