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