WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
80357
CSS3 calc: cannot determine sign of calculated Length without a maxValue
https://bugs.webkit.org/show_bug.cgi?id=80357
Summary
CSS3 calc: cannot determine sign of calculated Length without a maxValue
Mike Lawther
Reported
2012-03-05 17:18:22 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug