24 lines
673 B
HTML
24 lines
673 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
onload = function() {
|
|
document.getElementById("feImage").setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', '#svgRoot')
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<p>PASS if no crash</p>
|
|
<svg width="10" height="10" id="svgRoot" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<g>
|
|
<defs>
|
|
<filter id="imageFilter">
|
|
<feImage id="feImage" />
|
|
<feOffset dx="50" dy="50" />
|
|
</filter>
|
|
</defs>
|
|
<rect filter="url(#imageFilter)" x="0" y="0" width="50" height="50" fill="green" />
|
|
</g>
|
|
</svg>
|
|
</body>
|
|
</html>
|