From ed7e8f15e880135c895ab2ac0c8f0728018d6a6b Mon Sep 17 00:00:00 2001 From: Vasily Polovnyov Date: Sat, 18 May 2024 01:57:44 +0300 Subject: [PATCH] enh(css) add `inset`, `border-start-*-radius`, `border-end-*-radius` (#4051) --- CHANGES.md | 1 + src/languages/lib/css-shared.js | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index eb09ba1b6b..657cb0df2f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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: diff --git a/src/languages/lib/css-shared.js b/src/languages/lib/css-shared.js index ebac80c205..ef736e36c1 100644 --- a/src/languages/lib/css-shared.js +++ b/src/languages/lib/css-shared.js @@ -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', @@ -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',