Closed
Bug 1229932
Opened 10 years ago
Closed 10 years ago
[Skia-update branch] SkRect.h:745: failed assertion "!r.isEmpty()"
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla46
People
(Reporter: jruderman, Assigned: lsalzman)
References
Details
(Keywords: assertion, regression, testcase, Whiteboard: [gfx-noted])
Attachments
(3 files)
Using the Mac build from https://treeherder.mozilla.org/#/jobs?repo=try&revision=91dc4f334fc5
(This does NOT reproduce on mozilla-central because bug 1082598 has not landed yet.)
gfx/skia/skia/include/core/SkRect.h:745: failed assertion "!r.isEmpty()"
| Reporter | ||
Comment 1•10 years ago
|
||
| Assignee | ||
Comment 2•10 years ago
|
||
The canvas spec allows infs ("unrestricted float") to be passed in to fillText(), though it does not specify what should be done with them.
Given that other places in the spec where float values are restricted to finite values, infs cause drawing to be ignored, and an inf offset can be reasonably interpreted here as "offset so far as to not be possibly visible", it seems best to just bail out of rendering text with infinite offsets.
Since Skia can't handle this downstream and it probably not being healthy for the other backends either to make them handle infs, this seems better handled in canvas itself.
| Assignee | ||
Updated•10 years ago
|
Whiteboard: [gfx-noted]
Updated•10 years ago
|
Attachment #8699151 -
Flags: review?(jmuizelaar) → review+
| Assignee | ||
Comment 3•10 years ago
|
||
Keywords: checkin-needed
Keywords: checkin-needed
Comment 5•10 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in
before you can comment on or make changes to this bug.
Description
•