Closed Bug 1820662 Opened 2 years ago Closed 2 years ago

Simplify angle calc expressions

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox112 --- affected

People

(Reporter: canadahonk, Unassigned)

References

(Blocks 1 open bug, )

Details

Angle calc expressions (CalcNodes) should be simplified (turned into canonical unit deg). Length already does this, but missing for angle (and time, but not for this bug).

No dedicated WPT tests for this exist, we should probably add some new tests when doing this as well.

See Also: → 1820414
Blocks: css-values-4

Turns out we already do this (afaik) as our to_angle (and others like to_time) already convert to canonical unit first before returning. Will possibly make an upstream PR to WPT to add some tests for this anyway as it seems like something which should be tested for probably?

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.