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

Side by Side Diff: LayoutTests/fast/dom/MicroData/properties-collection-add-remove-property-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 Microdata properties collection must update on adding or removing property.
2
3 Created element of type: div
4 Set attribute: itemscope, value: itemscope
5 PASS element.properties.length == '1' is true
6 PASS element.properties.item(0) == element.firstChild is true
7 PASS element.properties[0] == element.firstChild is true
8
9 Append a property with itemprop: bar.
10 Created element of type: div
11 Set attribute: itemprop, value: bar
12 PASS element.properties.length == '2' is true
13 PASS element.properties.item(1) == element.childNodes[1] is true
14 PASS element.properties[1] == element.childNodes[1] is true
15
16 Append a property with itemprop: foo.
17 Created element of type: div
18 Set attribute: itemprop, value: foo
19 PASS element.properties.length == '3' is true
20 PASS element.properties.item(2) == element.childNodes[1].firstChild is true
21 PASS element.properties[2] == element.childNodes[1].firstChild is true
22
23 Remove property with itemprop: foo.
24 PASS element.properties.length == '2' is true
25 PASS element.properties.item(2) == undefined is true
26 PASS element.properties[2] == undefined is true
27 PASS successfullyParsed is true
28
29 TEST COMPLETE
30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698