mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 15:57:31 +09:00
Bug 1348851 - Use new block when better selection isn't found.
Tag #1375
This commit is contained in:
parent
1f233fa14b
commit
9220996e92
3 changed files with 35 additions and 11 deletions
19
editor/libeditor/crashtests/1348851.html
Normal file
19
editor/libeditor/crashtests/1348851.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script>
|
||||
function boom(){
|
||||
document.designMode = "on";
|
||||
document.execCommand("insertlinebreak");
|
||||
document.designMode = "off";
|
||||
document.designMode = "on";
|
||||
document.execCommand("insertunorderedlist");
|
||||
}
|
||||
addEventListener("DOMContentLoaded", boom);
|
||||
</script>
|
||||
</head>
|
||||
<body style="display:flex;">
|
||||
<!--comment-->
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue