| Index: third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-data-svg.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-data-svg.html b/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-data-svg.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4063405b62e3e97b4da6a8c0ac23f4dff0080cdf
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-data-svg.html
|
| @@ -0,0 +1,15 @@
|
| +<!DOCTYPE html>
|
| +<script src="/js-test-resources/js-test.js"></script>
|
| +<body onload="bodyOnLoad()">
|
| +<p>
|
| + Tests when image's onload event handler is called, and
|
| + when image.complete becomes true, for data URL (SVG).
|
| +</p>
|
| +<div id="console"></div>
|
| +<script>
|
| +// A random value is added not to hit a cache.
|
| +var url = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' viewBox='0 180 150 220' style='background:blue'><!-- " +
|
| + Math.random() + " --></svg>"
|
| +</script>
|
| +<script src="resources/onload-test.js"></script>
|
| +</body>
|
|
|