[Webkit-unassigned] [Bug 46538] New: Canvas: Crash when setting a font with size in 'ex' units

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 24 16:40:42 PDT 2010


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

           Summary: Canvas: Crash when setting a font with size in 'ex'
                    units
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://samples.msdn.microsoft.com/ietestcenter/html5/c
                    anvas/canvas-text-font-002.htm
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andreas.kling at nokia.com
                CC: jhanssen at codeaurora.org, mdelaney at apple.com,
                    heldercorreia at codeaurora.org


This test on the IE9 test center reveals a bug in WebKit:
http://samples.msdn.microsoft.com/ietestcenter/html5/canvas/canvas-text-font-002.htm

The problem is in CSSPrimitiveValue::computeLengthDouble() which assumes the passed-in style has a usable font().

-- 
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