diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-position/position-absolute-under-non-containing-stacking-context-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-position/position-absolute-under-non-containing-stacking-context-ref.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-position/position-absolute-under-non-containing-stacking-context-ref.html b/testing/web-platform/tests/css/css-position/position-absolute-under-non-containing-stacking-context-ref.html new file mode 100644 index 0000000000..ceade7bafe --- /dev/null +++ b/testing/web-platform/tests/css/css-position/position-absolute-under-non-containing-stacking-context-ref.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<div id="scroller" style="width: 200px; height: 200px; overflow: auto"> + <div style="height: 0; opacity: 0.5; margin: 250px"> + <div style="width: 100px; height: 100px; background: green"></div> + </div> +</div> +<script> +scroller.scrollTo(200, 200); +</script> |