Open
Bug 2088472
Opened 14 days ago
Show invalid at computed value time (IACVT) error icon for ident()
Categories
(DevTools :: Inspector: Rules, enhancement)
DevTools
Inspector: Rules
Tracking
(Not tracked)
NEW
People
(Reporter: nchevobbe, Unassigned)
References
(Blocks 1 open bug)
Details
The ident() function can return IACVT for different reasons, see https://drafts.csswg.org/css-values-5/#ident:
To replace an ident() function, given a list of arguments:
- Let arg be the first item of arguments.
- Substitute arbitrary substitution functions in arg,
then parse it as +. If that returns failure, return the guaranteed-invalid value. Otherwise, let pieces be the result.- Replace each item in pieces with its computed value. If any item does not, at this point, become a string, integer, or ident, return the guaranteed-invalid value.
- Serialize each item in pieces, then concatenate the list. Return an ident whose value is the result. If the result can’t be represented as an ident (for example, the empty string), instead return the guaranteed-invalid value.
In such cases, it would be nice to show our purple IACVT icon
You need to log in
before you can comment on or make changes to this bug.
Description
•