Skip to content

Conversation

yashrajbharti
Copy link
Contributor

@yashrajbharti yashrajbharti commented Sep 14, 2025

  • Add caret-shape property with Chrome 140+ experimental support
    • Supports auto, bar, block, underscore values
  • Add caret shorthand property
  • Both properties follow CSS UI Module Level 4 specification

I recently added them to mdn/content via mdn/content#41084

- Add caret-shape property with Chrome 140+ experimental support
  - Supports auto, bar, block, underscore values
- Add caret shorthand property (not supported in any browser yet)
- Both properties follow CSS UI Module Level 4 specification
@github-actions github-actions bot added data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:l [PR only] 101-1000 LoC changed labels Sep 14, 2025
Copy link
Contributor

github-actions bot commented Sep 14, 2025

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

@github-actions github-actions bot added the infra Infrastructure issues (npm, GitHub Actions, releases) of this project label Sep 14, 2025
- Remove unintended formatting changes (indentation and newline)
- Keep only the caret property additions
@github-actions github-actions bot removed the infra Infrastructure issues (npm, GitHub Actions, releases) of this project label Sep 14, 2025
Will add caret shorthand as it supports any browser
@yashrajbharti yashrajbharti marked this pull request as draft September 16, 2025 16:44
@yashrajbharti yashrajbharti changed the title Add CSS caret properties: caret-shape and caret shorthand Add CSS caret properties: caret-shape Sep 16, 2025
- Add enable-experimental-web-platform-features flag to Chrome support
- Apply flags to main property and all values (auto, bar, block, underscore)
- Follows same pattern as CanvasFilter implementation
@yashrajbharti yashrajbharti marked this pull request as ready for review September 16, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:l [PR only] 101-1000 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants