summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/var/model-novalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/var/model-novalid.html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/var/model-novalid.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/var/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/var/model-novalid.html
new file mode 100644
index 0000000000..853481ad10
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/var/model-novalid.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;var&gt;</title>
+</head>
+<body>
+ <!-- not a block -->
+ <var>text</var>
+
+ <!-- cannot contain structured inline -->
+ <p><var><ul><li>text</li></ul></var></p>
+
+ <!-- cannot contain interactive if parent forbids interactive -->
+ <p><a><var><a>text</a></var></a></p>
+ <p><a><dfn><var><a>text</a></var></dfn></a></p>
+</body>
+</html>