blob: 07be64246582452c019e6340b7169b302dceaf74 [file] [log] [blame]
<svg onload="runTest()" xmlns="http://www.w3.org/2000/svg" id="askedForIntersection">
<style>
.c1:nth-last-of-type(1n) { }
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest()
{
docElement = document.documentElement;
textarea = document.createElementNS("http://www.w3.org/1999/xhtml", "textarea");
textarea.setAttribute("class", "c1");
docElement.appendChild(textarea);
object = document.createElementNS("http://www.w3.org/1999/xhtml", "object");
object.setAttribute("usemap", "#DivLogo-map");
iframe = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
docElement.appendChild(iframe);
var svg = document.getElementById('askedForIntersection');
var rect = svg.createSVGRect();
svg.getIntersectionList(rect, svg);
}
</script>
<rect style='content: counters(c, ".", decimal)'></rect>
<text x="10" y="50">PASS. WebKit didn't crash.</text>
</svg>