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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements-tabular.js

Issue 1954153002: Revert of Import web-platform-tests@88b9a65ce806b5f67e0a535bf2f1602c2df6af58 (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 tabularElements = { 2 var tabularElements = {
3 table: { 3 table: {
4 // Conforming 4 // Conforming
5 sortable: "boolean", 5 sortable: "boolean",
6 6
7 // Obsolete 7 // Obsolete
8 align: "string", 8 align: "string",
9 border: "string", 9 border: "string",
10 frame: "string", 10 frame: "string",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 ch: {type: "string", domAttrName: "char"}, 67 ch: {type: "string", domAttrName: "char"},
68 chOff: {type: "string", domAttrName: "charoff"}, 68 chOff: {type: "string", domAttrName: "charoff"},
69 vAlign: "string", 69 vAlign: "string",
70 bgColor: {type: "string", treatNullAsEmptyString: true}, 70 bgColor: {type: "string", treatNullAsEmptyString: true},
71 }, 71 },
72 td: { 72 td: {
73 // HTMLTableCellElement (Conforming) 73 // HTMLTableCellElement (Conforming)
74 colSpan: {type: "unsigned long", defaultVal: 1}, 74 colSpan: {type: "unsigned long", defaultVal: 1},
75 rowSpan: {type: "unsigned long", defaultVal: 1}, 75 rowSpan: {type: "unsigned long", defaultVal: 1},
76 headers: "settable tokenlist", 76 headers: "settable tokenlist",
77 scope: {type: "enum", keywords: ["row", "col", "rowgroup", "colgroup"]},
78 abbr: "string",
79 77
80 // HTMLTableCellElement (Obsolete) 78 // HTMLTableCellElement (Obsolete)
81 align: "string", 79 align: "string",
82 axis: "string", 80 axis: "string",
83 height: "string", 81 height: "string",
84 width: "string", 82 width: "string",
85 ch: {type: "string", domAttrName: "char"}, 83 ch: {type: "string", domAttrName: "char"},
86 chOff: {type: "string", domAttrName: "charoff"}, 84 chOff: {type: "string", domAttrName: "charoff"},
87 noWrap: "boolean", 85 noWrap: "boolean",
88 vAlign: "string", 86 vAlign: "string",
89 bgColor: {type: "string", treatNullAsEmptyString: true}, 87 bgColor: {type: "string", treatNullAsEmptyString: true},
88
89 // HTMLTableDataCellElement (Obsolete)
90 abbr: "string",
90 }, 91 },
91 th: { 92 th: {
92 // HTMLTableCellElement (Conforming) 93 // HTMLTableCellElement (Conforming)
93 colSpan: {type: "unsigned long", defaultVal: 1}, 94 colSpan: {type: "unsigned long", defaultVal: 1},
94 rowSpan: {type: "unsigned long", defaultVal: 1}, 95 rowSpan: {type: "unsigned long", defaultVal: 1},
95 headers: "settable tokenlist", 96 headers: "settable tokenlist",
96 scope: {type: "enum", keywords: ["row", "col", "rowgroup", "colgroup"]},
97 abbr: "string",
98 97
99 // HTMLTableCellElement (Obsolete) 98 // HTMLTableCellElement (Obsolete)
100 align: "string", 99 align: "string",
101 axis: "string", 100 axis: "string",
102 height: "string", 101 height: "string",
103 width: "string", 102 width: "string",
104 ch: {type: "string", domAttrName: "char"}, 103 ch: {type: "string", domAttrName: "char"},
105 chOff: {type: "string", domAttrName: "charoff"}, 104 chOff: {type: "string", domAttrName: "charoff"},
106 noWrap: "boolean", 105 noWrap: "boolean",
107 vAlign: "string", 106 vAlign: "string",
108 bgColor: {type: "string", treatNullAsEmptyString: true}, 107 bgColor: {type: "string", treatNullAsEmptyString: true},
108
109 // HTMLTableHeaderCellElement (Conforming)
110 // TODO: double-check that the way we're treating missing value
111 // defaults is consistent here. scope has an auto state with no
112 // associated keyword, which is the missing value default -- is this
113 // the right syntax for that?
114 scope: {type: "enum", keywords: ["row", "col", "rowgroup", "colgroup"]},
115 abbr: "string",
116 sorted: "string",
109 }, 117 },
110 }; 118 };
111 119
112 mergeElements(tabularElements); 120 mergeElements(tabularElements);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698