Type Definition style::values::specified::text::LineHeight
[−]
[src]
type LineHeight = GenericLineHeight<NonNegativeNumber, NonNegativeLengthOrPercentage>;
A specified value for the line-height
property.
Trait Implementations
impl Parse for LineHeight
[src]
fn parse<'i, 't>(
context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<Self, ParseError<'i>>
[src]
context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<Self, ParseError<'i>>
Parse a value of this type. Read more
impl ToComputedValue for LineHeight
[src]
type ComputedValue = ComputedLineHeight
The computed value type we're going to be converted to.
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue
[src]
Convert a specified value to a computed value, using itself and the data inside the Context
. Read more
fn from_computed_value(computed: &Self::ComputedValue) -> Self
[src]
Convert a computed value to specified value form. Read more