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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/dom/elements-microdata.js

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
1 // Up-to-date as of 2013-04-19. 1 // Up-to-date as of 2013-04-19.
2 // Things defined in the W3C's microdata draft, not the main HTML5 draft. 2 // Things defined in the W3C's microdata draft, not the main HTML5 draft.
3 // Note: must be included last so that it hits all elements. 3 // Note: must be included last so that it hits all elements.
4 4
5 for (var element in elements) { 5 for (var element in elements) {
6 elements[element].itemScope = "boolean"; 6 elements[element].itemScope = "boolean";
7 elements[element].itemType = "settable tokenlist"; 7 elements[element].itemType = "settable tokenlist";
8 elements[element].itemId = "url"; 8 elements[element].itemId = "url";
9 elements[element].itemRef = "settable tokenlist"; 9 elements[element].itemRef = "settable tokenlist";
10 elements[element].itemProp = "settable tokenlist"; 10 elements[element].itemProp = "settable tokenlist";
(...skipping 15 matching lines...) Expand all
26 reflectItemValue("url", "source", "src"); 26 reflectItemValue("url", "source", "src");
27 reflectItemValue("url", "track", "src"); 27 reflectItemValue("url", "track", "src");
28 reflectItemValue("url", "video", "src"); 28 reflectItemValue("url", "video", "src");
29 reflectItemValue("url", "a", "href"); 29 reflectItemValue("url", "a", "href");
30 reflectItemValue("url", "area", "href"); 30 reflectItemValue("url", "area", "href");
31 reflectItemValue("url", "link", "href"); 31 reflectItemValue("url", "link", "href");
32 reflectItemValue("url", "object", "data"); 32 reflectItemValue("url", "object", "data");
33 reflectItemValue("string", "data", "value"); 33 reflectItemValue("string", "data", "value");
34 //TODO: time is more complex 34 //TODO: time is more complex
35 }); 35 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698