diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-position/sticky/position-sticky-stacking-context-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-position/sticky/position-sticky-stacking-context-ref.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-position/sticky/position-sticky-stacking-context-ref.html b/testing/web-platform/tests/css/css-position/sticky/position-sticky-stacking-context-ref.html new file mode 100644 index 0000000000..2db17cc424 --- /dev/null +++ b/testing/web-platform/tests/css/css-position/sticky/position-sticky-stacking-context-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<title>Reference for position: sticky should create a stacking context</title> + +<style> +.indicator { + background-color: green; +} + +.box { + width: 200px; + height: 200px; +} +</style> + +<div>You should see a single green box below. No red or blue should be visible.</div> + +<div class="indicator box"></div> |