summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-scrolled-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-scrolled-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-scrolled-ref.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-scrolled-ref.html b/testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-scrolled-ref.html
new file mode 100644
index 0000000000..7429cadf7d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-scrolled-ref.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<div style="width: 100px; height: 100px; border: solid; box-sizing: border-box">
+ <div id="cell" style="width: 100%; height: 100%; background: green; overflow: auto">
+ <div style="width: 200px; height: 50px; background: hotpink; border: 2px solid yellow"></div>
+ </div>
+</div>
+<script>
+onload = () => {
+ cell.scrollLeft = 120;
+}
+</script>