summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/xhtml/other/045-novalid.xhtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/tests/conformance-checkers/xhtml/other/045-novalid.xhtml
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--testing/web-platform/tests/conformance-checkers/xhtml/other/045-novalid.xhtml105
1 files changed, 105 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/xhtml/other/045-novalid.xhtml b/testing/web-platform/tests/conformance-checkers/xhtml/other/045-novalid.xhtml
new file mode 100644
index 0000000000..eab5bd7c66
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/xhtml/other/045-novalid.xhtml
@@ -0,0 +1,105 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <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"
+ xml: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"
+ xml:lang="en"></applet></dfn></p>
+
+ <!-- is block -->
+ <applet
+ archive="uri1,uri2"
+ code="foo"
+ codebase="uri"
+ height="40"
+ width="40"
+ name="sth"
+ class="class"
+ xml: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><param name="bar"></param>
+ <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><param name="bar"></param>
+ <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><param name="bar"></param>
+ <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><param name="bar"></param>
+ <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><param name="bar"></param>
+ <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><param name="bar"></param>
+ <p><a>link</a></p>
+ </applet>
+</body>
+</html>