summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/xhtml/elements/img/043-isvalid.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/xhtml/elements/img/043-isvalid.xhtml')
-rw-r--r--testing/web-platform/tests/conformance-checkers/xhtml/elements/img/043-isvalid.xhtml29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/xhtml/elements/img/043-isvalid.xhtml b/testing/web-platform/tests/conformance-checkers/xhtml/elements/img/043-isvalid.xhtml
new file mode 100644
index 0000000000..21a73c7610
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/xhtml/elements/img/043-isvalid.xhtml
@@ -0,0 +1,29 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>&lt;img&gt;</title>
+</head>
+<body>
+ <!-- is structured inline -->
+ <p><a href='foo'><img
+ src="url"
+ alt="text"
+ width="42"
+ height="095"
+ ismap="ismap"
+ class="class"
+ xml:lang="en"></img></a></p>
+
+ <!-- is strictly inline -->
+ <p><a href='foo'><dfn><img
+ src="url"
+ alt="text"
+ width="42"
+ height="095"
+ ismap="ismap"
+ class="class"
+ xml:lang="en"></img></dfn></a></p>
+
+ <!-- src and alt are required, others optional -->
+ <p><img src="ur" alt="text"></img></p>
+</body>
+</html>