summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/img/model-isvalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/img/model-isvalid.html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/img/model-isvalid.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/img/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/img/model-isvalid.html
new file mode 100644
index 0000000000..b0c7b33f02
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/img/model-isvalid.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <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"
+ lang="en"></a></p>
+
+ <!-- is strictly inline -->
+ <p><a href='foo'><dfn><img
+ src="url"
+ alt="text"
+ width="42"
+ height="095"
+ ismap="ismap"
+ class="class"
+ lang="en"></dfn></a></p>
+
+ <!-- src and alt are required, others optional -->
+ <p><img src="ur" alt="text"></p>
+</body>
+</html>