Skip to content

Commit

Permalink
enh(css) add inset, border-start-*-radius, border-end-*-radius (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vast authored May 17, 2024
1 parent ea6ad28 commit ed7e8f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Core Grammars:
- enh(css) add `justify-items` and `justify-self` attributes [Vasily Polovnyov][]
- enh(css) add `accent-color`, `appearance`, `color-scheme`, `rotate`, `scale` and `translate` attributes [Carl Räfting][]
- fix(fortran) fixes parsing of keywords delimited by dots [Julien Bloino][]
- enh(css) add `inset`, `inset-*`, `border-start-*-radius` and `border-end-*-radius` attributes [Vasily Polovnyov]

New Grammars:

Expand Down
11 changes: 11 additions & 0 deletions src/languages/lib/css-shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,14 @@ export const ATTRIBUTES = [
'border-left-width',
'border-radius',
'border-right',
'border-end-end-radius',
'border-end-start-radius',
'border-right-color',
'border-right-style',
'border-right-width',
'border-spacing',
'border-start-end-radius',
'border-start-start-radius',
'border-style',
'border-top',
'border-top-color',
Expand Down Expand Up @@ -483,6 +487,13 @@ export const ATTRIBUTES = [
'image-resolution',
'ime-mode',
'inline-size',
'inset',
'inset-block',
'inset-block-end',
'inset-block-start',
'inset-inline',
'inset-inline-end',
'inset-inline-start',
'isolation',
'kerning',
'justify-content',
Expand Down

0 comments on commit ed7e8f1

Please sign in to comment.