diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/pre')
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/pre/model-isvalid.html | 17 | ||||
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/pre/model-novalid.html | 26 |
2 files changed, 43 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/pre/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/pre/model-isvalid.html new file mode 100644 index 0000000000..99d1a75be2 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/pre/model-isvalid.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><pre></title> +</head> +<body> + <!-- is block --> + <pre class="class" id="id" lang="en">text</pre> + + <!-- can contain interactive --> + <pre><a>text</a></pre> + + <!-- can contain strictly inline --> + <pre>text <em>elem</em></pre> +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/pre/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/pre/model-novalid.html new file mode 100644 index 0000000000..384386c2b0 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/pre/model-novalid.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><pre></title> +</head> +<body> + <!-- is block --> + <pre class="class" id="id" lang="en">text</pre> + + <!-- is structured inline --> + <p>paragraph + <pre>text</pre> + </p> + + <!-- can contain interactive --> + <pre><a>text</a></pre> + <!-- but not struct-inline --> + <p>paragraph + <pre><a>text</a></pre> + </p> + + <!-- can contain strictly inline --> + <pre>text <em>elem</em></pre> +</body> +</html> |