Closed
Bug 1769166
Opened 3 years ago
Closed 2 years ago
Push updates to TextBounds
Categories
(Core :: Disability Access APIs, task)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
102 Branch
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: morgan, Assigned: Jamie)
References
(Blocks 1 open bug)
Details
(Whiteboard: [ctw-m2])
Crash Data
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
TextBounds should update in a manner similar to bounds and text, like we do for line offsets :)
Reporter | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Note that our failure to update the cache causes crashes when clients try to retrieve text bounds after text has mutated.
Crash Signature: [@ mozilla::detail::InvalidArrayIndex_CRASH | mozilla::a11y::TextLeafPoint::CharBounds ]
Assignee | ||
Comment 2•2 years ago
|
||
We detect this in the same way that we detect whether we need to push line starts; i.e. a text update or a bounds change.
Since this is tied to the Text and Bounds domains, I removed the separate TextBounds domain.
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7945b5e5d756
Update the cache when text bounds change. r=morgan
Comment 4•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox102:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•