HTML altered
Reported by
r...@froala.com,
Mar 9 2017
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Example URL: / Steps to reproduce the problem: 1. Have this HTML <p><a href="#"><span style="color: rgb(243, 121, 52);">abc</span></a></p> 2. Type any char after "abc" 3. Observe the HTML, it will be altered and reformatted. What is the expected behavior? The expected behavior would be to keep my html intact non-altered if that is my desired structure. What went wrong? From this HTML: <p><a href="#"><span style="color: rgb(243, 121, 52);">abc</span></a></p> To this HTML: <p><span style="color: rgb(243, 121, 52);"><a href="#">abc</a> </span></p> Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? Yes Chrome version: 56.0.2924.87 Channel: stable OS Version: OS X 10.11.6 Flash Version: Shockwave Flash 24.0 r0 -
,
Mar 9 2017
,
Mar 9 2017
,
Mar 10 2017
Able to reproduce this issue on Mac 10.12.3, Win-10 and Ubuntu 14.04 using chrome reported version #56.0.2924.87 and latest canary #59.0.3036.0. This is a non-regression issue as it is observed from M30 old builds. Hence, marking it as untriaged to get more inputs from dev team. Thanks...!!
,
Mar 13 2017
This is an expected behavior. Chrome and Firefox produce different HTML for https://jsfiddle.net/hroaermm/1/ * Chrome: <span id="target" style="color: rgb(243, 121, 52);"><a href="#">abc</a>xyz</span> * Firefox: <a href="#"><span id="target" style="color: rgb(243, 121, 52);">abcxyz</span></a> |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by r...@froala.com
, Mar 9 2017Steps to reproduce the problem: 1. Have this HTML <div contenteditable="true"> <p><a href="#"><span style="color: rgb(243, 121, 52);">abc</span></a></p> </div> 2. Type any char after "abc" 3. Observe the HTML, it will be altered and reformatted.