Closed
Bug 1660303
Opened 4 years ago
Closed 4 years ago
List bullets don't work well with mac text api
Categories
(Core :: Disability Access APIs, defect, P2)
Tracking
()
RESOLVED
FIXED
82 Branch
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: eeejay, Assigned: eeejay)
References
Details
(Whiteboard: [mac2020_1])
Attachments
(1 file)
The mac text API should not include list bullets in its text interface.
Assignee | ||
Comment 1•4 years ago
|
||
The plot thickens. Safari has some interesting, arguably inconsistent, behavior I'm inclined to replicate it in Firefox.
For the given markup: data:text/html,<ul><li>hello</li><li>world</li></ul>
If you created two markers: a = markerAtIndex(0)
and b = markerAtIndex(4)
you would get some interesting numbers.
The "index" value of b
is 4. The length of the range from a to be is also 4. BUT the length of the text value of that range is 6 as it includes the bullet ("* hell").
Assignee | ||
Comment 2•4 years ago
|
||
We need to navigate past bullets when moving markers by character or word,
but we need to still include bullets when retrieving the string of a given
marker range.
Depends on D87797
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6e22b4fd2ee0
Remove list bullets from text marker navigation. r=Jamie
Comment 4•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•