package cascade
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=1cf5079b3797cd6e70fbced8dc2631074f357d36fcdea8597c7ba17ac2903f6e
sha512=43f5e6a3986f8f43ce948b8f1d59f6f00e1047f5707c5449b6323b683d2ecd51a0fb34793aad9c48904a67b0f7268d7379ab9baf29917c25a962064bfa3ab694
doc/cascade/Cascade/index.html
Module CascadeSource
Project a stylesheet onto an element tree: resolve the cascade for each element and return the declarations to write into its style attribute, along with the rules that have no inline form. The cascade itself is Resolve; this adds the inline-specific policy. Pure - it returns the declarations to apply, the caller writes them onto the tree.
Static colour-space conversion arithmetic for the optimiser.
Stage 3 IR: CSS Syntax 3 (ED) sec. 5.1 component values and rules.
CSS declarations and parser.
Font-face descriptor types for type-safe \@font-face construction.
Source locations: byte-offset ranges in the CSS Syntax-preprocessed input.
CSS properties: types and helpers.
Resolve a stylesheet against the nodes of a tree: selector matching and the cascade, decoupled from any particular DOM.
Cheap structural summary of a selector, for use by the optimizer's safety checks.
Offsets into CSS source, for rewriting it without reprinting it.
CSS stylesheet interface.
Structured \@supports conditions for type-safe feature query construction.