Open Bug 1562905 Opened 5 years ago Updated 2 years ago

selection is lost when focusing contenteditable iframe with table cells selected

Categories

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

67 Branch
defect

Tracking

()

Tracking Status
firefox-esr60 --- wontfix
firefox-esr68 --- wontfix
firefox67 --- wontfix
firefox67.0.1 --- wontfix
firefox68 --- wontfix
firefox69 --- wontfix
firefox70 --- wontfix
firefox71 --- wontfix

People

(Reporter: kajetanl, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36

Steps to reproduce:

Bug found in Firefox 67.0.4

  1. Open attached file
  2. Select table cells.
  3. Press 'Focus editable' button.

Actual results:

Selection is moved to the beginning of editable element

Expected results:

Selection should remain the same

Alternative case:
In step 2. select only one table cell.

Selection is changed, so that table cell content is selected, instead of the whole cell with blue highlight around.

Attachment #9075389 - Attachment description: bug → Sample for reproducing bug
Attachment #9075389 - Attachment filename: bug → bug.html

The bug is reproduced since Firefox60.

Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=709eae4e54ffa3f3518745516dd5d27a05255af2&tochange=a007dd56b9947a93c276e82275d7065db1949c9e

Suspect:
575562183a3bc245c50dcf45d8dc21043b4565ae Masayuki Nakano — Bug 662591 - HTMLEditor should set caret to start of first editable text node or before first editable inline node r=m_kato

Product: Firefox → Core
Regressed by: 662591
Component: Untriaged → Editor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2

Makato - are there any plans to fix this for 70 or 71?

Flags: needinfo?(m_kato)

(In reply to janet [:janet] from comment #4)

Makato - are there any plans to fix this for 70 or 71?

I may turn off cell selection feature since this is only Gecko. So now this will be low priority.

Flags: needinfo?(m_kato)
Has Regression Range: --- → yes
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: