gecko-dev/editor
Masayuki Nakano dc502df61b Bug 1703561 - Make HTMLEditor not allow to modify content nodes in <select> element r=m_kato
Like the other browsers, we shouldn't allow to user modify content in
`<select>` element.  Note that this case won't occur with moving caret
with input devices.  This occurs only with Selection API.

FYI: Chrome deletes `<select>` element if children of it are selected,
but it's odd behavior since user don't see where is selected visually
and may cause unexpected data loss (i.e., deleting `<select>` element).

Perhaps, we should investigate the behavior in other replaced elements
like `<textarea>` etc in follow up bugs.

Depends on D112513

Differential Revision: https://phabricator.services.mozilla.com/D112517
2021-04-20 12:07:15 +00:00
..
composer Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
docs Bug 1687167 - Move IME handling guide to source tree. r=masayuki DONTBUILD 2021-01-19 06:07:27 +00:00
libeditor Bug 1703561 - Make HTMLEditor not allow to modify content nodes in <select> element r=m_kato 2021-04-20 12:07:15 +00:00
reftests Bug 1696378 - Fuzz other test annotation. 2021-03-05 02:41:03 +01:00
spellchecker Bug 1698786: part 4) Add some logging to EditorSpellChecker. r=masayuki 2021-03-18 09:33:22 +00:00
txmgr Bug 1683534 - Make editor buildable outside of unified-build environment. r=sg 2021-01-04 14:18:50 +00:00
AsyncSpellCheckTestHelper.jsm
moz.build Bug 1687167 - Move IME handling guide to source tree. r=masayuki DONTBUILD 2021-01-19 06:07:27 +00:00
nsIDocumentStateListener.idl
nsIEditActionListener.idl
nsIEditor.idl Bug 1692673 - Avoid enabling Cut/Copy menu commands in text editor context when there's no selection, unless a listener is present. r=masayuki 2021-03-12 16:34:42 +00:00
nsIEditorMailSupport.idl
nsIEditorObserver.idl
nsIEditorSpellCheck.idl Bug 1671764 - Part 1. Use ACString for dictionary language instead. r=masayuki 2020-12-14 03:01:05 +00:00
nsIHTMLAbsPosEditor.idl
nsIHTMLEditor.idl Bug 1623918 - part 2: Mark nsINode::GetSelectionRootContent() and its root callers as MOZ_CAN_RUN_SCRIPT as far as possible r=smaug 2020-10-09 02:37:47 +00:00
nsIHTMLInlineTableEditor.idl
nsIHTMLObjectResizer.idl
nsITableEditor.idl Bug 1671556 - part 2: Replace nsITableEditor.getFirstSelectedCell() and nsITableEditor.getNextSelectedCell() with nsITableEditor.getSelectedCells() r=m_kato 2020-10-24 04:12:38 +00:00