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