diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/tests/conformance-checkers/html/elements/map | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/map')
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/map/model-isvalid.html | 27 | ||||
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/map/model-novalid.html | 27 |
2 files changed, 54 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/map/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/map/model-isvalid.html new file mode 100644 index 0000000000..ae6dbac6f7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/map/model-isvalid.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><map></title> +</head> +<body> + <!-- is block, contains blocks and <area> --> + <map class="class" id="id" name="id" lang="en"> + <h2>header</h2> + <p><area alt="text" href='foo' coords="1,2,3,4">p</p> + <p>text</p> + <p><area alt="text" href='foo' coords="3,2,5,4">p</p> + <p>text2</p> + </map> + + <!-- can contain interactive --> + <map id='foo' name="foo"> + <p><a>text</a></p> + <p><area alt="text" href='foo' coords="3,2,5,4">p</p> + </map> + + <!-- map with flow content and flow parent --> + <div><map name=foo><p>foo</p></map></div> + +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/map/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/map/model-novalid.html new file mode 100644 index 0000000000..3ee9b822eb --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/map/model-novalid.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><map></title> +</head> +<body> + <!-- is block, contains blocks and <area> --> + <map name="foo" class="class" id="id" lang="en"> + <h2>header</h2> + <area alt="text" coords="1,2,3,4"> + <p>text</p> + <area alt="text" coords="5,2,3,4"> + <p>text2</p> + </map> + + <!-- can contain interactive --> + <map> + <p><a>text</a></p> + <area alt="text" coords="5,2,3,4"> + </map> + + <!-- map with flow content and phrasing parent --> + <span><map name=foo><p>foo</p></map></span> + +</body> +</html> |