mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 08:32:04 +02:00
This patch makes StyleProperties heap-allocated and ref-counted so that a LayoutNode can be without one. The ref-counting also allows anonymous blocks to share style with their parent block. LayoutText never needs a StyleProperties, since text always inherits style from its parent element. This is handled by style_properties().
568 B
568 B