mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: adding support for CSS text underline offset to the style system.
Support for from-font listed in the CSS spec will be implemented in a later bug. Differential Revision: https://phabricator.services.mozilla.com/D33233
This commit is contained in:
parent
1f5bed4473
commit
b6c88745e8
1 changed files with 11 additions and 0 deletions
|
@ -374,3 +374,14 @@ ${helpers.single_keyword(
|
|||
products="gecko",
|
||||
spec="Nonstandard",
|
||||
)}
|
||||
|
||||
// text underline offset
|
||||
${helpers.predefined_type(
|
||||
"text-underline-offset",
|
||||
"LengthOrAuto",
|
||||
"computed::LengthOrAuto::auto()",
|
||||
products="gecko",
|
||||
animation_value_type="ComputedValue",
|
||||
gecko_pref="layout.css.text-underline-offset.enabled",
|
||||
spec="https://drafts.csswg.org/css-text-decor-4/#underline-offset",
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue