Open Bug 1456427 Opened 7 years ago Updated 2 years ago

Selection including tables and paragraphs merge paragraph into table cell content

Categories

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

59 Branch
defect

Tracking

()

Tracking Status
firefox59 --- affected
firefox60 --- affected
firefox61 --- affected

People

(Reporter: m.samsel, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 Steps to reproduce: 1. Open example https://codepen.io/msamsel/pen/aGNNrZ 2. Select text between arrow starting from paragraph. Regular selection needs to be active and overlap table content 3. Remove selected content (Partially from table cell partially from paragraph) Actual results: If table cell contain text wrapped with <p>, then paragraph remain in table cell and paragraph below it, will merge together inside table cell This situation won't appear if content of table cell is text without wrapping paragraph Expected results: Paragraph below table should remain outside of the table.
Hello, I have reproduced this issue on Windows 10 x64, Mac OS x 10.12.6 and Ubuntu 17.04 and Nightly v61.0a1.
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout: Block and Inline
Ever confirmed: true
Product: Firefox → Core
Component: Layout: Block and Inline → Editor
Priority: -- → P3

Chrome behaves the same, so for web-compatibility we might consider this as not a bug.

Interestingly, undoing the deletion by tapping Ctrl+z doesn't work correctly. It merges the paragraph into the first selected table-cell.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: