Skip to main content

resolve_underline_offset

Function resolve_underline_offset 

Source
pub(crate) fn resolve_underline_offset(style: &ComputedValues) -> Au
Expand description

Resolve the text-underline-offset against the used font-size of the element

https://drafts.csswg.org/css-text-decor-4/#underline-offset: