Closed
Bug 2040168
Opened 5 months ago
Closed 5 months ago
Support computed-value-time calc() expressions for additional math functions (trig/exp)
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
153 Branch
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: sajidanwar, Assigned: sajidanwar)
References
Details
Attachments
(2 external files)
Bug 2035572 adds support for computed-value-time calc() expressions in general, but some math functions still don't currently support this. Specifically, the trigonometric functions (sin/cos/tan/asin/acos/atan/atan2) and most exponential functions (pow/sqrt/log/exp) are eagerly applied at parse time, which renders computed-value-time calc() expressions as invalid. For example, the following should be supported:
calc(sin(2 * pi * sibling-index() / sibling-count()))calc(sqrt(100 - 50 * sign(100vw - 800px)))
| Assignee | ||
Comment 1•5 months ago
|
||
Updated•5 months ago
|
Assignee: nobody → sajidanwar94
Status: NEW → ASSIGNED
| Assignee | ||
Updated•5 months ago
|
Pushed by ealvarez@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/ead20ee98047
https://hg.mozilla.org/integration/autoland/rev/c5c0eda26a91
Support computed-value-time calc() expressions for additional math functions. r=firefox-style-system-reviewers,emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60152 for changes under testing/web-platform/tests
| Assignee | ||
Comment 4•5 months ago
|
||
Pushed by agoloman@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/4f3792c37af6
https://hg.mozilla.org/integration/autoland/rev/4c944a45e4b0
Fix integer property expectations in font-property-unit-cycles.tentative.html. r=#style
https://hg.mozilla.org/mozilla-central/rev/c5c0eda26a91
https://hg.mozilla.org/mozilla-central/rev/4c944a45e4b0
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
status-firefox153:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
Upstream PR merged by moz-wptsync-bot
Updated•4 months ago
|
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in
before you can comment on or make changes to this bug.
Description
•