Files
ladybird/Libraries/LibWeb/CSS
Andreas Kling 5df3838a80 LibWeb: Evaluate style sheet media rules immediately on insertion
Before this change, we were waiting for Document to lazily evaluate
sheet media and media rules. This often meant that we'd get two
full-document style invalidations: one from adding a new style sheet,
and one from the media queries changing state.

By evaluating the rules eagerly on insertion, we coalesce the two
invalidations into one. This reduces the number of full-document
invalidations on Speedometer 3 from 51 to 34.
2025-04-19 01:14:02 +02:00
..
2024-12-28 05:39:32 -08:00
2025-04-09 15:05:20 +01:00
2024-12-28 05:39:32 -08:00