diff --git a/css-text-decor-4/Overview.bs b/css-text-decor-4/Overview.bs index 7a936902d0b1..e24aded38875 100644 --- a/css-text-decor-4/Overview.bs +++ b/css-text-decor-4/Overview.bs @@ -859,11 +859,11 @@ Text Decoration Line Uniformity -
- Name: text-decoration-trim + Name: text-decoration-inset Value: <- This property adjusts the start and end points of line decorations, - allowing the author to shorten, lengthen, or shift the decoration - with respect to the text. + This property adjusts the start and end endpoints of line decorations. + Positive values move an endpoint inward, trimming the decoration; + negative values move it outward, extending the decoration. + It controls all text decoration lines drawn by this [=decorating box=], but not any text decoration lines drawn by its ancestors. If two component values are given, the first applies to the [=start=] and the second to the [=end=]. Values have the following meanings: ->{1,2} | auto Initial: 0 Applies to: all elements @@ -873,20 +873,22 @@ Text Decoration Line Trimming and Extension: the 'text-decoration-trim' property Animation type: by computed value
The following example offsets an extra thick underline @@ -894,38 +896,38 @@ 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;
}
-
''text-decoration-skip-inset: auto'' for <u>石井</u><u>艾俐俐</u>
+
''text-decoration-inset: auto'' for <u>石井</u><u>艾俐俐</u>
Zs
and to only additionally include word separators when skipping all spaces.