Closed Bug 1686827 Opened 5 years ago Closed 5 years ago

GeckoTextMarker lesser than operator returns wrong result when comparing a point in a link and a point at its start offset

Categories

(Core :: Disability Access APIs, defect, P1)

All
macOS
defect

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

Details

(Whiteboard: [mac2020_2])

Attachments

(1 file)

Given the markup <p>hello <a href="#">world</a></p>

If two markers are compared: one at position 6 (right after the space) and position 7 (right after the "w"), then the second marker will erroneously be considered lesser than the first.

Assignee: nobody → eitan
Pushed by eisaacson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f274113ecdf8 GeckoTextMarker is lesser than if child's offset is greater or equal. r=morgan
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: