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