Automatic update from web-platform-tests WebKit export of https://bugs.webkit.org/show_bug.cgi?id=106011 (#60740) -- wpt-commits: d20aca0de45ca6c02e01fc8edcddc7d0e260b2c9 wpt-pr: 60740
17 lines
403 B
HTML
17 lines
403 B
HTML
<!DOCTYPE html>
|
|
<meta charset="UTF-8">
|
|
<title>CSS Reference: box-shadow paints on a position:fixed box</title>
|
|
<style>
|
|
.shadow-box {
|
|
width: 100px;
|
|
height: 100px;
|
|
box-shadow: 1px 1px 5px 3px #aaaaaa;
|
|
}
|
|
.fixed-position {
|
|
position: fixed;
|
|
top: 8px;
|
|
left: 8px;
|
|
}
|
|
</style>
|
|
<div class="shadow-box fixed-position" style="background: red;"></div>
|