Closed Bug 1414499 Opened 7 years ago Closed 4 years ago

Image with background-image property can't be selected in contenteditable div.

Categories

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

56 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: al.govorkova, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [h2review-noted])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36

Steps to reproduce:

This issue is not reproduces if images has src, width and height. But if image is set via background-image and has paddings, it is reproduced.
No issue in Chrome and IE.

Steps:
1. Open http://jsfiddle.net/nLNCC/406/
2. Set cursor to contentedirable div with image and 'test' text
3. Select all content in the div (Crtl+A)
4. Try to move the cursor before image


Actual results:

3rd step: image is not selected
4th step: cursor can't be moved before the image


Expected results:

3rd step: image and text are selected
4th step: cursor is moved before the image
Component: Untriaged → Editor
Product: Firefox → Core
This bug is multiple issue.  Could you file new separated bugs for 4th step?
Flags: needinfo?(al.govorkova)
(In reply to Makoto Kato [:m_kato] from comment #1)
> This bug is multiple issue.  Could you file new separated bugs for 4th step?

Sure! So this issue is for 3rd step (I can't edit the description), here is issue for 4th step: https://bugzilla.mozilla.org/show_bug.cgi?id=1415504
I also checked it on Nightly 58, behavior is the same.
Flags: needinfo?(al.govorkova)
(In reply to Alexandra Govorkova from comment #2)
> (In reply to Makoto Kato [:m_kato] from comment #1)
> > This bug is multiple issue.  Could you file new separated bugs for 4th step?
> 
> Sure! So this issue is for 3rd step (I can't edit the description), here is
> issue for 4th step: https://bugzilla.mozilla.org/show_bug.cgi?id=1415504
> I also checked it on Nightly 58, behavior is the same.

Thanks
Priority: -- → P3

Image selection seems to be working now, can you confirm?

Flags: needinfo?(m_kato)
Whiteboard: [h2review-noted]

Ye,s WFM. It seems to fixed by 65.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(m_kato)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.