mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
78cd50de20
Chrome handles text direction change as a block level format command. I.e., Chrome sets `dir` attributes of enclosing editable blocks of selected leaf nodes. However, aligning to this may require a lot of change and Thunderbird may require the traditional behavior. On the other hand, it's obviously wrong thing that `Ctrl` + `Shift` + `X` in an editable element changes the direction of entire the document since the `<body>` may not be editable. Therefore, this patch just changes the direction change target from `<body>` to active editing host if it's an `HTMLEditor`. Differential Revision: https://phabricator.services.mozilla.com/D195838 |
||
---|---|---|
.. | ||
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 |