ladybird/Userland
Andreas Kling 34fdd0d44f LibWeb: Include immediate child (>) combinator in ancestor filter
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.
2024-09-09 12:46:55 +02:00
..
Libraries LibWeb: Include immediate child (>) combinator in ancestor filter 2024-09-09 12:46:55 +02:00
Services WebContent+WebDriver: Properly define and invoke stubbed methods 2024-09-08 09:01:25 -04:00
Utilities LibWebView+UI: Move the database and cookie jar to WebView::Application 2024-09-05 19:45:47 -04:00