From 52c94b27c2d6ac3d180b753b5079d6d7d2112d6a Mon Sep 17 00:00:00 2001 From: Sebastian Zartner Date: Wed, 29 Oct 2025 21:41:57 +0100 Subject: [PATCH 1/3] [css-text-decor-4] Renamed text-decoration-trim to text-decoration-inset --- css-text-decor-4/Overview.bs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css-text-decor-4/Overview.bs b/css-text-decor-4/Overview.bs index 7a936902d0b..ce772db1561 100644 --- a/css-text-decor-4/Overview.bs +++ b/css-text-decor-4/Overview.bs @@ -860,10 +860,10 @@ Text Decoration Line Uniformity

-Text Decoration Line Trimming and Extension: the 'text-decoration-trim' property

+Text Decoration Line Trimming and Extension: the 'text-decoration-inset' property
-	Name: text-decoration-trim
+	Name: text-decoration-inset
 	Value: <>{1,2} | auto
 	Initial: 0
 	Applies to: all elements
@@ -894,7 +894,7 @@ Text Decoration Line Trimming and Extension: the 'text-decoration-trim' property
 				
 					h1 {
 						text-decoration: underline 0.3em rgba(36,148,187,0.25);
-						text-decoration-trim: 1em -1em;
+						text-decoration-inset: 1em -1em;
 					}
 				
@@ -2185,7 +2185,7 @@ Changes since the 4 May 2022 Working Draft
  • Redesigned 'text-decoration-skip-self'. (Issue 2885) -
  • Replaced text-decoration-skip-edges with 'text-decoration-trim'. +
  • Replaced text-decoration-skip-edges with 'text-decoration-inset'. (Issue 4557)
  • Redefined [=spacers=] for 'text-decoration-skip-spaces' to reference [=Unicode General Category=] Zs and to only additionally include word separators when skipping all spaces. From 86e095ca4e4fefb0361c87b2f3cee17d50079813 Mon Sep 17 00:00:00 2001 From: Sebastian Zartner Date: Thu, 30 Oct 2025 00:01:44 +0100 Subject: [PATCH 2/3] [css-text-decor-4] Removed mentions of text-decoration-skip-inset Any mentions of `text-decoration-skip-inset` were either removed or replaced by `text-decoration-inset`. --- css-text-decor-4/Overview.bs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/css-text-decor-4/Overview.bs b/css-text-decor-4/Overview.bs index ce772db1561..8a5bb222d69 100644 --- a/css-text-decor-4/Overview.bs +++ b/css-text-decor-4/Overview.bs @@ -859,7 +859,7 @@ Text Decoration Line Uniformity -

    +

    Text Decoration Line Trimming and Extension: the 'text-decoration-inset' property

    @@ -882,7 +882,7 @@ Text Decoration Line Trimming and Extension: the 'text-decoration-inset' propert
     	the first applies to the [=start=] and the second to the [=end=].
     	Values have the following meanings:
     
    -	
    +
    <>
    Inset (positive) or outset (negative) @@ -907,12 +907,12 @@ Text Decoration Line Trimming and Extension: the 'text-decoration-inset' propert (This is important in Chinese, where underlining is a form of punctuation.)
    -

    An underline below a series of Chinese characters has a gap between two adjacent underlining elements. -

    ''text-decoration-skip-inset: auto'' for <u>石井</u><u>艾俐俐</u> +

    ''text-decoration-inset: auto'' for <u>石井</u><u>艾俐俐</u>

    @@ -952,7 +952,6 @@ Text Decoration Line Continuity: the 'text-decoration-skip' shorthand and its su The 'text-decoration-skip' property and its sub-properties ('text-decoration-skip-self', 'text-decoration-skip-box', - 'text-decoration-skip-inset', 'text-decoration-skip-spaces', 'text-decoration-skip-ink') control interruptions in line decorations From 2dc5f212c6f78500cf13f478417e6d78e62783d3 Mon Sep 17 00:00:00 2001 From: Sebastian Zartner Date: Thu, 30 Oct 2025 00:11:56 +0100 Subject: [PATCH 3/3] [css-text-decor-4][editorial] Changed wording regarding "trimming" of text decorations --- css-text-decor-4/Overview.bs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/css-text-decor-4/Overview.bs b/css-text-decor-4/Overview.bs index 8a5bb222d69..19a77f915c0 100644 --- a/css-text-decor-4/Overview.bs +++ b/css-text-decor-4/Overview.bs @@ -860,7 +860,7 @@ Text Decoration Line Uniformity

    -Text Decoration Line Trimming and Extension: the 'text-decoration-inset' property

    +Adjusting Text Decoration Line Lengths: the 'text-decoration-inset' property
     	Name: text-decoration-inset
    @@ -901,7 +901,7 @@ Text Decoration Line Trimming and Extension: the 'text-decoration-inset' propert
     
     		
    auto
    - The UA chooses a trim amount that ensures that + The UA chooses an inset amount that ensures that if two identical underlined elements appear side-by-side they do not appear to have a single underline. (This is important in Chinese, where underlining is a form of punctuation.) @@ -917,15 +917,15 @@ Text Decoration Line Trimming and Extension: the 'text-decoration-inset' propert
    - Text decoration trimming is subject to 'box-decoration-break': + The adjustment of the text decoration's length is subject to 'box-decoration-break': * for ''box-decoration-break/slice'' (the default) - trimming is only applied to the [=start=] edge of the first fragment + length adjustment is only applied to the [=start=] edge of the first fragment and the [=end=] edge of the last fragment, - and may accumulate to other fragments if the amount of the trim + and may accumulate to other fragments if the amount of the inset is more than the length of the fragment. * for ''box-decoration-break/clone'' - trimming is applied to each fragment independently. + length adjustment is applied to each fragment independently.