ladybird/Libraries/LibWeb/Internals
Andreas Kling 44a6da5165 LibWeb: Avoid cold rule cache builds for :has() checks
Cache lightweight selector insights on each stylesheet so cold style
scopes can answer whether :has() invalidation is relevant without
building a complete rule cache. This avoids forcing rule caches for
shadow roots whose active sheets do not contain :has() selectors.

Imported sheets contribute to their parent sheet's effective rules, so
an imported sheet load or CSSOM change also clears ancestor selector
insight caches.

Add test-only counters and regression coverage for cold shadow roots
with and without :has() selectors, plus delayed imported :has() rules.
2026-05-23 22:03:46 +02:00
..
FakeXRDevice.cpp LibWeb/Bindings: Emit one bindings header and cpp per IDL 2026-04-21 07:36:13 +02:00
FakeXRDevice.h LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
FakeXRDevice.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
InternalAnimationTimeline.cpp LibWeb: Dispatch events for CSS animations without timelines 2026-05-22 11:59:19 +01:00
InternalAnimationTimeline.h LibWeb: Store AnimationTimeline associated document as Ref 2026-05-08 22:59:16 +02:00
InternalAnimationTimeline.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
InternalGamepad.cpp LibGC: Default-construct RootVector from the global heap 2026-05-20 20:37:55 +02:00
InternalGamepad.h LibWeb/Internals: Remove unused InternalGamepad::create() declaration 2026-01-20 06:58:16 -05:00
InternalGamepad.idl LibWeb: Add tests for Gamepad API by utilising virtual SDL3 joysticks 2025-09-01 21:10:47 +02:00
Internals.cpp LibWeb: Avoid cold rule cache builds for :has() checks 2026-05-23 22:03:46 +02:00
Internals.h LibWeb: Avoid cold rule cache builds for :has() checks 2026-05-23 22:03:46 +02:00
Internals.idl LibWeb: Avoid cold rule cache builds for :has() checks 2026-05-23 22:03:46 +02:00
InternalsBase.cpp LibWeb: Extract some Internals functionality to a base class 2025-03-19 10:03:17 -04:00
InternalsBase.h LibWeb: Give IDL exposed PlatformObjects an InterfaceName 2026-02-14 20:22:40 +01:00
WebUI.cpp LibWeb/Bindings: Emit one bindings header and cpp per IDL 2026-04-21 07:36:13 +02:00
WebUI.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
WebUI.idl LibWeb+LibWebView+WebContent: Introduce a WebUI framework 2025-03-28 07:31:10 -04:00
XRTest.cpp LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
XRTest.h LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
XRTest.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00