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

Side by Side Diff: LayoutTests/svg/custom/image-base-uri.svg

Issue 1137753004: Remove xml:base support (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm tests Created 5 years, 7 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
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg">
3 <script type="text/javascript">
4 <![CDATA[
5 if (window.testRunner)
6 testRunner.dumpAsText();
7 var txt = document.createElementNS('http://www.w3.org/2000/svg', "text");
8 txt.setAttribute("id", "console");
9 txt.textContent = "PASS";
10 document.rootElement.appendChild(txt);
11 var ie = document.createElementNS('http://www.w3.org/2000/svg', "image");
12 ie.onerror = function() { document.getElementById("console").textContent = " FAIL"; }
13 ie.setAttribute("x", "0");
14 ie.setAttribute("y", "0");
15 ie.setAttribute("width", "100");
16 ie.setAttribute("height", "100");
17 ie.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:base", "resou rces/");
18 ie.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", "green-check er.png");
19 document.rootElement.appendChild(ie);
20 ]]>
21 </script>
22 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/W3C-SVG-1.1/struct-image-07-t-w3c.png ('k') | LayoutTests/svg/custom/image-base-uri-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698