style: Move the from-font value from text-underline-offset to text-underline-position, as per recent spec changes, and fix interaction between position and offset.

Differential Revision: https://phabricator.services.mozilla.com/D59778
This commit is contained in:
Jonathan Kew 2020-02-03 14:38:28 +00:00 committed by Emilio Cobos Álvarez
parent 2910ca6197
commit df01cec675
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
4 changed files with 22 additions and 14 deletions

View file

@ -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> | <percentage>
/// 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)]