17 lines
457 B
HTML
17 lines
457 B
HTML
<!-- This test passes if there is no crash. -->
|
|
<script>
|
|
function go() {
|
|
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
q = document.getElementById('root').contentDocument;
|
|
q.firstChild.setAttribute('style', 'content:counter(item)');
|
|
|
|
document.designMode = 'on';
|
|
q.getElementById('x').appendChild( q.firstChild.cloneNode(1) );
|
|
}
|
|
</script>
|
|
<object data="resources/bug78838.svg" id="root" onload="go()"/></object>
|
|
<p>PASSED</p>
|