`test_bug430392.html` checks after NOOP result
Categories
(Core :: DOM: Editor, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox133 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(1 file)
The editing host has:
<span contenteditable="false">A</span> ; <span contenteditable="false">B</span> ; <span contenteditable="false">C</span>
Then, the first test tries to to move selection as:
<span contenteditable="false">A</span>[] ; <span contenteditable="false">B</span> ; <span contenteditable="false">C</span>
However, the selection becomes:
<span contenteditable="false">A[]</span> ; <span contenteditable="false">B</span> ; <span contenteditable="false">C</span>
So, caret is collapsed in the non-editable text node. However, due to bug 1921700, beforeinput
is fired as expected, however, insertParagraph
, insertParagraph
, deleteContentBackward
and deleteContentBackward
do nothing since non-editable state. Then, the test checks the result whether the content is same as first.
Assignee | ||
Comment 1•6 months ago
|
||
Before bug 1921705, the first ArrowRight
key press moves caret to end of the
non-editable character "A". Therefore, nothing is changed by pressing Enter
nor Backspace
. However, beforeinput
events are fired due to bug 1921700.
In bug 1921705, we fix the caret move issue. Then, this test starts editing.
Therefore, input
events should be fired as same as beforeinput
events.
Additionally, due to the complicated collapsible white-space handling, some
results are not same as original text content. Therefore, we need to adjust
the expected results.
Depends on D224183
Comment 3•6 months ago
|
||
bugherder |
Description
•