mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
21 lines
1.1 KiB
XML
21 lines
1.1 KiB
XML
|
<!--
|
||
|
Any copyright is dedicated to the Public Domain.
|
||
|
http://creativecommons.org/publicdomain/zero/1.0/
|
||
|
-->
|
||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||
|
|
||
|
<title>Testcase to ensure that images load when they don't have frames</title>
|
||
|
|
||
|
<rect width="100%" height="100%" fill="lime"/>
|
||
|
<rect width="64" height="64" fill="red"/>
|
||
|
|
||
|
<script>
|
||
|
var img = document.createElementNS("http://www.w3.org/2000/svg", "image");
|
||
|
img.setAttribute("width", "64");
|
||
|
img.setAttribute("height", "64");
|
||
|
document.querySelector("svg").appendChild(img);
|
||
|
img.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAAlC+aJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAJFJREFUaEPt1UEOg0AMBEHz/0ez8IY5zFqqKFdLkGrHz7yz/PO9wOrv7qf/81n983uBCwAl1EYgQCD8H5eQhCTUboAAgbCBcNwdaBdIgIAlbjdAgEDYQDjuDrQLJEDAErcbIEAgbCAcdwfaBRIgYInbDRAgEDYQjrsD7QIJELDE7QYIEAgbCMfdgXaBBAhkS3wAXsqyIo0zj4gAAAAASUVORK5CYII=");
|
||
|
</script>
|
||
|
|
||
|
</svg>
|