Module restyle_damage

Source
Expand description

The restyle damage is a hint that tells layout which kind of operations may be needed in presence of incremental style changes.

Structsยง

ServoRestyleDamage
Major phases of layout that need to be run due to the damage to a node during restyling. In addition to the 4 bytes used for that, the rest of the u16 is exposed as an extension point for users of the crate to add their own custom types of damage that correspond to the layout system they are implementing.

Functionsยง

augmented_restyle_damage_rebuild_box ๐Ÿ”’
augmented_restyle_damage_rebuild_stacking_context ๐Ÿ”’
compute_damage ๐Ÿ”’