Sync `css.types.attr` with CSS Values 5 extensions
Summary
Changes:
- Removed
type-or-unitsubfeature:frequency. - Renamed
fallbacktofallback-value. - Renamed
type-or-unittotype_function. - Wrapped all keywords in fences.
- Added subfeatures:
custom-ident,ident,image,length-percentage,resolution,string,transform-function.
Test results and supporting details
Related issues
Fixes https://github.com/mdn/browser-compat-data/issues/25618.
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).
This pull request has merge conflicts that must be resolved before it can be merged.
@hamishwillee Would you mind taking a look at these changes? 🙏
This pull request has merge conflicts that must be resolved before it can be merged.
@hamishwillee Could you please take another last look? 🙏
Added subfeatures: custom-ident, ident, image, length-percentage, resolution, string, transform-function.
To distinguish it from keywords in the attr attribute, I believe we should be more precise here and add <>.
<attr-type> = type( <syntax> ) | raw-string | number | <attr-unit>
e.g. <custom-ident>, <ident>, <image>, <length-percentage>, <resolution>, <string>, <transform-function>