summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/q/model-novalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/q/model-novalid.html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/q/model-novalid.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/q/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/q/model-novalid.html
new file mode 100644
index 0000000000..c742f757fb
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/q/model-novalid.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;q&gt;</title>
+</head>
+<body>
+ <!-- is structured inline -->
+ <p><q cite="url" class="class" lang="en">text</q></p>
+
+ <!-- is strictly inline -->
+ <p><dfn><q cite="url" class="class" lang="en">text</q></dfn></p>
+
+ <!-- can be empty -->
+ <p>text <q></q></p>
+ <p>text <dfn><q></q></dfn></p>
+
+ <!-- can contain interactive -->
+ <p><q><a>text</a></q></p>
+ <p><dfn><q><a>text</a></q></dfn></p>
+
+ <!-- cannot contain structured inline -->
+ <p><q>text <ul><li>list</li></ul> <em>elem</em></q></p>
+</body>
+</html>