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

Side by Side Diff: LayoutTests/svg/custom/SVGPaint-mutate-inline-style.svg

Issue 7002001: Revert 79985 - 2011-03-01 Nikolas Zimmermann <nzimmermann@rim.com> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 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
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/R EC-SVG-20010904/DTD/svg10.dtd">
3 <svg xmlns="http://www.w3.org/2000/svg" onload="runTest()">
4 <script>
5 function runTest()
6 {
7 var rect1 = document.getElementsByTagName("rect")[0];
8 rect1.style.getPropertyCSSValue("fill").setRGBColor("blue");
9
10 var rect4 = document.createElementNS("http://www.w3.org/2000/svg", "rect ");
11 rect4.setAttribute("x", "330");
12 rect4.setAttribute("y", "0");
13 rect4.setAttribute("width", "100");
14 rect4.setAttribute("height", "100");
15 rect4.setAttribute("style", "fill:green");
16
17 document.getElementsByTagName("svg")[0].appendChild(rect4);
18 }
19 </script>
20
21 <!-- Assure that the first rectangle, turns blue, and the others stay green! -->
22 <rect x="0" y="0" width="100" height="100" style="fill:green"/>
23 <rect x="110" y="0" width="100" height="100" style="fill:green"/>
24 <rect x="220" y="0" width="100" height="100" style="fill:green"/>
25 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/SVGPaint-mutate-attribute.svg ('k') | LayoutTests/svg/dom/SVGColor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698