diff options
Diffstat (limited to '')
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/object/model-novalid.html | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/object/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/object/model-novalid.html new file mode 100644 index 0000000000..f5037efa81 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/object/model-novalid.html @@ -0,0 +1,81 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><obj></title> +</head> +<body> + <!-- classid, codebase, data, usemap are uris; archive is uri list + width and height are positive integers + type and codetype are MIME types --> + <p><object archive="<"></object></p> + <p><object classid="<"></object></p> + <p><object codebase="<"></object></p> + <p><object codetype="//"></object></p> + <p><object data="<"></object></p> + <p><object height="4.2"></object></p> + <p><object type="//"></object></p> + <p><object usemap="<"></object></p> + <p><object width="0"></object></p> + + <!-- cannot contain blocks while in inline context --> + <p>paragraph + <object> + <p>para</p> + </object> + </p> + + <!-- cannot contain blocks while in strictly inline context --> + <p><dfn>strictly inline + <object> + <p>para</p> + </object> + </dfn></p> + + <!-- cannot contain structured inline while in strictly inline context --> + <p><dfn>strictly inline + <object> + <ul><li>para</li></ul> + </object> + </dfn></p> + + <!-- cannot contain inline while in block context --> + <object> + <em>inline</em> text + </object> + + <!-- param must be first --> + <p>paragraph + <object> + <em>text</em> + <param name="foo"> + </object> + </p> + <p><dfn>strictly inline + <object> + text + <param name="foo"> + </object> + </dfn></p> + <object> + <p>para</p> + <param name="foo"> + </object> + + <!-- cannot contain interactive if ancestor forbids it --> + <p><a>paragraph + <object> + <a>para</a> + </object> + </a></p> + <p><dfn><a>strictly inline + <object> + <a>para</a> + </object> + </a></dfn></p> + + <!-- object with flow content and phrasing parent --> + <span><object data=foo><p>foo</p></object></span> + +</body> +</html> |