Open
Bug 2001192
Opened 10 months ago
Updated 10 months ago
Update the use-space-tokens rule to accept usage of calc
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Developer Infrastructure
Lint and Formatting
Tracking
(Not tracked)
NEW
People
(Reporter: hjones, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp][acorntractors])
We have some valid cases where people need to do something like:
margin-block-start: calc(var(--size-item-large) * 5);
in order to get some larger space values that we don't want to tokenize directly. Right now the lint rule seems to flag this as an error based on the fact that the work for bug 1987141 got backed out for doing exactly that. For this rule I think we should allow calc as long as it's using a token.
| Reporter | ||
Updated•10 months ago
|
Whiteboard: [recomp][acorntractors]
Updated•10 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•