Closed
Bug 1355014
Opened 8 years ago
Closed 8 years ago
stylo: Negative number in calc() should be accepted even if the location requires non-negative number
Categories
(Core :: CSS Parsing and Computation, enhancement, P1)
Tracking
()
RESOLVED
FIXED
People
(Reporter: xidorn, Assigned: nox)
References
Details
The spec says out-of-range values should not be rejected during parsing. Instead, they should be clamped during computing.
Per discussion with emilio, we may want to put the minimum number into struct Number and force properties to call a specific method when computing, so that we remember to clamp them when needed.
Comment 1•8 years ago
|
||
This is probably another good one for nox.
Assignee: nobody → nox
Priority: -- → P1
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/ed31f3ce742d
Update test expectations. r=emilio
Comment 4•8 years ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•