Closed Bug 2039780 Opened 3 months ago Closed 3 months ago

Support computed-value-time calc() expressions for color functions

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: sajidanwar, Assigned: sajidanwar)

References

Details

Attachments

(1 file)

Bug 2035572 adds support for computed-value-time calc() expressions in general, but has some carve outs. This task is to implement this for the color functions. For example, the following should be supported:

  • hsl(calc(40deg + 90deg * sign(100vw - 800px)), 100%, 50%)
  • rgb(from white r calc(b * sibling-index() / sibling-count()) b / 1)
No longer depends on: 2035572
See Also: → 2035572
Summary: Support calc() expressions that can't be resolved at parse time for color functions → Support computed-value-time calc() expressions for color functions
Assignee: nobody → sajidanwar94
Status: NEW → ASSIGNED
Blocks: 2040168
No longer blocks: 2040168
No longer blocks: 2038218, 2038219, 2038512
Depends on: 2035572
No longer depends on: 2038937
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/871b0557b793 https://hg.mozilla.org/integration/autoland/rev/570e384f2ddd Support computed-value-time calc() expressions for color functions. r=firefox-style-system-reviewers,emilio

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60150 for changes under testing/web-platform/tests

Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch

Upstream PR merged by moz-wptsync-bot

Regressions: 2043078
QA Whiteboard: [qa-triage-done-c154/b153]
Regressions: 2048883
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: