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