package cascade
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=c11bbdc7ab0eee8c03cd162e3e7fd1cb20de62beb13342b3b150a89264ee0056
sha512=43fd97a55c3b1dc4db5c87aa1a5a047d902e902ab2064af3a7c5bf945ebc333f8cd90ecca8013c17be5b950498eace8e0094ee4319eba408285e2bec8d7cdf7b
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