Selection crash

Sciter Forums Bug reports Selection crash

This topic contains 1 reply, has 1 voice, and was last updated by  Mikanoshi 7 months, 1 week ago.

  • Author
    Posts
  • #48965

    Mikanoshi
    Participant

    This crashes Sciter:

    <style>
    	div {
    		behavior: htmlarea;
    	}
    </style>
    <script type="text/tiscript">
    	$(div).selection.select(
    		[bookmark: null, 0, false],
    		[bookmark: null, 0, true]
    	);
    </script>
  • #48975

    Mikanoshi
    Participant

    First Ctrl+Shift+Click on any of these elements except div causes a crash too:

    <html>
    <head>
    	<script type="text/tiscript">
    		view.connectToInspector();
    	</script>
    </head>
    <body>
    	<u>test1</u>
    	<i>test2</i>
    	<b>test3</b>
    	<span>test4</span>
    	<div>test5</div>
    </body>
    </html>

You must be logged in to reply to this topic.