[Webkit-unassigned] [Bug 59479] New: Canvas.StrokeText doesn't draw after setting canvas dimensions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 26 11:58:55 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=59479

           Summary: Canvas.StrokeText doesn't draw after setting canvas
                    dimensions
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Canvas
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mikehenning at eclipse.net
                CC: mdelaney at apple.com


Created an attachment (id=91137)
 --> (https://bugs.webkit.org/attachment.cgi?id=91137&action=review)
Html file that exhibits bug

Overview: Canvas.Stroketext doesn't draw anything after you dynamically set the canvas' dimensions.
Steps to reproduce: Open the attached html file
Expected result: Shows the outline of the word "Text"
Actual result: Shows a blank page
Tested under: Linux GTK+ SVN 84867
It doesn't occur on Safari 5.0.5 or SVN r84630 under Windows XP (The text is drawn successfully)

In the example file, if you comment out the Javascript that sets the width and height of the canvas object, the text draws fine.
Also, if you move the Javascript that sets the width and height to before the context initialization, the text draws fine.
If you initialize the context, then change the dimensions of the canvas, and then  initialize the context of the canvas again, the text fails to be drawn.

This bug doesn't appear to affect any other canvas operations (Tested: StrokeRect, FillText).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list