gecko-dev/editor/libeditor/crashtests/1317704.html
Makoto Kato 9ca28d2919 Bug 1317704 - Part 2. Add test. r=masayuki
MozReview-Commit-ID: AVOvEZ1sMVq

--HG--
extra : rebase_source : 82695e8f1b24b61258311d11f9ce19cfbae2033f
2016-12-15 15:02:10 +09:00

37 lines
593 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script>
addEventListener('DOMContentLoaded', function(){
document.documentElement.className = 'lizard';
setTimeout(function(){
document.execCommand('selectAll', false, null);
document.designMode = 'on';
document.execCommand('removeformat', false, null);
}, 0);
});
</script>
<style>
.lizard{
-webkit-user-select:all;
}
*{
position:fixed;
display:table-column;
}
</style>
</head>
<body>
<span>
<span contenteditable>
<span class=lizard></span>
<span class=lizard></span>
<span />
</span>
</span>
</span>
</span>
</body>
</html>