From b9ae5fea90514b864f2c9b2889d7d3302d6156dc Mon Sep 17 00:00:00 2001 From: Vasily Polovnyov Date: Sun, 9 Jun 2024 01:21:35 +0300 Subject: [PATCH] add `text-decoration-skip-ink`, `text-decoration-thickness` and `text-underline-offset` attributes (#4064) --- CHANGES.md | 3 ++- src/languages/lib/css-shared.js | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 4907924c29..badcc499a6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -43,7 +43,8 @@ Core Grammars: - 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 `select`, `option`, `optgroup`, `picture` and `source` to list of known tags [Vasily Polovnyov][] -- enh(css) add `inset`, `inset-*`, `border-start-*-radius` and `border-end-*-radius` attributes [Vasily Polovnyov] +- enh(css) add `inset`, `inset-*`, `border-start-*-radius` and `border-end-*-radius` attributes [Vasily Polovnyov][] +- enh(css) add `text-decoration-skip-ink`, `text-decoration-thickness` and `text-underline-offset` attributes [Vasily Polovnyov][] New Grammars: diff --git a/src/languages/lib/css-shared.js b/src/languages/lib/css-shared.js index 6ed1d16290..28cbcf0594 100644 --- a/src/languages/lib/css-shared.js +++ b/src/languages/lib/css-shared.js @@ -663,7 +663,9 @@ export const ATTRIBUTES = [ 'text-decoration', 'text-decoration-color', 'text-decoration-line', + 'text-decoration-skip-ink', 'text-decoration-style', + 'text-decoration-thickness', 'text-emphasis', 'text-emphasis-color', 'text-emphasis-position', @@ -675,6 +677,7 @@ export const ATTRIBUTES = [ 'text-rendering', 'text-shadow', 'text-transform', + 'text-underline-offset', 'text-underline-position', 'top', 'transform',