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