1
0
Fork 0
firefox/testing/web-platform/tests/svg/linking/reftests/svgview-viewbox-override-multiple.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

25 lines
777 B
HTML

<!doctype html>
<title>background-image with multiple layers using different views of the same image</title>
<link rel="help" href="https://svgwg.org/svg2-draft/linking.html#LinksIntoSVG">
<link rel="match" href="../../struct/reftests/reference/green-100x100.html">
<style>
.one {
width: 20px;
height: 100px;
background-repeat: no-repeat;
background-image: url("support/green-random-rects.svg#svgView(viewBox(0,900,20,100))");
}
.two {
width: 80px;
height: 100px;
background-repeat: no-repeat;
background-image: url("support/green-random-rects.svg#svgView(viewBox(0,400,80,100))");
position: absolute;
left: 20px;
top: 0;
}
</style>
<div style="position: relative">
<div class="one"></div>
<div class="two"></div>
</div>