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

Side by Side Diff: LayoutTests/svg/custom/intersection-list-crash.svg

Issue 10750009: Merge 120731 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | LayoutTests/svg/custom/intersection-list-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 <svg onload="runTest()" xmlns="http://www.w3.org/2000/svg" id="askedForIntersect ion"> 1 <svg onload="runTest()" xmlns="http://www.w3.org/2000/svg" id="askedForIntersect ion">
2 <style> 2 <style>
3 .c1:nth-last-of-type(1n) { } 3 .c1:nth-last-of-type(1n) { }
4 </style> 4 </style>
5 <script> 5 <script>
6 if (window.layoutTestController) 6 if (window.layoutTestController)
7 layoutTestController.dumpAsText(); 7 layoutTestController.dumpAsText();
8 8
9 function runTest() 9 function runTest()
10 { 10 {
11 docElement = document.documentElement; 11 docElement = document.documentElement;
12 textarea = document.createElementNS("http://www.w3.org/1999/xhtml", "textare a"); 12 textarea = document.createElementNS("http://www.w3.org/1999/xhtml", "textare a");
13 textarea.setAttribute("class", "c1"); 13 textarea.setAttribute("class", "c1");
14 docElement.appendChild(textarea); 14 docElement.appendChild(textarea);
15 object = document.createElementNS("http://www.w3.org/1999/xhtml", "object"); 15 object = document.createElementNS("http://www.w3.org/1999/xhtml", "object");
16 object.setAttribute("usemap", "#DivLogo-map"); 16 object.setAttribute("usemap", "#DivLogo-map");
17 iframe = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe"); 17 iframe = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
18 docElement.appendChild(iframe); 18 docElement.appendChild(iframe);
19 var svg = document.getElementById('askedForIntersection'); 19 var svg = document.getElementById('askedForIntersection');
20 var rect = svg.createSVGRect(); 20 var rect = svg.createSVGRect();
21 svg.getIntersectionList(rect, svg); 21 svg.getIntersectionList(rect, svg);
22 } 22 }
23 </script> 23 </script>
24 <rect style='content: counters(c, ".", decimal)'></rect> 24 <rect style='content: counters(c, ".", decimal)'></rect>
25 <text x="10" y="50">PASS. WebKit didn't crash.</text> 25 <text x="10" y="50">PASS. WebKit didn't crash.</text>
26 </svg> 26 </svg>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/custom/intersection-list-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698