diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/em')
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/em/model-isvalid.html | 22 | ||||
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/em/model-novalid.html | 25 |
2 files changed, 47 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><em></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> 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><em></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> |