OLD | NEW |
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 Loading... |
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 }); |
OLD | NEW |