diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-position/position-absolute-under-non-containing-stacking-context.html')
-rw-r--r-- | testing/web-platform/tests/css/css-position/position-absolute-under-non-containing-stacking-context.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-position/position-absolute-under-non-containing-stacking-context.html b/testing/web-platform/tests/css/css-position/position-absolute-under-non-containing-stacking-context.html new file mode 100644 index 0000000000..444f125767 --- /dev/null +++ b/testing/web-platform/tests/css/css-position/position-absolute-under-non-containing-stacking-context.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html class="reftest-wait"> +<link rel="help" href="https://crbug.com/1273431"> +<link rel="match" href="position-absolute-under-non-containing-stacking-context-ref.html"> +<script src="/common/rendering-utils.js"></script> +<script src="/common/reftest-wait.js"></script> +<div id="scroller" style="width:200px; height: 200px; overflow: auto; position: relative"> + <div style="height: 0; overflow: hidden; opacity: 0.5; margin: 250px"> + <div style="width: 100px; height: 100px; position: absolute; background: green"></div> + </div> +</div> +<script> +waitForAtLeastOneFrame().then(() => { + scroller.scrollTo(200, 200); + takeScreenshot(); +}); +</script> |