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

Side by Side Diff: LayoutTests/svg/custom/loadevents-externalresourcesrequired.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" onload="reportLoadEvent(this);runTest();">
2 <script>
3 <![CDATA[
4 if (window.testRunner)
5 testRunner.dumpAsText();
6
7 var results = new Array();
8
9 function reportLoadEvent(el) {
10 results.push(el.localName);
11 }
12 function runTest()
13 {
14 var test = document.getElementById("console");
15 if ( results.length != 4 || results[0] != "text" ||
16 results[1] != "image" || results[2] != "g" ||
17 results[3] != "svg") {
18 test.appendChild(document.createTextNode("Failed"));
19 } else {
20 test.appendChild(document.createTextNode("Passed"));
21 }
22 }
23 ]]>
24 </script>
25 <g onload="reportLoadEvent(this)">
26 <image externalResourcesRequired="true" id="image" onload="reportLoadEvent(t his)" width="100" height="100" xlink:href="resources/green-checker.png" />
27 <text y="130" x="20">This tests load dispatching order with externalResource sRequired. Bug 16447</text>
28 <text y="150" x="20" id="console" onload="reportLoadEvent(this)"/>
29 </g>
30 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698