Expand description
CSS engine abstraction — allows either the custom CSS stack or Stylo to serve as the cascade backend.
The css_engine feature selects the implementation at compile time.
Layout code is generic over the engine via &dyn CssEngine.
Structs§
- Custom
CssEngine - Custom CSS engine — delegates to the existing css_cascade machinery.
Traits§
Functions§
- default_
css_ engine - Construct the active CSS engine based on the
css_enginefeature.