diff options
Diffstat (limited to 'testing/web-platform/tests/html/dom/elements-grouping.js')
-rw-r--r-- | testing/web-platform/tests/html/dom/elements-grouping.js | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/dom/elements-grouping.js b/testing/web-platform/tests/html/dom/elements-grouping.js new file mode 100644 index 000000000..c33f49da1 --- /dev/null +++ b/testing/web-platform/tests/html/dom/elements-grouping.js @@ -0,0 +1,60 @@ +// Up-to-date as of 2013-04-08. +var groupingElements = { + p: { + // Obsolete + align: "string", + }, + hr: { + // Obsolete + align: "string", + color: "string", + noShade: "boolean", + size: "string", + width: "string", + }, + pre: { + // Obsolete + width: "long", + }, + blockquote: { + cite: "url", + }, + ol: { + // Conforming + reversed: "boolean", + // TODO: This should have a default value of the list's length if the + // reversed attribute is set. + start: {type: "long", defaultVal: 1}, + type: "string", + + // Obsolete + compact: "boolean", + }, + ul: { + // Obsolete + compact: "boolean", + type: "string", + }, + li: { + // Conforming + value: "long", + + // Obsolete + type: "string", + }, + dl: { + // Obsolete + compact: "boolean", + }, + dt: {}, + dd: {}, + figure: {}, + figcaption: {}, + main: {}, + div: { + // Obsolete + align: "string", + }, +}; + +mergeElements(groupingElements); |