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

Side by Side Diff: LayoutTests/svg/custom/nested-svg-load-events.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 id="outersvg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3 .org/1999/xlink" onload="reportLoadEvent(this);runTest();">
2 <text y="150" x="20" id="console" onload="reportLoadEvent(this)"/>
3 <script>
4 <![CDATA[
5 if (window.testRunner)
6 testRunner.dumpAsText();
7
8 var results = new Array();
9
10 function reportLoadEvent(el) {
11 results.push(el.id);
12 }
13
14 function runTest()
15 {
16 var test = document.getElementById("console");
17 if ( results.length != 3 ||
18 results[0] != "image" ||
19 results[1] != "innersvg" ||
20 results[2] != "outersvg") {
21 test.textContent = "Failed - " + results.join(", ");
22 } else {
23 test.textContent = "Passed";
24 }
25 }
26 ]]>
27 </script>
28 <svg id="innersvg" onload="reportLoadEvent(this)">
29 <image id="image" onload="reportLoadEvent(this)" width="100" height="100" xl ink:href="resources/green-checker.png" />
30 <text y="130" x="20">This tests load event dispatching on nested svg element s.</text>
31 </svg>
32 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/loadevents-normal-expected.txt ('k') | LayoutTests/svg/custom/nested-svg-load-events-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698