зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1725850 - part 34: Port editor/libeditor/crashtests/762103.html to WPT r=saschanaz
Depends on D141326 Differential Revision: https://phabricator.services.mozilla.com/D141327
This commit is contained in:
Родитель
9fc3812c72
Коммит
9dc7efb70c
|
@ -1,6 +0,0 @@
|
|||
<body contenteditable=true>x y
|
||||
<script>
|
||||
document.body.firstChild.splitText(2).splitText(1).splitText(1);
|
||||
getSelection().collapse(document.body, 1);
|
||||
document.execCommand("forwardDelete", false, null);
|
||||
</script>
|
|
@ -13,7 +13,6 @@ load 582138-1.xhtml
|
|||
load 633709.xhtml
|
||||
load 639736-1.xhtml
|
||||
load 713427-2.xhtml
|
||||
load 762183.html
|
||||
load 766305.html
|
||||
load 766360.html
|
||||
load 766387.html
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<body contenteditable=true>x y
|
||||
<script>
|
||||
document.body.firstChild.splitText(2) // "x " and " y"
|
||||
.splitText(1) // "x", " " and " y"
|
||||
.splitText(1); // "x", "", " " and " y"
|
||||
getSelection().collapse(document.body, 1);
|
||||
document.execCommand("forwardDelete");
|
||||
</script>
|
Загрузка…
Ссылка в новой задаче