Closed
Bug 1729111
Opened 3 years ago
Closed 3 years ago
Make `HTMLEditUtils::IsVisibleTextNode()` not use `WSRunScanner`
Categories
(Core :: DOM: Editor, task, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
94 Branch
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(3 files)
WSRunScanner
is designed for handling only editable content, but IsVisibleTextNode()
should not work with editable state check.
Assignee | ||
Comment 1•3 years ago
|
||
Depends on D123876
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D124552
Assignee | ||
Comment 3•3 years ago
|
||
WSRunScanner
is designed for scanning editable nodes, but
IsVisibleTextNode()
should not check editable state. Therefore, it should
check it without WSRunScanner
like IsVisibleBRElement()
.
Depends on D124553
Assignee | ||
Comment 4•3 years ago
|
||
Changing severity to N/A because of a task for fixing the wrong design.
Severity: -- → N/A
Priority: -- → P3
Updated•3 years ago
|
Attachment #9239494 -
Attachment description: Bug 1729111 - part 1: Make `HTMLEditUtils.h` use `mozilla:dom` namespace by default r=m_kato! → Bug 1729111 - part 1: Make `HTMLEditUtils.h` avoud using `dom::` at using classes in the namespace r=m_kato!
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/b7d51d4e4a3c
part 1: Make `HTMLEditUtils.h` avoud using `dom::` at using classes in the namespace r=m_kato
https://hg.mozilla.org/integration/autoland/rev/0d218ad033af
part 2: Split scanning following content part of `HTMLEditUtils::IsVisibleBRElement()` r=m_kato
https://hg.mozilla.org/integration/autoland/rev/d1e96fb23d43
part 3: Rewrite `HTMLEditUtils::IsVisibleTextNode()` without `WSRunScanner` r=m_kato
Comment 6•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b7d51d4e4a3c
https://hg.mozilla.org/mozilla-central/rev/0d218ad033af
https://hg.mozilla.org/mozilla-central/rev/d1e96fb23d43
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox94:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•