summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/overflow-img-display-table-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-overflow/overflow-img-display-table-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-overflow/overflow-img-display-table-ref.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-overflow/overflow-img-display-table-ref.html b/testing/web-platform/tests/css/css-overflow/overflow-img-display-table-ref.html
new file mode 100644
index 0000000000..4552cb06da
--- /dev/null
+++ b/testing/web-platform/tests/css/css-overflow/overflow-img-display-table-ref.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>Verifies img elements are clipped with display:table</title>
+<link rel="help" href="https://drafts.csswg.org/css-overflow/#propdef-overflow">
+<link rel="author" title="Khushal Sagar" href="mailto:khushalsagar@chromium.org">
+<style>
+ .default {
+ width: 25px;
+ height: 50px;
+ border-radius: 2px;
+ overflow: clip;
+ border-radius: 2px;
+ }
+</style>
+<body>
+ <div class="default">
+ <img src="../css-images/support/exif-orientation-6-ru.jpg"></img>
+ </div>
+</body>