summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-ref.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-ref.html b/testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-ref.html
new file mode 100644
index 0000000000..695ba5341e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-ref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<div style="width: 100px; height: 100px; border: solid;">
+ <div style="max-width: 100px; height: 100px; background: green; overflow-x: scroll;">
+ <div style="width: 120px; height: 50px; background: hotpink;"></div>
+ </div>
+</div>
+<br>
+<div style="width: 100px; height: 100px; border: solid;">
+ <div style="display: table-cell; max-width: 100px; height: 100px; background: green; overflow-x: scroll; vertical-align: middle;">
+ <div style="width: 120px; height: 50px; background: hotpink;"></div>
+ </div>
+</div>