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