diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/span')
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/span/model-isvalid.html | 23 | ||||
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/span/model-novalid.html | 25 |
2 files changed, 48 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/span/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/span/model-isvalid.html new file mode 100644 index 0000000000..ee1abffabf --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/span/model-isvalid.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><span></title> +</head> +<body> + <!-- is structured inline --> + <p><span class="class" lang="en">text</span></p> + + <!-- is strictly inline --> + <p><dfn><span class="class" lang="en">text</span></dfn></p> + + <!-- can be empty --> + <p>text <span></span></p> + <p>text <dfn><span></span></dfn></p> + + <!-- can contain interactive --> + <p><span><a>text</a></span></p> + <p><dfn><span><a>text</a></span></dfn></p> + +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/span/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/span/model-novalid.html new file mode 100644 index 0000000000..30814fc2c1 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/span/model-novalid.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><span></title> +</head> +<body> + <!-- is structured inline --> + <p><span class="class" lang="en">text</span></p> + + <!-- is strictly inline --> + <p><dfn><span class="class" lang="en">text</span></dfn></p> + + <!-- can be empty --> + <p>text <span></span></p> + <p>text <dfn><span></span></dfn></p> + + <!-- can contain interactive --> + <p><span><a>text</a></span></p> + <p><dfn><span><a>text</a></span></dfn></p> + + <!-- cannot contain structured inline --> + <p><span>text <ul><li>list</li></ul> <em>elem</em></span></p> +</body> +</html> |