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

Side by Side Diff: LayoutTests/svg/custom/loadevents-capturing.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 <![CDATA[
4 if (window.testRunner)
5 testRunner.dumpAsText();
6
7 var results = [ ];
8 function handler(event)
9 {
10 results.push(event.target.localName);
11 }
12 document.documentElement.addEventListener('load', handler, true);
13
14 function reportResults()
15 {
16 var console = document.getElementById("console");
17 var expected = [ "image", "text", "text", "text", "g", "svg" ];
18 for (var i = 0; i < expected.length; ++i) {
19 if (results[i] != expected[i]) {
20 console.appendChild(document.createTextNode("FAIL: " + i + " shoul d be " + expected[i] + " but instead is " + results[i] + ".\n"));
21 return;
22 }
23 }
24 console.appendChild(document.createTextNode("Passed"));
25 }
26 document.documentElement.addEventListener('load', reportResults);
27 ]]>
28 </script>
29 <g>
30 <image externalResourcesRequired="false" id="image" width="100" height="100" xlink:href="resources/green-checker.png" />
31 <text y="130" x="20">This tests that load dispatching works when there are n o</text>
32 <text y="150" x="20">direct listeners, but there are capturing event listene rs on an ancestor. Bug 16447</text>
33 <text y="170" x="20" id="console" />
34 </g>
35 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/load-non-wellformed.svg ('k') | LayoutTests/svg/custom/loadevents-capturing-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698