diff options
Diffstat (limited to 'testing/web-platform/tests/html/dom/elements-tabular.js')
-rw-r--r-- | testing/web-platform/tests/html/dom/elements-tabular.js | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/dom/elements-tabular.js b/testing/web-platform/tests/html/dom/elements-tabular.js new file mode 100644 index 000000000..bb54ade30 --- /dev/null +++ b/testing/web-platform/tests/html/dom/elements-tabular.js @@ -0,0 +1,109 @@ +// Up-to-date as of 2013-04-12. +var tabularElements = { + table: { + // Obsolete + align: "string", + border: "string", + frame: "string", + rules: "string", + summary: "string", + width: "string", + bgColor: {type: "string", treatNullAsEmptyString: true}, + cellPadding: {type: "string", treatNullAsEmptyString: true}, + cellSpacing: {type: "string", treatNullAsEmptyString: true}, + }, + caption: { + // Obsolete + align: "string", + }, + colgroup: { + span: {type: "limited unsigned long with fallback", defaultVal: 1}, + + // Obsolete + align: "string", + ch: {type: "string", domAttrName: "char"}, + chOff: {type: "string", domAttrName: "charoff"}, + vAlign: "string", + width: "string", + }, + col: { + // Conforming + span: {type: "limited unsigned long with fallback", defaultVal: 1}, + + // Obsolete + align: "string", + ch: {type: "string", domAttrName: "char"}, + chOff: {type: "string", domAttrName: "charoff"}, + vAlign: "string", + width: "string", + }, + tbody: { + // Obsolete + align: "string", + ch: {type: "string", domAttrName: "char"}, + chOff: {type: "string", domAttrName: "charoff"}, + vAlign: "string", + }, + thead: { + // Obsolete + align: "string", + ch: {type: "string", domAttrName: "char"}, + chOff: {type: "string", domAttrName: "charoff"}, + vAlign: "string", + }, + tfoot: { + // Obsolete + align: "string", + ch: {type: "string", domAttrName: "char"}, + chOff: {type: "string", domAttrName: "charoff"}, + vAlign: "string", + }, + tr: { + // Obsolete + align: "string", + ch: {type: "string", domAttrName: "char"}, + chOff: {type: "string", domAttrName: "charoff"}, + vAlign: "string", + bgColor: {type: "string", treatNullAsEmptyString: true}, + }, + td: { + // HTMLTableCellElement (Conforming) + colSpan: {type: "unsigned long", defaultVal: 1}, + rowSpan: {type: "unsigned long", defaultVal: 1}, + headers: "settable tokenlist", + scope: {type: "enum", keywords: ["row", "col", "rowgroup", "colgroup"]}, + abbr: "string", + + // HTMLTableCellElement (Obsolete) + align: "string", + axis: "string", + height: "string", + width: "string", + ch: {type: "string", domAttrName: "char"}, + chOff: {type: "string", domAttrName: "charoff"}, + noWrap: "boolean", + vAlign: "string", + bgColor: {type: "string", treatNullAsEmptyString: true}, + }, + th: { + // HTMLTableCellElement (Conforming) + colSpan: {type: "unsigned long", defaultVal: 1}, + rowSpan: {type: "unsigned long", defaultVal: 1}, + headers: "settable tokenlist", + scope: {type: "enum", keywords: ["row", "col", "rowgroup", "colgroup"]}, + abbr: "string", + + // HTMLTableCellElement (Obsolete) + align: "string", + axis: "string", + height: "string", + width: "string", + ch: {type: "string", domAttrName: "char"}, + chOff: {type: "string", domAttrName: "charoff"}, + noWrap: "boolean", + vAlign: "string", + bgColor: {type: "string", treatNullAsEmptyString: true}, + }, +}; + +mergeElements(tabularElements); |