summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/img/width-height-isvalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/img/width-height-isvalid.html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/img/width-height-isvalid.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/img/width-height-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/img/width-height-isvalid.html
new file mode 100644
index 0000000000..32b46d7cff
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/img/width-height-isvalid.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset=utf-8>
+<title>valid width and height</title>
+</head>
+<body>
+<img src="url" width="0" height="0" alt="bar"><!-- img with 0 value for width and height -->
+<img src="url" width="10" height="10" alt="bar"><!-- img with positive values for width and height -->
+</body>
+</html>