Closed Bug 1804146 Opened 2 years ago Closed 2 years ago

Further clarify why we need NS_CSS_MINMAX

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

Details

Attachments

(1 file)

Bug 763399 has discussed why we want NS_CSS_MINMAX, but I still spend time to figure out the reason independently. It would be good to clarify the document.

Both std::clamp() and mozilla::clamped cannot handle the case where min >
max.

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/8c989da9c2cd Clarify why we need NS_CSS_MINMAX. r=emilio DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: