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

Side by Side Diff: LayoutTests/fast/css/parse-color-int-or-percent-crash.html

Issue 1219153003: Unify handling of <color> for SVG/non-SVG properties (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 5 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/inspector/animation/animation-timeline-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <body> 2 <body>
3 <script> 3 <script>
4 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 6
7 var stopElement = document.createElementNS("http://www.w3.org/2000/s vg", "stop"); 7 var stopElement = document.createElementNS("http://www.w3.org/2000/s vg", "stop");
8 stopElement.style.stopColor = "blue"; 8 stopElement.style.stopColor = "blue";
9 9
10 var colorString = "rgb(00000000000000000000"; 10 var colorString = "rgb(00000000000000000000";
11 stopElement.style.setProperty("stop-color", colorString); 11 stopElement.style.setProperty("stop-color", colorString);
12 document.body.innerHTML = stopElement.style.stopColor == "rgb(0, 0, 255)" ? "PASS" : "FAIL"; 12 document.body.innerHTML = stopElement.style.stopColor == "blue" ? "P ASS" : "FAIL";
13 </script> 13 </script>
14 </body> 14 </body>
15 </html> 15 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/animation/animation-timeline-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698