[Webkit-unassigned] [Bug 80357] New: CSS3 calc: cannot determine sign of calculated Length without a maxValue

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 5 17:18:22 PST 2012


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

           Summary: CSS3 calc: cannot determine sign of calculated Length
                    without a maxValue
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mikelawther at chromium.org


WebCore/platform/Length.h defines the following functions:

    bool isZero() const 
    bool isPositive() const
    bool isNegative() const

A calculated value in a Length is always a mixed percent/absolute, eg -webkit-calc(100% - 10px). Without a maxValue (ie the value that equates to 100%) passed in to these functions, we cannot determine the sign or the zero-ness of the result.

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