Chromium Code Reviews

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

Issue 109373004: change cr/lf to lf in testcase. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | no next file » | 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 == "#0000ff" ? "PASS" : "FAIL"; 12 document.body.innerHTML = stopElement.style.stopColor == "#0000ff" ? "PASS" : "FAIL";
13 </script> 13 </script>
14 </body> 14 </body>
15 </html> 15 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine