browser-compat-data icon indicating copy to clipboard operation
browser-compat-data copied to clipboard

Sync `css.types.attr` with CSS Values 5 extensions

Open caugner opened this issue 8 months ago • 3 comments

Summary

Changes:

  • Removed type-or-unit subfeature: frequency.
  • Renamed fallback to fallback-value.
  • Renamed type-or-unit to type_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.

caugner avatar Apr 25 '25 16:04 caugner

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

github-actions[bot] avatar Apr 25 '25 16:04 github-actions[bot]

This pull request has merge conflicts that must be resolved before it can be merged.

github-actions[bot] avatar Apr 28 '25 07:04 github-actions[bot]

@hamishwillee Would you mind taking a look at these changes? 🙏

caugner avatar Jun 13 '25 15:06 caugner

This pull request has merge conflicts that must be resolved before it can be merged.

github-actions[bot] avatar Nov 07 '25 15:11 github-actions[bot]

@hamishwillee Could you please take another last look? 🙏

caugner avatar Nov 12 '25 09:11 caugner

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>

yisibl avatar Nov 26 '25 04:11 yisibl