Open Bug 1670518 Opened 4 years ago Updated 4 years ago

white space should be compressed when after <span> element with tail white space

Categories

(Core :: DOM: Editor, defect, P4)

defect

Tracking

()

People

(Reporter: m_kato, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Attached file example (obsolete) (deleted) —

I found this when I am working bug 1665167.

This is a sample of HTML.

<div contenteditable>foo <span id="span1" style="background-color: yellow;"> bar </span> baz</div>

When selecting inner <span> element, then we hit [backspace] key, white space before "baz" should be removed. Blink works, but Gecko doesn't.

white-spaces-after-execCommand-delete.tentative.html doesn't seem to have this test case...

Attachment #9180936 - Attachment description: exmple → example
Attachment #9180936 - Attachment filename: ex1.html → example.html
Attached file example.html (deleted) —
Attachment #9180936 - Attachment is obsolete: true
Severity: -- → S3
Priority: -- → P4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: