Make `WSRunScanner` free from editing host
Categories
(Core :: DOM: Editor, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox136 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
(Depends on 1 open bug, Blocks 3 open bugs)
Details
Attachments
(5 files)
Currently, WSRunScanner needs to take an editing host as a required parameter and it may stop scanning if it reaches non-editable content. However, the user needs to scan outside the editing host. For example, when we need to check whether we need to put a <br> at end of inline editing host, we need to check whether the inline editing host is immediately before a block boundary.
| Assignee | ||
Comment 1•1 year ago
|
||
If it scans starting from a editable point, it does not require the editing
host as an ancestor limiter. Therefore, some users can be free from editing
host.
Depends on D232937
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
Depends on D233791
| Assignee | ||
Comment 3•1 year ago
|
||
Depends on D233792
| Assignee | ||
Comment 4•1 year ago
|
||
Note that this removes a lot of aEditingHost params. This may cause odd
behavior if editing host is changed by a legacy mutation event listener.
However, it'll be completely deleted soon and even if we meet some regressions,
we can just restore the param to set aAncestorLimiter.
Depends on D233793
| Assignee | ||
Comment 5•1 year ago
|
||
Depends on D233794
Comment 7•1 year ago
|
||
Backed out for causing failures at WSRunScanner.h.
Backout link: https://hg.mozilla.org/integration/autoland/rev/3cd79f535be41e087388c50fbd8641a44607ac6c
Failure log: https://treeherder.mozilla.org/logviewer?job_id=491387048&repo=autoland&lineNumber=27186
https://hg.mozilla.org/mozilla-central/rev/4fcf1ac4f4f5
https://hg.mozilla.org/mozilla-central/rev/07221ff52d54
https://hg.mozilla.org/mozilla-central/rev/21d25ec4ae50
https://hg.mozilla.org/mozilla-central/rev/c28a76805cb6
https://hg.mozilla.org/mozilla-central/rev/ed2f02b40979
| Assignee | ||
Updated•1 year ago
|
Description
•