mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
Prep for rasterizing each Navigable independently, where children must paint before their parents — the event loop needs to walk documents in an order where every child comes after its container. The HTML spec already mandates such an order for the "docs" list: each document appears after its container, with siblings in shadow-including tree order. Maintain m_documents in that sorted order, re-sorting lazily when a document is registered or its navigable is reassigned.
6.0 KiB
6.0 KiB