gecko-dev/editor/libeditor
Masayuki Nakano 4ec66e983c Bug 1908239 - Make HTMLEditor::FocusedElementOrDocumentBecomesNotEditable set HTMLEditor::mIsInDesignMode r=m_kato
This is a simple mistake, it does not reset `mIsInDesignMode` when it emulates
a "blur".

Additionally, I realized that it does not check whether the focused element is
in the document or not and emulates "focus" of itself it the focused element is
in a different document.  In such case, the editor shouldn't have focus, so,
this is a hidden bug, but "blur" notification may occur asynchronously.
Therefore, this could be a bug only in some edge cases.

Differential Revision: https://phabricator.services.mozilla.com/D216907
2024-07-22 14:09:34 +00:00
..
crashtests Bug 1892514 - part 5-3: Enable the assertions in IMEContentObserver::FlatTextCache in some automated tests r=smaug 2024-07-03 08:04:28 +00:00
tests Bug 1906388 - Ensure dragend uses the same target as dragstart r=masayuki,dom-core 2024-07-16 14:53:18 +00:00
AutoRangeArray.cpp Bug 1883562 - part 1: Make AutoBlockElementsJoiner work with one range r=m_kato 2024-03-11 08:01:50 +00:00
AutoRangeArray.h Bug 1883562 - part 1: Make AutoBlockElementsJoiner work with one range r=m_kato 2024-03-11 08:01:50 +00:00
ChangeAttributeTransaction.cpp
ChangeAttributeTransaction.h
ChangeStyleTransaction.cpp
ChangeStyleTransaction.h
CompositionTransaction.cpp
CompositionTransaction.h
CSSEditUtils.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
CSSEditUtils.h
DeleteContentTransactionBase.cpp
DeleteContentTransactionBase.h
DeleteMultipleRangesTransaction.cpp
DeleteMultipleRangesTransaction.h
DeleteNodeTransaction.cpp
DeleteNodeTransaction.h
DeleteRangeTransaction.cpp
DeleteRangeTransaction.h
DeleteTextTransaction.cpp
DeleteTextTransaction.h
EditAction.h Bug 1877513 - Make HTMLEditor deletes only preceding lines of right child block if the range starts from start of a line r=m_kato 2024-04-27 00:36:26 +00:00
EditAggregateTransaction.cpp
EditAggregateTransaction.h
EditorBase.cpp Bug 1798379 - Make HTMLEditor store whether it has/had focus and is/was in the designMode by itself r=m_kato 2024-07-12 04:45:01 +00:00
EditorBase.h Bug 1897865 - Make TextEditor stop dispatching beforeinput/input events during committing composition caused by setting its value r=m_kato 2024-06-18 00:30:49 +00:00
EditorCommands.cpp Bug 1883367 - Disable editor commands for read-only editors. r=masayuki 2024-03-08 17:55:57 +00:00
EditorCommands.h
EditorController.cpp
EditorController.h
EditorDOMPoint.h
EditorEventListener.cpp Bug 1906015 - part 2: Make the most do_QueryInterface users for nsIFormControl use new getter methods r=smaug,credential-management-reviewers,sessionstore-reviewers,sclements 2024-07-10 00:46:59 +00:00
EditorEventListener.h Bug 1675847 - part 2: Rename some methods which handle "MouseClick" r=smaug 2024-06-14 00:18:46 +00:00
EditorForwards.h
EditorUtils.cpp Bug 1852478 - Convert CSS white-space into a shorthand that expands to white-space-collapse and text-wrap-mode longhands. r=firefox-style-system-reviewers,emilio 2024-01-26 09:40:02 +00:00
EditorUtils.h Bug 1852478 - Convert CSS white-space into a shorthand that expands to white-space-collapse and text-wrap-mode longhands. r=firefox-style-system-reviewers,emilio 2024-01-26 09:40:02 +00:00
EditTransactionBase.cpp
EditTransactionBase.h
HTMLAbsPositionEditor.cpp
HTMLAnonymousNodeEditor.cpp
HTMLEditHelpers.cpp
HTMLEditHelpers.h
HTMLEditor.cpp Bug 1908239 - Make HTMLEditor::FocusedElementOrDocumentBecomesNotEditable set HTMLEditor::mIsInDesignMode r=m_kato 2024-07-22 14:09:34 +00:00
HTMLEditor.h Bug 1798379 - Make HTMLEditor store whether it has/had focus and is/was in the designMode by itself r=m_kato 2024-07-12 04:45:01 +00:00
HTMLEditorCommands.cpp Bug 1883367 - Disable editor commands for read-only editors. r=masayuki 2024-03-08 17:55:57 +00:00
HTMLEditorController.cpp
HTMLEditorController.h
HTMLEditorDataTransfer.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
HTMLEditorDeleteHandler.cpp Bug 1877513 - Make HTMLEditor deletes only preceding lines of right child block if the range starts from start of a line r=m_kato 2024-04-27 00:36:26 +00:00
HTMLEditorDocumentCommands.cpp
HTMLEditorEventListener.cpp Bug 1675847 - part 2: Rename some methods which handle "MouseClick" r=smaug 2024-06-14 00:18:46 +00:00
HTMLEditorEventListener.h Bug 1675847 - part 2: Rename some methods which handle "MouseClick" r=smaug 2024-06-14 00:18:46 +00:00
HTMLEditorInlines.h
HTMLEditorNestedClasses.h
HTMLEditorObjectResizer.cpp
HTMLEditorState.cpp
HTMLEditSubActionHandler.cpp Bug 1898408 - Make our editor disconnect <br> element temporarily when its type is changed from or to padding one r=m_kato 2024-05-31 00:42:13 +00:00
HTMLEditUtils.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
HTMLEditUtils.h Bug 1891656 - Make HTMLEditUtils::GetMostDistantAncestorEditableEmptyInlineElement() use Element::FromNode() r=m_kato 2024-04-25 03:47:41 +00:00
HTMLInlineTableEditor.cpp Bug 1675847 - part 2: Rename some methods which handle "MouseClick" r=smaug 2024-06-14 00:18:46 +00:00
HTMLStyleEditor.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
HTMLTableEditor.cpp Bug 1870222 - part 1: Rename HTMLEditUtils::EmptyCheckOption::IgnoreEditableState with inverting the meaning r=m_kato 2023-12-25 12:54:06 +00:00
InsertNodeTransaction.cpp
InsertNodeTransaction.h
InsertTextTransaction.cpp
InsertTextTransaction.h
InternetCiter.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
InternetCiter.h
JoinNodesTransaction.cpp
JoinNodesTransaction.h
ManualNAC.h
MoveNodeTransaction.cpp
MoveNodeTransaction.h
moz.build
PendingStyles.cpp
PendingStyles.h
PlaceholderTransaction.cpp
PlaceholderTransaction.h
ReplaceTextTransaction.cpp
ReplaceTextTransaction.h
SelectionState.cpp
SelectionState.h
SplitNodeTransaction.cpp
SplitNodeTransaction.h
TextEditor.cpp Bug 1881845 - Remove nsContentCID.h r=smaug,media-playback-reviewers,karlt 2024-03-04 23:41:05 +00:00
TextEditor.h
TextEditorDataTransfer.cpp Bug 1871135 - Add content analysis support to clipboard operations r=edgar,nika,masayuki,devtools-reviewers 2024-02-13 11:26:48 +00:00
TextEditSubActionHandler.cpp Bug 1893351 - part 1: Add an option to make EditorBase::InsertTextWithTransaction always create a Text node r=m_kato 2024-05-30 00:42:41 +00:00
WSRunObject.cpp Bug 1893351 - part 1: Add an option to make EditorBase::InsertTextWithTransaction always create a Text node r=m_kato 2024-05-30 00:42:41 +00:00
WSRunObject.h Bug 1900164 - Add missing empty template argument list in function call. r=masayuki 2024-06-04 01:19:41 +00:00