Skip to content

feat(css): add corner-shape CSS property support#4405

Closed
xxiaoxiong wants to merge 1 commit into
highlightjs:mainfrom
xxiaoxiong:feat/css-corner-shape-4330
Closed

feat(css): add corner-shape CSS property support#4405
xxiaoxiong wants to merge 1 commit into
highlightjs:mainfrom
xxiaoxiong:feat/css-corner-shape-4330

Conversation

@xxiaoxiong
Copy link
Copy Markdown

@xxiaoxiong xxiaoxiong commented May 24, 2026

Summary

Adds the CSS corner-shape property to the list of recognized CSS properties for syntax highlighting.

Changes

  • src/languages/css.js: Added 'corner-shape' and its per-corner directional sub-properties to the CSS property keyword list.

Why

corner-shape is a CSS property (part of CSS Round Display Level 1) that controls the shape of rounded corners. As browser support expands, it should be properly highlighted.

Closes #4389

Adds the new corner-shape property and its per-corner variants.
As defined in https://developer.mozilla.org/en-US/docs/Web/CSS/corner-shape

Closes #4330
@xxiaoxiong xxiaoxiong closed this May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is this project available for acquisition or new maintainership?

1 participant