Clean up focus/blur handling code of editor
Categories
(Core :: DOM: Editor, task, P3)
Tracking
()
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(8 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Assignee | ||
Comment 1•3 years ago
|
||
Depends on D147136
Assignee | ||
Comment 2•3 years ago
|
||
It's currently a public method, but it can be protected in a following patch.
Depends on D147137
Assignee | ||
Comment 3•3 years ago
|
||
This method also can be protected in a following patch.
Depends on D147138
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D147139
Assignee | ||
Comment 5•3 years ago
|
||
Depends on D147140
Assignee | ||
Comment 6•3 years ago
|
||
Note that EditorBase::OnBlur
will be simpler at the last patch.
Depends on D147141
Assignee | ||
Comment 7•3 years ago
|
||
I'd like to split it for TextEditor
and HTMLEditor
. HTMLEditor
does not
require flushing the layout because it's required by TextEditor
if and only if
a preceding focus
event listener or the Element.focus
caller reframes
<input>
or <textarea>
element (bug 1755104). So this would fix bug 1760045.
Depends on D147142
Assignee | ||
Comment 8•3 years ago
|
||
Similar to the previous patch, we should split the method into TextEditor
and HTMLEditor
.
Depends on D147143
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
Comment 12•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6946652d4ed9
https://hg.mozilla.org/mozilla-central/rev/77b1aeae51f1
https://hg.mozilla.org/mozilla-central/rev/b635369043bd
https://hg.mozilla.org/mozilla-central/rev/526ea470c4dd
https://hg.mozilla.org/mozilla-central/rev/9bb0023ac750
https://hg.mozilla.org/mozilla-central/rev/049366a15c3c
https://hg.mozilla.org/mozilla-central/rev/75a25dbc4c88
https://hg.mozilla.org/mozilla-central/rev/5d866154c49f
Comment 13•3 years ago
|
||
backout bugherder uplift |
Backed out 8 changesets (bug 1770874) on beta, large refactoring during soft code freeze, needs nightly bake time a=backout
https://hg.mozilla.org/releases/mozilla-beta/rev/f4160fb449e4
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Description
•