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