Closed Bug 1814588 Opened 1 year ago Closed 10 months ago

[css-values-4] Sign-Related Functions: abs() and sign()

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: evilpie, Assigned: tlouw)

References

(Blocks 9 open bugs, )

Details

(Keywords: dev-doc-complete)

Attachments

(1 file, 1 obsolete file)

No description provided.
See Also: → 1814469

This makes available the use of abs() and sign() in CSS functions.

I added the try_map function to all values so that a simple function can
be applied to them.

https://drafts.csswg.org/css-values-4/#sign-funcs

Assignee: nobody → tlouw
Attachment #9316333 - Attachment description: WIP: Bug 1814588 - Implement abs() and sign() functions r=emilio,#layout-reviewers → Bug 1814588 - Implement abs() and sign() functions r=emilio,#layout-reviewers
Status: NEW → ASSIGNED
Attachment #9316333 - Attachment description: Bug 1814588 - Implement abs() and sign() functions r=emilio,#layout-reviewers → WIP: Bug 1814588 - Implement abs() functions r=emilio,#layout-reviewers
Attachment #9316333 - Attachment description: WIP: Bug 1814588 - Implement abs() functions r=emilio,#layout-reviewers → Bug 1814588 - Implement abs() functions r=emilio,#layout-reviewers
Attachment #9316333 - Attachment description: Bug 1814588 - Implement abs() functions r=emilio,#layout-reviewers → WIP: Bug 1814588 - Implement abs() functions r=emilio,#layout-reviewers

Once we've got abs() implemented, we'll presumably start passing these interop-2023-mathfunctions wpt tests:
https://wpt.fyi/results/css/css-values/signs-abs-computed.html
https://wpt.fyi/results/css/css-values/signs-abs-serialize.html

Depends on: 1815448
Attachment #9316333 - Attachment description: WIP: Bug 1814588 - Implement abs() functions r=emilio,#layout-reviewers → WIP: Bug 1814588 - Implement abs() and sign() functions r=emilio,#layout-reviewers
Attachment #9316333 - Attachment description: WIP: Bug 1814588 - Implement abs() and sign() functions r=emilio,#layout-reviewers → Bug 1814588 - Implement abs() and sign() functions r=emilio,#layout-reviewers
Attachment #9316333 - Attachment description: Bug 1814588 - Implement abs() and sign() functions r=emilio,#layout-reviewers → WIP: Bug 1814588 - Implement abs() and sign() functions r=emilio,#layout-reviewers
Depends on: 1838600
Attachment #9316333 - Attachment description: WIP: Bug 1814588 - Implement abs() and sign() functions r=emilio,#layout-reviewers → WIP: Bug 1814588 - Implement sign() function r=emilio,#layout-reviewers
Attachment #9316333 - Attachment is obsolete: true

This makes available the use of the sign() function.

https://drafts.csswg.org/css-values-4/#sign-funcs

Attachment #9342584 - Attachment description: Bug 1814588 - Implement sign() function r=emilio,#layout-reviewers → WIP: Bug 1814588 - Implement sign() function r=emilio,#layout-reviewers
Attachment #9342584 - Attachment description: WIP: Bug 1814588 - Implement sign() function r=emilio,#layout-reviewers → Bug 1814588 - Implement sign() function r=emilio,#layout-reviewers
Pushed by tlouw@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b961bb2e7295
Implement sign() function r=emilio
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
Regressions: 1843695

Docs additions can be tracked in the following GitHub issue: https://github.com/mdn/content/issues/28293

Blocks: 1881149
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: