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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/dom/elements-sections.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-12. 1 // Up-to-date as of 2013-04-12.
2 var sectionElements = { 2 var sectionElements = {
3 body: { 3 body: {
4 // Obsolete 4 // Obsolete
5 text: {type: "string", treatNullAsEmptyString: true}, 5 text: {type: "string", treatNullAsEmptyString: true},
6 link: {type: "string", treatNullAsEmptyString: true}, 6 link: {type: "string", treatNullAsEmptyString: true},
7 vLink: {type: "string", treatNullAsEmptyString: true}, 7 vLink: {type: "string", treatNullAsEmptyString: true},
8 aLink: {type: "string", treatNullAsEmptyString: true}, 8 aLink: {type: "string", treatNullAsEmptyString: true},
9 bgColor: {type: "string", treatNullAsEmptyString: true}, 9 bgColor: {type: "string", treatNullAsEmptyString: true},
10 background: "string", 10 background: "string",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 ReflectionTests.reflects({type: "string", treatNullAsEmptyString: true}, "vlin kColor", document, "vlink", document.body); 54 ReflectionTests.reflects({type: "string", treatNullAsEmptyString: true}, "vlin kColor", document, "vlink", document.body);
55 ReflectionTests.reflects({type: "string", treatNullAsEmptyString: true}, "alin kColor", document, "alink", document.body); 55 ReflectionTests.reflects({type: "string", treatNullAsEmptyString: true}, "alin kColor", document, "alink", document.body);
56 ReflectionTests.reflects({type: "string", treatNullAsEmptyString: true}, "bgCo lor", document, "bgcolor", document.body); 56 ReflectionTests.reflects({type: "string", treatNullAsEmptyString: true}, "bgCo lor", document, "bgcolor", document.body);
57 // Don't mess up the colors :) 57 // Don't mess up the colors :)
58 document.documentElement.removeAttribute("dir"); 58 document.documentElement.removeAttribute("dir");
59 var attrs = ["text", "bgcolor", "link", "alink", "vlink"]; 59 var attrs = ["text", "bgcolor", "link", "alink", "vlink"];
60 for (var i = 0; i < attrs.length; i++) { 60 for (var i = 0; i < attrs.length; i++) {
61 document.body.removeAttribute(attrs[i]); 61 document.body.removeAttribute(attrs[i]);
62 } 62 }
63 }); 63 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698