pub type Property = PropertyData;Expand description
A property: PropertyData with its grammar parsed.
Aliased Type§
pub struct Property {
pub name: &'static str,
pub syntax: Option<&'static str>,
pub initial: Option<&'static str>,
pub inherited: Option<bool>,
pub longhands: &'static [&'static str],
pub alias_of: Option<&'static str>,
pub href: &'static str,
}Fields§
§name: &'static str§syntax: Option<&'static str>The value grammar, in the value definition syntax; None for the
few legacy aliases defined only by what they alias.
initial: Option<&'static str>The initial value as the spec writes it, which for a shorthand is prose (“see individual properties”).
inherited: Option<bool>None where the spec says something other than yes or no, as a
shorthand’s “see individual properties”.
longhands: &'static [&'static str]For a shorthand, the longhands it sets; empty for a longhand.
alias_of: Option<&'static str>For a legacy alias (-webkit-box-flex and the like), the property
it’s another name for.
href: &'static strWhere the spec defines it.