diff options
Diffstat (limited to 'components/style/values/generics/text.rs')
-rw-r--r-- | components/style/values/generics/text.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/style/values/generics/text.rs b/components/style/values/generics/text.rs index fd434cc1273..ceeb59a3d0c 100644 --- a/components/style/values/generics/text.rs +++ b/components/style/values/generics/text.rs @@ -123,8 +123,8 @@ impl<N, L> LineHeight<N, L> { } } -/// Implements type for text-underline-offset and text-decoration-thickness -/// which take the grammar of auto | from-font | <length> +/// Implements type for text-decoration-thickness +/// which takes the grammar of auto | from-font | <length> | <percentage> /// /// https://drafts.csswg.org/css-text-decor-4/ #[repr(C, u8)] @@ -148,7 +148,7 @@ impl<N, L> LineHeight<N, L> { )] #[allow(missing_docs)] pub enum GenericTextDecorationLength<L> { - Length(L), + LengthPercentage(L), Auto, FromFont, } |