summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/overflow-img-scroll-non-replaced.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-overflow/overflow-img-scroll-non-replaced.html')
-rw-r--r--testing/web-platform/tests/css/css-overflow/overflow-img-scroll-non-replaced.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-overflow/overflow-img-scroll-non-replaced.html b/testing/web-platform/tests/css/css-overflow/overflow-img-scroll-non-replaced.html
new file mode 100644
index 0000000000..6468c73068
--- /dev/null
+++ b/testing/web-platform/tests/css/css-overflow/overflow-img-scroll-non-replaced.html
@@ -0,0 +1,18 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>Verifies overflow allows scrolling when rendering alt test for img elements</title>
+<link rel="help" href="https://drafts.csswg.org/css-overflow/#propdef-overflow">
+<link rel="author" title="Khushal Sagar" href="mailto:khushalsagar@chromium.org">
+<link rel="match" href="overflow-img-scroll-non-replaced-ref.html">
+<style>
+ img {
+ border: solid;
+ display: block;
+ width: 150px;
+ padding: 10px;
+ overflow: scroll;
+ }
+</style>
+<body>
+<img src="about:invalid" alt="I have scrollbar ................................................................"></img>
+</body>