Open Bug 2029675 Opened 6 months ago Updated 6 months ago

use-design-tokens should allow -moz-available size value

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(Not tracked)

People

(Reporter: sthompson, Unassigned)

References

(Blocks 1 open bug)

Details

-moz-available is an accepted value for inline sizes e.g width, max-width. There are 7 usages in the codebase at this time https://searchfox.org/firefox-main/search?q=-moz-available&path=*.css&case=true&regexp=false

https://searchfox.org/firefox-main/rev/4cbe9648c5d4c1cf600b7a8c3589e4589541ded5/layout/style/nsComputedDOMStyle.cpp#2101-2128 shows -moz-available as a size supported in the codebase. min-content, max-content, fit-content, and stretch are already allowed by use-design-tokens https://searchfox.org/firefox-main/rev/4cbe9648c5d4c1cf600b7a8c3589e4589541ded5/tools/lint/stylelint/stylelint-plugin-mozilla/config.mjs#391-394

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