Commit c9f2ec60 authored by Committed by Ian NealBrowse files
Bug 1390562 - part 1: HTML editor shouldn't split <div> container at inserting...
Bug 1390562 - part 1: HTML editor shouldn't split <div> container at inserting a line break for backward compatibility if defaultParagraphSeparator is "br" r=m_kato Starting from bug 1297414, HTMLEditor treats <div> container as same as <p> container at inserting a line break. This new behavior is check in WPT. So, it's better to use the new behavior for compatibility with other browsers. However, we're still using <br> as default paragraph separator for backward compatibility even though this is non-standard behavior. So, although, the old behavior is odd, we should keep treating them differently in the backward compatibility mode. Actually, this behavior change causes an incompatibility problem in Gmail, and may be in other web apps. MozReview-Commit-ID: INCihKYmcPd