Skip to main content

Crate takumi_css

Crate takumi_css 

Source
Expand description

CSS parsing and computed-style layer for takumi.

Holds the (cold) CSS parsing, cascade, and value types so they can be compiled independently from the hot rendering paths in takumi. Selector matching against the node tree lives in takumi (layout::matching), not here, keeping this crate free of any node/render dependency.

Re-exports§

pub use style::*;

Modules§

error
keyframes
Shared keyframe input parsing used by external bindings.
style

Structs§

Viewport
The viewport for the image renderer.
ViewportSize
Represents Viewport size

Constants§

DEFAULT_DEVICE_PIXEL_RATIO
The default device pixel ratio.
DEFAULT_FONT_SIZE
The default font size in pixels.