servo/tests/wpt/web-platform-tests/css/css-position/sticky/position-sticky-stacking-context-ref.html

17 lines
320 B
HTML

<!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>