ladybird/Libraries/LibWeb/Internals
Andreas Kling 17902b02ab LibWeb: Stop idle animated CSS image timers
Keep animated ImageStyleValue frame advancement owned by the
style value. The current frame and loop state live there, so a
separate document scheduler would duplicate ownership of that state.

Start the ImageStyleValue timer only while it has layout clients.
Stop it when the last client unregisters, or when a finite animation
completes. Expose a document-scoped active timer count through
internals for focused regression tests.

Clear image observers when layout nodes detach. Use current-node
cleanup for per-DOM-node clearing, and explicit subtree cleanup for
tree replacement, full tree teardown, and synthetic pseudo-elements.
This keeps large document clearing linear.

Unregister generated-content image providers during layout detach
instead of waiting for GC to finalize the provider.

Cover hidden animated background images, generated content images,
layout node replacement, full layout tree teardown, and document
scoping for the internals counter.
2026-05-23 11:36:53 +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: Stop idle animated CSS image timers 2026-05-23 11:36:53 +02:00
Internals.h LibWeb: Stop idle animated CSS image timers 2026-05-23 11:36:53 +02:00
Internals.idl LibWeb: Stop idle animated CSS image timers 2026-05-23 11:36:53 +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