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

Side by Side Diff: LayoutTests/http/tests/svg/image-base-within-aboutblank-iframe.html

Issue 329943003: Fix resolving protocol-agnostic <svg:image> URLs in about:blank iframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/http/tests/svg/image-base-within-aboutblank-iframe-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 iframe {
4 border: none;
5 }
6 body, iframe {
7 margin: 0;
8 padding: 0;
9 }
10 </style>
11 <script>
12 if (window.testRunner)
13 testRunner.waitUntilDone();
14
15 function finishTest() {
16 if (window.testRunner)
17 testRunner.notifyDone();
18 }
19 </script>
20 <iframe></iframe>
21 <script>
22 var iframe = document.querySelector('iframe');
23 iframe.contentWindow.finishTest = finishTest;
24 iframe.contentDocument.body.innerHTML =
25 '<style>body { margin: 0; padding: 0; }</style>'+
26 '<svg width="100" height="100">'+
27 '<image width="100" height="100" xlink:href="//localhost:8000/resources/square10 0.png" onload="finishTest()"></image>'+
28 '</svg>';
29 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/svg/image-base-within-aboutblank-iframe-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698