Closed Bug 982837 Opened 10 years ago Closed 10 years ago

Canvas fillText method broken

Categories

(Firefox :: Untriaged, defect)

27 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: gullett.16, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release)
Build ID: 20140212131424

Steps to reproduce:

var canvas = document.getElementById('canvasElementID');
var context = canvas.getContext('2d');
context.fillStyle = '#000000';
context.fillText('Test', 100, 100);


Actual results:

Nothing.  However, when I change "fillText" to "strokeText", the text appears outlined on the screen.  I have attempted changing the fillStyle property to '#000', 'black', 'rgb(0,0,0)', and 'rgba(0,0,0,.8)', all to no avail.


Expected results:

The text should have been filled on the canvas.
A comment on hacker news mentioned this bug, and that it was fixed. Can you please check if it is resolved for you on latest nightly?
I updated my browser to version 28.0 today, and the fillText method is now working as expected.
Thanks for verifying, we can close this then.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
The fillText() method is still broken in V29.0.1, Win7/64!
(In reply to mozilla.org from comment #4)
> The fillText() method is still broken in V29.0.1, Win7/64!

I am using V29.0.1 on Windows 7 Ultimate SP1 (64-bit) and have observed this bug no longer exists.  What specific version of 64-bit Windows 7 are you seeing this behavior in?
(In reply to gullett.16 from comment #5)
> What specific version of 64-bit Windows 7 are you
> seeing this behavior in?

Windows 7 Home Premium SP1, 64-bit.
FireFox 29.0.1 still produced the error; however, it is gone in version 30.0 now.

Thank you for your assistance.
You need to log in before you can comment on or make changes to this bug.