Closed Bug 1614160 Opened 5 years ago Closed 5 years ago

Add AngleOrPercentage to style system

Categories

(Core :: CSS Parsing and Computation, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: ntim, Assigned: ntim)

References

Details

Attachments

(1 file)

conic-gradient supports percentages or angles for color stops. The spec says you should be able to combine them with math functions (calc/min/max), and that they should resolve to angle values, but for the sake of simplicity I won't implement this for the initial version. This also matches Chrome/Safari.

So, this will be AngleOrPercentage similar to NumberOrPercentage, rather than similar to LengthPercentage.

Pushed by ntim.bugs@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/8e9fe5726cf6
Add AngleOrPercentage to style system. r=emilio
Blocks: 1614202
No longer blocks: conic-gradients
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Blocks: conic-gradients
No longer blocks: 1614202
Blocks: 1614202
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: