From ec444e73c5ad818fa28554d04722cf8e4f94f12d Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Tue, 6 Aug 2024 00:10:44 -0700 Subject: [PATCH] [css-text-decor-4] Define `` in one definition Instead of having a separate definition for `` and ``. Fixes #9469 --- css-text-decor-4/Overview.bs | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/css-text-decor-4/Overview.bs b/css-text-decor-4/Overview.bs index fa1864e7535..d73bd049470 100644 --- a/css-text-decor-4/Overview.bs +++ b/css-text-decor-4/Overview.bs @@ -351,23 +351,20 @@ Text Decoration Line Thickness: the 'text-decoration-thickness' property use that width, otherwise behaves as ''text-decoration-thickness/auto''. -
<> +
<>
- Specifies the thickness of text decoration lines as a fixed length. - The UA should round the actual value to the nearest integer device pixel, - and ensure it is at least one device pixel. - + A length value specifies the thickness of text decoration lines as a fixed length. + Note: A length will inherit as a fixed value, and will not scale with the font. -
<> -
-

Specifies the thickness of text decoration lines as a percentage of ''1em''. - The UA should round the actual value to the nearest integer device pixel, - and ensure it is at least one device pixel. + A percentage value specifies the thickness of text decoration lines as a percentage of ''1em''. Note: A percentage will inherit as a relative value, and will therefore scale with changes in the font as it inherits. + + The UA should round the actual value to the nearest integer device pixel, + and ensure it is at least one device pixel.

@@ -684,16 +681,14 @@ Text Underline Offset: the 'text-underline-offset' property

and the UA was able to extract an appropriate metric to use from the font. -
<> +
<>
-

Specifies the offset of underlines as a fixed length. +

A length value specifies the offset of underlines as a fixed length. Note: A length will inherit as a fixed value, and will not scale with the font. -

<> -
-

Specifies the offset of underlines as a percentage of ''1em''. + A percentage value specifies the offset of underlines as a percentage of ''1em''. Note: A percentage will inherit as a relative value, and will therefore scale with changes in the font as it inherits. @@ -2210,4 +2205,4 @@ No new privacy considerations have been reported on this specification.

Security Considerations

-No new security considerations have been reported on this specification. \ No newline at end of file +No new security considerations have been reported on this specification.