New issue
Advanced search Search tips

Issue 618720 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Compat



Sign in to add a comment

execCommand/insertHTML has problems with images inside links with float [contenteditable]

Reported by cyril.au...@gmail.com, Jun 9 2016

Issue description

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

Example URL:
https://jsfiddle.net/crl/1r0v702d/

Steps to reproduce the problem:
1. browse https://jsfiddle.net/crl/1r0v702d/
2. inspect DOM, and see that float has been removed from the <a> replaced by other unexpected properties
3. 

What is the expected behavior?
the html content should stay the same

What went wrong?
<a href="http://www.placekitten.com/1280/800?image=12#.jpg" target="lightbox" style="float: right;"><img src="http://www.placekitten.com/150/100?image=12"></a>

becomes

<a href="http://www.placekitten.com/1280/800?image=12#.jpg" target="lightbox" style="font-size: 1.3em; display: inline !important;"><img src="http://www.placekitten.com/150/100?image=12"></a>

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 53.0.2756.0  Channel: dev
OS Version: 10.0
Flash Version: Shockwave Flash 22.0 r0
 

Comment 1 by ajha@chromium.org, Jun 10 2016

Cc: ajha@chromium.org
Components: Blink>Editing
Labels: -Arch-x86_64 M-53 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce this on the latest canary(53.0.2764.0) and the latest stable(51.0.2704.84) on Windows-7, Mac OS 10.11.5 and Linux Ubuntu 14.04.

IE shows the similar behavior as Chrome shows on older chrome versions(30.0.1549.0/40.0.2213.0). Only on Firefox html content remains the same.

Marking this as Untriaged for further investigation.
Project Member

Comment 2 by sheriffbot@chromium.org, Jul 6 2016

Labels: -M-53 M-54 MovedFrom-53
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 3 by yosin@chromium.org, Jul 13 2016

Components: -Blink>Editing Blink>Editing>Command
Status: Available (was: Untriaged)
Project Member

Comment 4 by sheriffbot@chromium.org, Aug 8 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by yosin@chromium.org, Aug 21 2017

Status: Available (was: Untriaged)

Comment 6 by yosin@chromium.org, Oct 4 2017

Labels: Pri-3
Project Member

Comment 7 by sheriffbot@chromium.org, Oct 4

Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment