Expand description
The CSS properties supported by the style system. Generated from the properties.mako.rs template by build.rs
ModulesΒ§
- animated_
properties - A module with all the code related to animated properties.
- longhands
- A module with all the code for longhand properties.
- property_
counts - A module to group various interesting property counts.
- shorthands
- A module with code for all the shorthand css properties, and a few serialization helpers.
- style_
structs - The module where all the style structs are defined.
MacrosΒ§
- expanded π
- unwrap_
or_ πinitial
StructsΒ§
- Animation
Composition Iter - An iterator over the values of the animation-composition properties.
- Animation
Delay Iter - An iterator over the values of the animation-delay properties.
- Animation
Direction Iter - An iterator over the values of the animation-direction properties.
- Animation
Duration Iter - An iterator over the values of the animation-duration properties.
- Animation
Fill Mode Iter - An iterator over the values of the animation-fill-mode properties.
- Animation
Iteration Count Iter - An iterator over the values of the animation-iteration-count properties.
- Animation
Name Iter - An iterator over the values of the animation-name properties.
- Animation
Play State Iter - An iterator over the values of the animation-play-state properties.
- Animation
Timeline Iter - An iterator over the values of the animation-timeline properties.
- Animation
Timing Function Iter - An iterator over the values of the animation-timing-function properties.
- Computed
Values - The struct that Servo uses to represent computed values.
- Computed
Values Inner - Actual data of ComputedValues, to match up with Gecko
- Logical
Group Set - A set of logical groups.
- Logical
Mapping πData - Property
Declaration πVariant Repr - Style
Builder - A type used to compute a struct with minimal overhead.
- Transition
Behavior Iter - An iterator over the values of the transition-behavior properties.
- Transition
Delay Iter - An iterator over the values of the transition-delay properties.
- Transition
Duration Iter - An iterator over the values of the transition-duration properties.
- Transition
Property Iter - An iterator over the values of the transition-property properties.
- Transition
Timing Function Iter - An iterator over the values of the transition-timing-function properties.
EnumsΒ§
- AliasId
- An identifier for a given alias property.
- Counted
Unknown Property - The counted unknown property list which is used for css use counters.
- Logical
Group Id - A group for properties which may override each other via logical resolution.
- Logical
Mapping πKind - Longhand
Id - An identifier for a given longhand property.
- Prioritary
Property πId - Property
Declaration - Servoβs representation for a property declaration.
- Shorthand
Id - An identifier for a given shorthand property.
- Style
Struct Ref - A reference to a style struct of the parent, or our own style struct.
ConstantsΒ§
- BOX_
THRESHOLD π
StaticsΒ§
- CASCADE_
PROPERTY - A per-longhand array of functions to perform the CSS cascade on each of them, effectively doing virtual dispatch.
TraitsΒ§
- Maybe
Boxed - Conversion with fewer impls than From/Into
FunctionsΒ§
- adjust_
border_ width - See StyleAdjuster::adjust_for_border_width.
- restyle_
damage_ πrebuild_ box - restyle_
damage_ πrebuild_ stacking_ context - restyle_
damage_ πrecalculate_ overflow - restyle_
damage_ πrepaint
Type AliasesΒ§
- Cascade
Property Fn - A per-longhand function that performs the CSS cascade for that longhand.