summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/em/model-novalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/em/model-novalid.html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/em/model-novalid.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/em/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/em/model-novalid.html
new file mode 100644
index 0000000000..1b721e7b58
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/em/model-novalid.html
@@ -0,0 +1,25 @@
+<!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>
+
+ <!-- cannot contain structured inline -->
+ <p><em>text <ul><li>list</li></ul> <em>elem</em></em></p>
+</body>
+</html>