diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-anchor-position/position-visibility-anchors-visible-chained-004-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-anchor-position/position-visibility-anchors-visible-chained-004-ref.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-anchor-position/position-visibility-anchors-visible-chained-004-ref.html b/testing/web-platform/tests/css/css-anchor-position/position-visibility-anchors-visible-chained-004-ref.html new file mode 100644 index 0000000000..409247a695 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-visibility-anchors-visible-chained-004-ref.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<style> + #scroll-container { + overflow: hidden scroll; + width: 300px; + height: 100px; + } + + #anchor { + width: 100px; + height: 100px; + background: orange; + margin-bottom: 100px; + } + + #chained { + width: 100px; + height: 50px; + background: blue; + } + + #target { + width: 100px; + height: 50px; + background: green; + } +</style> + +<div id="scroll-container"> + <div id="anchor">anchor1</div> +</div> +<div id="chained">chained</div> +<div id="target">target</div> |