Enum style::values::specified::font::MozScriptLevel [] [src]

pub enum MozScriptLevel {
    Relative(i32),
    MozAbsolute(i32),
    Auto,
}

Changes the scriptlevel in effect for the children. Ref: https://wiki.mozilla.org/MathML:mstyle

The main effect of scriptlevel is to control the font size. https://www.w3.org/TR/MathML3/chapter3.html#presm.scriptlevel

Variants

Change font-size relatively.

Change font-size absolutely.

Should only be serialized by presentation attributes, so even though serialization for this would look the same as for the Relative variant, it is unexposed, so no big deal.

Change font-size automatically.

Trait Implementations

impl Clone for MozScriptLevel
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for MozScriptLevel
[src]

impl Debug for MozScriptLevel
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for MozScriptLevel
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl ToCss for MozScriptLevel
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

Serialize self in CSS syntax and return a string. Read more

impl Parse for MozScriptLevel
[src]

[src]

Parse a value of this type. Read more