package cascade
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=c303651e043ed8d807d3d6f2c3745233e792ce7c30d562c9717d284e1bf5ac6a
sha512=681847993deabdc3899f62268b3cbc931623abca0413b0e8873e8568ec25a86c4d3db7f7f0e6a6a6bf24dbfdc7df314dae07ae66d49f76f3dd6953a4381bbf54
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.
CSS declarations and parser.
Declaration interface types
Cascade legality checks shared by optimization factoring passes.
Font-face descriptor types for type-safe \@font-face construction.
Best-first rewrite loop over a mutable rule pool: the incremental engine the minifier uses to merge rules.
Order maintenance: a total order over opaque elements that answers precedence queries in O(1) while supporting insertion and deletion.
A mutable pool of CSS rules in cascade order, supporting near-constant merging and O(1) precedence queries.
CSS properties: types and helpers.
Property type shared between properties.ml and properties.mli
Resolve a stylesheet against the nodes of a tree: selector matching and the cascade, decoupled from any particular DOM.
Fast local rewrite candidate generation for Rule_graph.
Cascade-dependency graph over a run of flat style rules.
Per-rule declaration index for the shorthand composer pipeline.
Canonical cascade-safe rule ordering.
Local DAG rewrite candidates and byte scoring.
Incremental greedy scheduler for graph rewrites.
Cheap structural summary of a selector, for use by the optimizer's safety checks.
CSS stylesheet interface.
CSS stylesheet interface types
Structured \@supports conditions for type-safe feature query construction.
CSS variables interface types