summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/xhtml/elements/em/006-isvalid.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/xhtml/elements/em/006-isvalid.xhtml')
-rw-r--r--testing/web-platform/tests/conformance-checkers/xhtml/elements/em/006-isvalid.xhtml21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/xhtml/elements/em/006-isvalid.xhtml b/testing/web-platform/tests/conformance-checkers/xhtml/elements/em/006-isvalid.xhtml
new file mode 100644
index 0000000000..f3c1e8da57
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/xhtml/elements/em/006-isvalid.xhtml
@@ -0,0 +1,21 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>&lt;em&gt;</title>
+</head>
+<body>
+ <!-- is structured inline -->
+ <p><em class="class" xml:lang="en">text</em></p>
+
+ <!-- is strictly inline -->
+ <p><dfn><em class="class" xml: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>