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