summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-scrollbars/scrollbar-thin-overflow-change.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/css-scrollbars/scrollbar-thin-overflow-change.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/css-scrollbars/scrollbar-thin-overflow-change.html b/layout/reftests/css-scrollbars/scrollbar-thin-overflow-change.html
new file mode 100644
index 0000000000..a46d95d398
--- /dev/null
+++ b/layout/reftests/css-scrollbars/scrollbar-thin-overflow-change.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<style>
+#outer {
+ scrollbar-width: thin;
+ overflow: auto;
+ border: 5px solid black;
+ background: black;
+ width: 200px;
+ height: 400px;
+}
+#inner {
+ height: 300px;
+}
+</style>
+<div id="outer">
+ <div id="inner"></div>
+</div>
+<script>
+// Force a reflow
+document.body.offsetHeight;
+document.getElementById('outer').style.height = '200px';
+</script>