mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
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:
parent
2910ca6197
commit
df01cec675
4 changed files with 22 additions and 14 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue