[Webkit-unassigned] [Bug 68760] New: Assertion failure in CSSPrimitiveValue::computeLengthDouble() when media query specifies unit-less length

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 24 11:35:45 PDT 2011


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

           Summary: Assertion failure in
                    CSSPrimitiveValue::computeLengthDouble() when media
                    query specifies unit-less length
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://hulu.com
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mitz at webkit.org


To reproduce, visit the URL, or try

<style>
    @media all and (min-width:0) {
    body { }
}
</style>

Result:

SHOULD NEVER BE REACHED
WebCore/css/CSSPrimitiveValue.cpp(404) : double WebCore::CSSPrimitiveValue::computeLengthDouble(WebCore::RenderStyle *, WebCore::RenderStyle *, double, bool)

the primitiveType() is CSS_NUMBER, which is not expected in the switch() statement.

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