Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: LayoutTests/http/tests/svg/dynamic-image-root.svg

Issue 62083002: Remove support for the externalResourcesRequired attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline test Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k">
2 <script>
3 if (window.testRunner) {
4 testRunner.waitUntilDone();
5 testRunner.dumpAsText();
6 }
7
8 window.onload = function() {
9 if (window.testRunner)
10 testRunner.notifyDone();
11 };
12 </script>
13 <text y="170" x="20" id="console">Result: </text>
14 <script>
15 var img = document.createElementNS("http://www.w3.org/2000/svg", "image");
16 img.x.baseVal.value = 20;
17 img.y.baseVal.value = 20;
18 img.width.baseVal.value = 100;
19 img.height.baseVal.value = 100;
20 img.addEventListener("load", loaded, false);
21 img.addEventListener("SVGLoad", loaded, false);
22 img.addEventListener("error", loaded, false);
23 img.addEventListener("SVGError", loaded, false);
24 img.href.baseVal = "http://127.0.0.1:8000/svg/resources/delayCachedLoad.ph p";
25 document.documentElement.appendChild(img);
26
27 function loaded(evt) {
28 document.getElementById("console").textContent += evt.type + "(" + evt.target + ") ";
29 }
30 </script>
31 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698