summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/multicol-under-vertical-rl-scroll-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-multicol/multicol-under-vertical-rl-scroll-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-multicol/multicol-under-vertical-rl-scroll-ref.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-multicol/multicol-under-vertical-rl-scroll-ref.html b/testing/web-platform/tests/css/css-multicol/multicol-under-vertical-rl-scroll-ref.html
new file mode 100644
index 0000000000..1a7cfb6e23
--- /dev/null
+++ b/testing/web-platform/tests/css/css-multicol/multicol-under-vertical-rl-scroll-ref.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<title>Multicol under vertical-rl scrolling container</title>
+<p>Passes if there are two green squares</p>
+<div id="scroller" style="width: 200px; height: 200px; overflow: scroll; border: 1px solid black">
+ <div style="width: 580px; height: 500px; position: relative">
+ <div style="position: absolute; right: 0">
+ <div style="width: 80px; height: 80px; background: green"></div>
+ <div style="height: 20px"></div>
+ <div style="width: 80px; height: 80px; background: green"></div>
+ </div>
+ </div>
+</div>
+<script>
+// Scroll all the way to the right.
+scroller.scrollLeft = 800;
+</script>