Crate layout

Source
Expand description

Layout. Performs layout on the DOM, builds display lists and sends them to be painted.

Re-exportsΒ§

ModulesΒ§

StructsΒ§

Type AliasesΒ§

  • SharedStyle πŸ”’
    At times, a style is β€œowned” by more than one layout object. For example, text fragments need a handle on their parent inline box’s style. In order to make incremental layout easier to implement, another layer of shared ownership is added via SharedStyle. This allows updating the style in originating layout object and having all β€œdepdendent” objects update automatically.