servo/tests/wpt/css-tests/compositing-1_dev/html/reference/mix-blend-mode-parent-element-overflow-scroll-blended-position-fixed-ref.htm

40 lines
No EOL
1.2 KiB
HTML

<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link href="mailto:mbudaes@adobe.com" rel="author" title="Mirela Budăeș">
<link href="mailto:rosca@adobe.com" rel="author" title="Ion Roșca">
<link href="mailto:mitica@adobe.com" rel="reviewer" title="Mihai Țică">
<style type="text/css">
.parent {
background: aqua;/*rgb(0,255,255);*/
width: 150px;
height: 150px;
position: relative;
z-index: 1;
overflow:scroll;
}
.blended {
background: blue;/*rgb(0,0,255);*/
width: 100px;
height: 100px;
position: fixed;
}
.scrollableContent {
width: 200px;
height: 200px;
}
</style>
</head>
<body>
<p>Test passes if you see a blue square inside a bigger aqua container. <br>
The aqua container should have scrollbars on the left and bottom.</p>
<div class="parent">
<div class="blended"></div>
<div class="scrollableContent"></div>
</div>
</body></html>