mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
34fdd0d44f
Before this change, the ancestor filter would only reject rules that required a certain set of descendant strings (class, ID or tag name) to be present in the current element's ancestor chain. An immediate child is also a descendant, so we can include this relationship in the ancestor filter as well. This substantially improves the efficiency of the ancestor filter on websites using Tailwind CSS. For example, https://tailwindcss.com/ itself goes from full style updates taking ~1400ms to ~350ms. Still *way* too long, but a huge improvement nonetheless. |
||
---|---|---|
.. | ||
Libraries | ||
Services | ||
Utilities |