diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/sup')
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/sup/model-isvalid.html | 24 | ||||
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/sup/model-novalid.html | 18 |
2 files changed, 42 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/sup/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/sup/model-isvalid.html new file mode 100644 index 0000000000..af3642f5ed --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/sup/model-isvalid.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><sup></title> +</head> +<body> + <!-- is structured inline --> + <p><sup class="class" lang="en">text</sup></p> + + <!-- is strictly inline --> + <p><dfn><sup class="class" lang="en">text</sup></dfn></p> + + <!-- can be empty --> + <p>text <sup></sup></p> + <p>text <dfn><sup></sup></dfn></p> + + <!-- can contain interactive --> + <p><sup><a>text</a></sup></p> + <p><dfn><sup><a>text</a></sup></dfn></p> + + <!-- cannot contain structured inline --> +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/sup/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/sup/model-novalid.html new file mode 100644 index 0000000000..321a9439e6 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/sup/model-novalid.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><sup></title> +</head> +<body> + <!-- not a block --> + <sup>text</sup> + + <!-- cannot contain structured inline --> + <p><sup><ul><li>text</li></ul></sup></p> + + <!-- cannot contain interactive if parent forbids interactive --> + <p><a><sup><a>text</a></sup></a></p> + <p><a><dfn><sup><a>text</a></sup></dfn></a></p> +</body> +</html> |