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

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

Issue 6966014: Merge 87083 (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
« no previous file with comments | « no previous file | LayoutTests/fast/css/parse-color-int-or-percent-crash-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.layoutTestController) 4 if (window.layoutTestController)
5 layoutTestController.dumpAsText(); 5 layoutTestController.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 var e; 11 var e;
12 try { 12 try {
13 stopElement.style.getPropertyCSSValue("stop-color").setRGBColor( colorString); 13 stopElement.style.getPropertyCSSValue("stop-color").setRGBColor( colorString);
14 } catch (err) { 14 } catch (err) {
15 e = err; 15 e = err;
16 } 16 }
17 17
18 document.body.innerHTML = (e && e.SVG_INVALID_VALUE_ERR == 1) ? "PAS S" : "FAIL"; 18 document.body.innerHTML = (e && e.SVG_INVALID_VALUE_ERR == 1) ? "PAS S" : "FAIL";
19 </script> 19 </script>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/parse-color-int-or-percent-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698