mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
1738b19f28
Currently, `TextFragmentData` stores whether the scan start point is preformatted or not. However, it does not make sense because the class may contain other text nodes which may have different style in its range. The main job of `TextFragmentData` is managing white-spaces as visible sequence or invisible sequence. So, preformatted white-space should be treated as visible character because of not collapsible with adjacent formatted ASCII white-spaces. First of all, this patch its initializer stop scanning white-spaces if it meets non-empty preformatted text node. Note that the new failures are caused by the difference whether which white-space sequence should be normalized when modifying text at text node or inline element boundary. This difference should be fixed in another bug because our new normalizer does not handle this same as Blink for now. Differential Revision: https://phabricator.services.mozilla.com/D84317 |
||
---|---|---|
.. | ||
composer | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorObserver.idl | ||
nsIEditorSpellCheck.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsITableEditor.idl |