Closed Bug 1882631 Opened 4 months ago Closed 3 months ago

[css-values] Let B default to 1 in `round(<strategy>?, A, B)`

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: mozilla-apprentice, Assigned: jfkthame)

References

Details

Attachments

(1 file)

A resolution was made for csswg-drafts/#9668.

[css-values] Let B default to 1 in `round(<strategy>?, A, B)`

  • RESOLVED: Allow the modulus parameter to be optional in the case of rounding numbers and default to 1.

Discussion.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/318a7f66e94f
Allow <step> to be omitted (defaulting to 1) in the CSS round() function when the type is Number. r=tlouw
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/45078 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: