Module style::properties::declaration_block
source ยท Expand description
A property declaration block.
Structsยง
- A set of property declarations including animations and transitions.
- Iterator for AnimationValue to be generated from PropertyDeclarationBlock.
- Iterator over
(PropertyDeclaration, Importance)
pairs. - The state needed to parse a declaration block.
- Overridden declarations are skipped.
- A set of properties.
- An iterator over a set of longhand ids.
- A struct to parse property declarations.
- A struct describes how a declaration block should be updated by a
SourcePropertyDeclaration
.
Enumsยง
- A convenient enum to represent different kinds of stuff that can represent a value in the serialization of a property declaration.
- DeclarationUpdate ๐An enum describes how a declaration should update the declaration block.
- A declaration importance.
Functionsยง
- Append a given kind of appendable value to a serialization.
- Append a given property and value pair to a serialization.
- Potentially appends whitespace after the first (property: value;) pair.
- Based on NonMozillaVendorIdentifier from Geckoโs CSS parser.
- Parse a given property declaration. Can result in multiple
PropertyDeclaration
s when expanding a shorthand, for example. - Parse a list of property declarations and return a property declaration block.
- A helper to parse the style attribute of an element, in order for this to be shared between Servo and Gecko.
- report_one_css_error ๐
Type Aliasesยง
- SmallParseErrorVec ๐