Masayuki Nakano a895c665da Bug 1910800 - Make HTMLEditor::ComputeEditingHostInternal() stop referring mIsInDesignMode and refer focused element in the window r=m_kato
The method may be called without focus.  Therefore, it shouldn't refer
`mIsInDesignMode` and it should refer focused element in the window (including
shadows) if there is no selection ranges.

Differential Revision: https://phabricator.services.mozilla.com/D218726
2024-08-13 00:08:58 +00:00
..