From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- .../tests/html/dom/elements-tabular.js | 109 +++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 testing/web-platform/tests/html/dom/elements-tabular.js (limited to 'testing/web-platform/tests/html/dom/elements-tabular.js') 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 0000000000..88fc8d31ec --- /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: "clamped unsigned long", defaultVal: 1, min: 1, max: 1000}, + + // Obsolete + align: "string", + ch: {type: "string", domAttrName: "char"}, + chOff: {type: "string", domAttrName: "charoff"}, + vAlign: "string", + width: "string", + }, + col: { + // Conforming + span: {type: "clamped unsigned long", defaultVal: 1, min: 1, max: 1000}, + + // 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: "clamped unsigned long", defaultVal: 1, min: 1, max: 1000}, + rowSpan: {type: "clamped unsigned long", defaultVal: 1, min: 0, max: 65534}, + headers: "string", + 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: "clamped unsigned long", defaultVal: 1, min: 1, max: 1000}, + rowSpan: {type: "clamped unsigned long", defaultVal: 1, min: 0, max: 65534}, + headers: "string", + 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); -- cgit v1.2.3