зеркало из https://github.com/mozilla/gecko-dev.git
e970224f24
As far as I've tested, `<br>` element is always treated as usual even if its `display` is set to anything except `none`. Therefore, preceding collapsible white-spaces and `<br>` element should be treated as visible even if the following `<br>` element is `display:block` or something. Note that if `display:none` is specified, we should not treat it as a line break, but our editor cannot work properly in the case and `HTMLEditUtils` currently uses the default style of HTML elements if `display:none` is specified. Therefore, this patch makes `HTMLEditUtils` always treat `<br>` as inline. Differential Revision: https://phabricator.services.mozilla.com/D203403 |
||
---|---|---|
.. | ||
composer | ||
docs | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.sys.mjs | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorSpellCheck.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsITableEditor.idl |