<!-- This test passes if there is no crash. -->
<!-- It was created by the fuzzer and has been reduced. -->
<script>
    function go() {

        if (window.testRunner)
            testRunner.dumpAsText();

        q = document.getElementById('root').contentDocument;

        r = document.createRange();
        s = window.getSelection();

        r.selectNodeContents( q.getElementById('g') );
        s.addRange( r );

        document.designMode = 'on';
        document.open();
    }
</script>
<object data="resources/bug79798.svg" id="root" onload="go()"/</object>
