execCommand/insertHTML has problems with images inside links with float [contenteditable]
Reported by
cyril.au...@gmail.com,
Jun 9 2016
|
||||||||
Issue descriptionUserAgent: 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
,
Jul 6 2016
Moving this nonessential bug to the next milestone. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 13 2016
,
Aug 8 2017
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
,
Aug 21 2017
,
Oct 4 2017
,
Oct 4
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
,
Oct 5
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by ajha@chromium.org
, Jun 10 2016Components: Blink>Editing
Labels: -Arch-x86_64 M-53 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)