Closed
Bug 2014344
Opened 7 months ago
Closed 2 months ago
`nsINode::IsSelected()` and `IsItemInRangeComparetor` should use `nsContentUtils::ComparePoints` and convert the points to the flattened tree if comparing within the flattened tree
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
154 Branch
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
(Regressed 1 open bug)
Details
Attachments
(1 file)
No description provided.
| Assignee | ||
Comment 1•7 months ago
|
||
I'd like to hide nsContentUtils::ComparePointsWithIndices() because
it does not have information whether the offset is in TreeKind::DOM
or TreeKind::FlatForSelection.
This makes them convert the range boundaries to the corresponding
boundaries in the comparing tree.
Pushed by masayuki@d-toybox.com:
https://github.com/mozilla-firefox/firefox/commit/3ee3e6da160a
https://hg.mozilla.org/integration/autoland/rev/7cfa190abe2f
Make `nsINode::IsSelected()` and `IsItemInRangeComparator` stop using `nsContentUtils::ComparePointsWithIndices()` r=jjaschke,dom-core
Comment 3•6 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
status-firefox150:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Pushed by nfay@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/c8c31f023b12
https://hg.mozilla.org/mozilla-central/rev/a3cb591e504c
Revert "Bug 2014344 - Make `nsINode::IsSelected()` and `IsItemInRangeComparator` stop using `nsContentUtils::ComparePointsWithIndices()` r=jjaschke,dom-core"
Updated•6 months ago
|
Status: RESOLVED → REOPENED
status-firefox150:
fixed → ---
Flags: needinfo?(masayuki)
Resolution: FIXED → ---
Target Milestone: 150 Branch → ---
| Assignee | ||
Comment 5•6 months ago
|
||
Flags: needinfo?(masayuki)
Pushed by masayuki@d-toybox.com:
https://github.com/mozilla-firefox/firefox/commit/943d10011843
https://hg.mozilla.org/integration/autoland/rev/b33026b9779e
Make `nsINode::IsSelected()` and `IsItemInRangeComparator` stop using `nsContentUtils::ComparePointsWithIndices()` r=jjaschke,dom-core-reviewers
Comment 7•2 months ago
|
||
| bugherder | ||
Status: REOPENED → RESOLVED
Closed: 6 months ago → 2 months ago
status-firefox154:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
Pushed by ctuns@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/68ce4a56be07
https://hg.mozilla.org/mozilla-central/rev/03269cd4884a
Revert "Bug 2014344 - Make `nsINode::IsSelected()` and `IsItemInRangeComparator` stop using `nsContentUtils::ComparePointsWithIndices()` r=jjaschke,dom-core-reviewers"
Comment 9•2 months ago
|
||
Backed out for causing Bug 2052026
Status: RESOLVED → REOPENED
status-firefox154:
fixed → ---
Flags: needinfo?(masayuki)
Resolution: FIXED → ---
Target Milestone: 154 Branch → ---
| Assignee | ||
Updated•2 months ago
|
Status: REOPENED → ASSIGNED
Flags: needinfo?(masayuki)
Comment 10•2 months ago
|
||
Pushed by masayuki@d-toybox.com:
https://github.com/mozilla-firefox/firefox/commit/e16f99c4eb2c
https://hg.mozilla.org/integration/autoland/rev/bacbdff11ccb
Make `nsINode::IsSelected()` and `IsItemInRangeComparator` stop using `nsContentUtils::ComparePointsWithIndices()` r=jjaschke,dom-core-reviewers
Comment 11•2 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 months ago → 2 months ago
status-firefox154:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
Updated•1 month ago
|
QA Whiteboard: [qa-triage-done-c155/b154]
You need to log in
before you can comment on or make changes to this bug.
Description
•