Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/linking/reftests/media-fragment-spatial-last-wins.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>SVG media fragment: last xywh occurrence wins</title>
<link rel="match" href="../../struct/reftests/reference/green-100x100.html">
<style>
div {
width: 100px;
height: 100px;
background-repeat: no-repeat;
/* Per spec section 5.1, the last valid occurrence of a dimension should win. */
background-image: url("support/red-green-200x200.svg#xywh=0,0,100,100&xywh=100,100,100,100");
}
</style>
<div></div>