diff options
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> |