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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/svg/custom/nested-svg-load-events.svg
diff --git a/LayoutTests/svg/custom/nested-svg-load-events.svg b/LayoutTests/svg/custom/nested-svg-load-events.svg
new file mode 100644
index 0000000000000000000000000000000000000000..58548ae7d36ac4eaf7121aabbc5621ad7864960e
--- /dev/null
+++ b/LayoutTests/svg/custom/nested-svg-load-events.svg
@@ -0,0 +1,32 @@
+<svg id="outersvg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="reportLoadEvent(this);runTest();">
+ <text y="150" x="20" id="console" onload="reportLoadEvent(this)"/>
+ <script>
+ <![CDATA[
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ var results = new Array();
+
+ function reportLoadEvent(el) {
+ results.push(el.id);
+ }
+
+ function runTest()
+ {
+ var test = document.getElementById("console");
+ if ( results.length != 3 ||
+ results[0] != "image" ||
+ results[1] != "innersvg" ||
+ results[2] != "outersvg") {
+ test.textContent = "Failed - " + results.join(", ");
+ } else {
+ test.textContent = "Passed";
+ }
+ }
+ ]]>
+ </script>
+ <svg id="innersvg" onload="reportLoadEvent(this)">
+ <image id="image" onload="reportLoadEvent(this)" width="100" height="100" xlink:href="resources/green-checker.png" />
+ <text y="130" x="20">This tests load event dispatching on nested svg elements.</text>
+ </svg>
+</svg>
« 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