mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-10 17:12:41 +02:00
We can bail earlier in `StyleComputer::compute_style_impl()` when we know no pseudo-element rules matched, preventing quite a lot of CascadedProperties churn. This was especially visible in WPT's `encoding` tests, for which this is a hot path on account of all the `<span>`s they create.
148 KiB
148 KiB