Closed
Bug 522945
Opened 16 years ago
Closed 8 years ago
Canvas text drawing fails after maxWidth is used on first text draw
Categories
(Core :: Graphics: Canvas2D, defect)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | - |
People
(Reporter: tthomps, Unassigned)
Details
Attachments
(1 file)
1.48 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Build Identifier:
If the first call to fillText() on a canvas context uses maxWidth, subsequent calls to fillText will not work.
It looks like this may be a failure to correctly auto save-restore the context. Drawing a string without maxWidth on the first call to fillText will result in this bug being avoided as far as I can tell. If there are some cases where that is not accurate, a simple change of the fillStyle property or calling save/restore before a fillText should work.
Reproducible: Always
Steps to Reproduce:
See attachment.
Reporter | ||
Comment 1•16 years ago
|
||
Status: UNCONFIRMED → NEW
blocking2.0: --- → alpha1
Ever confirmed: true
Changing blocking1.9.3: from alpha1 to beta1 per conversation with Joe Drew and Jeff Muizelaar. Still good to fix sooner rather than later, though.
blocking2.0: alpha1 → beta1
Comment 4•15 years ago
|
||
Moving to betaN for triage to a specific milestone
blocking2.0: beta2+ → betaN+
Updated•15 years ago
|
Assignee: nobody → vladimir
Comment 5•15 years ago
|
||
Unless this is a regression, there's no reason this needs to specifically block Firefox 4.
blocking2.0: betaN+ → -
Assignee: vladimir → nobody
I have tested this bug with the latest version of firefox. It is not reproducible anymore.
Thanks!
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(milan)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•