summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-scroll-snap/scroll-padding-on-anchor-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-scroll-snap/scroll-padding-on-anchor-ref.html')
-rw-r--r--layout/reftests/css-scroll-snap/scroll-padding-on-anchor-ref.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/css-scroll-snap/scroll-padding-on-anchor-ref.html b/layout/reftests/css-scroll-snap/scroll-padding-on-anchor-ref.html
new file mode 100644
index 0000000000..845ed4e13c
--- /dev/null
+++ b/layout/reftests/css-scroll-snap/scroll-padding-on-anchor-ref.html
@@ -0,0 +1,16 @@
+<style>
+html,body {
+ overflow: hidden;
+ margin: 0px;
+ padding: 0px;
+}
+body {
+ padding-top: 100px;
+}
+#target {
+ background-color: blue;
+ width: 100%;
+ height: 100px;
+}
+</style>
+<div id="target"></div>