summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/other
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/other')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/other/applet-novalid.html108
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/other/obj-novalid.html123
2 files changed, 231 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/other/applet-novalid.html b/testing/web-platform/tests/conformance-checkers/html/other/applet-novalid.html
new file mode 100644
index 0000000000..5b0c8de343
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/other/applet-novalid.html
@@ -0,0 +1,108 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;applet&gt;</title>
+</head>
+<body>
+
+ <!-- is structured inline -->
+ <p><applet
+ archive="uri1,uri2"
+ code="foo"
+ codebase="uri"
+ height="40"
+ width="40"
+ name="sth"
+ class="class"
+ lang="en"></applet></p>
+
+ <!-- is strictly inline -->
+ <p><dfn><applet
+ archive="uri1,uri2"
+ code="foo"
+ codebase="uri"
+ height="40"
+ width="40"
+ name="sth"
+ class="class"
+ lang="en"></applet></dfn></p>
+
+ <!-- is block -->
+ <applet
+ archive="uri1,uri2"
+ code="foo"
+ codebase="uri"
+ height="40"
+ width="40"
+ name="sth"
+ class="class"
+ lang="en"></applet>
+
+ <!-- can contain inline while in inline context, but param must come first -->
+ <p>paragraph
+ <applet code="foo" width="10" height="10">
+ <em>some</em> <ul><li>inline</li></ul> content
+ </applet>
+ </p>
+ <p>paragraph
+ <applet code="foo" width="10" height="10">
+ <param name="foo"><param name="bar">
+ <em>some</em> <ul><li>inline</li></ul> content
+ </applet>
+ </p>
+
+ <!-- can contain strictly inline while in strictly inline context, but param must come first -->
+ <p><dfn>strictly inline
+ <applet code="foo" width="10" height="10">
+ <em>text</em>
+ </applet>
+ </dfn></p>
+ <p><dfn>strictly inline
+ <applet code="foo" width="10" height="10">
+ <param name="foo"><param name="bar">
+ <em>text</em>
+ </applet>
+ </dfn></p>
+
+ <!-- can contain blocks while in block context, but param must come first -->
+ <applet code="foo" width="10" height="10">
+ <p>text</p>
+ </applet>
+ <applet code="foo" width="10" height="10">
+ <param name="foo"><param name="bar">
+ <p>text</p>
+ </applet>
+
+ <!-- can contain interactive if ancestor does not forbid it, but param must come first -->
+ <p>paragraph
+ <applet code="foo" width="10" height="10">
+ <a>link</a>
+ </applet>
+ </p>
+ <p>paragraph
+ <applet code="foo" width="10" height="10">
+ <param name="foo"><param name="bar">
+ <a>link</a>
+ </applet>
+ </p>
+ <p><dfn>strictly inline
+ <applet code="foo" width="10" height="10">
+ <a>link</a>
+ </applet>
+ </dfn></p>
+ <p><dfn>strictly inline
+ <applet code="foo" width="10" height="10">
+ <param name="foo"><param name="bar">
+ <a>link</a>
+ </applet>
+ </dfn></p>
+ <applet code="foo" width="10" height="10">
+ <p><a>link</a></p>
+ </applet>
+ <applet code="foo" width="10" height="10">
+ <param name="foo"><param name="bar">
+ <p><a>link</a></p>
+ </applet>
+</body>
+</html>
diff --git a/testing/web-platform/tests/conformance-checkers/html/other/obj-novalid.html b/testing/web-platform/tests/conformance-checkers/html/other/obj-novalid.html
new file mode 100644
index 0000000000..178b7d259e
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/other/obj-novalid.html
@@ -0,0 +1,123 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;obj&gt;</title>
+</head>
+<body>
+
+ <!-- is structured inline -->
+ <p><obj
+ archive="uri1 uri2"
+ classid="uri"
+ codebase="uri"
+ codetype="application/octet-stream"
+ data="uri"
+ height="40"
+ name="sth"
+ standby="text"
+ type="application/octet-stream"
+ usemap="uri"
+ width="40"
+ class="class"
+ lang="en"></obj></p>
+
+ <!-- is strictly inline -->
+ <p><dfn><obj
+ archive="uri1 uri2"
+ classid="uri"
+ codebase="uri"
+ codetype="application/octet-stream"
+ data="uri"
+ height="40"
+ name="sth"
+ standby="text"
+ type="application/octet-stream"
+ usemap="uri"
+ width="40"
+ class="class"
+ lang="en"></obj></dfn></p>
+
+ <!-- is block -->
+ <obj
+ archive="uri1 uri2"
+ classid="uri"
+ codebase="uri"
+ codetype="application/octet-stream"
+ data="uri"
+ height="40"
+ name="sth"
+ standby="text"
+ type="application/octet-stream"
+ usemap="uri"
+ width="40"
+ class="class"
+ lang="en"></obj>
+
+ <!-- can contain inline while in inline context, but param must come first -->
+ <p>paragraph
+ <obj>
+ <em>some</em> <ul><li>inline</li></ul> content
+ </obj>
+ </p>
+ <p>paragraph
+ <obj>
+ <param name="foo"><param name="bar">
+ <em>some</em> <ul><li>inline</li></ul> content
+ </obj>
+ </p>
+
+ <!-- can contain strictly inline while in strictly inline context, but param must come first -->
+ <p><dfn>strictly inline
+ <obj>
+ <em>text</em>
+ </obj>
+ </dfn></p>
+ <p><dfn>strictly inline
+ <obj>
+ <param name="foo"><param name="bar">
+ <em>text</em>
+ </obj>
+ </dfn></p>
+
+ <!-- can contain blocks while in block context, but param must come first -->
+ <obj>
+ <p>text</p>
+ </obj>
+ <obj>
+ <param name="foo"><param name="bar">
+ <p>text</p>
+ </obj>
+
+ <!-- can contain interactive if ancestor does not forbid it, but param must come first -->
+ <p>paragraph
+ <obj>
+ <a>link</a>
+ </obj>
+ </p>
+ <p>paragraph
+ <obj>
+ <param name="foo"><param name="bar">
+ <a>link</a>
+ </obj>
+ </p>
+ <p><dfn>strictly inline
+ <obj>
+ <a>link</a>
+ </obj>
+ </dfn></p>
+ <p><dfn>strictly inline
+ <obj>
+ <param name="foo"><param name="bar">
+ <a>link</a>
+ </obj>
+ </dfn></p>
+ <obj>
+ <p><a>link</a></p>
+ </obj>
+ <obj>
+ <param name="foo"><param name="bar">
+ <p><a>link</a></p>
+ </obj>
+</body>
+</html>