Files
sousa-gecko/testing/web-platform/tests/css/css-backgrounds/box-shadow-svg-root-fixed-position.html
T
taher 1431a85cf4 Bug 2048873 [wpt PR 60740] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=106011, a=testonly
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
2026-06-25 17:01:46 +00:00

23 lines
744 B
HTML

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Backgrounds Test: box-shadow paints on a position:fixed SVG root</title>
<link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-box-shadow">
<link rel="match" href="box-shadow-svg-root-fixed-position-ref.html">
<meta name="fuzzy" content="maxDifference=0-40;totalPixels=0-2000">
<style>
.shadow-box {
width: 100px;
height: 100px;
box-shadow: 1px 1px 5px 3px #aaaaaa;
}
.fixed-position {
position: fixed;
top: 8px;
left: 8px;
}
</style>
<!-- A position:fixed SVG root must still paint its CSS box-shadow. -->
<svg class="shadow-box fixed-position">
<rect x="0" y="0" width="100%" height="100%" fill="red"/>
</svg>