diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-scroll-snap/scroll-snap-root-002-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-scroll-snap/scroll-snap-root-002-ref.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-scroll-snap/scroll-snap-root-002-ref.html b/testing/web-platform/tests/css/css-scroll-snap/scroll-snap-root-002-ref.html new file mode 100644 index 0000000000..663b02b8c4 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-snap/scroll-snap-root-002-ref.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html> +<title>CSS Scroll Snap Reference</title> + +<style type='text/css'> +html, body { margin: 0; padding: 0; } + +#target { + border-bottom: solid orange thick; + position: absolute; + bottom: 0; + width: 100%; +} +</style> + +<div id="target"> + <div>Test passes if the orange stripe below is exactly at the bottom of the viewport.</div> +</div> |