ladybird/Libraries/LibWeb/ContentBlocker/Rust
Andreas Kling 6ea2a4eff5 LibWeb: Refresh blocker CSS after relevant class/id changes
Refresh content blocker styles when connected elements gain or change
class or id tokens that can affect generic cosmetic selectors. Cache the
class and id tokens covered by each document's content blocker
stylesheet, then ask the adblock engine whether newly-added tokens can
unlock selectors before invalidating user style for the whole page.

This keeps dynamic cosmetic hiding correct without refreshing blocker
CSS for unrelated class and id mutations.

Add text coverage for irrelevant class/id mutations that should preserve
author style invalidation without refreshing blocker CSS. Also prove
matching tokens still hide elements.
2026-05-24 08:16:46 +02:00
..
src LibWeb: Refresh blocker CSS after relevant class/id changes 2026-05-24 08:16:46 +02:00
build.rs LibWeb: Add adblock-rust FFI hooks 2026-05-24 08:16:46 +02:00
Cargo.toml LibWeb: Add adblock-rust FFI hooks 2026-05-24 08:16:46 +02:00
cbindgen.toml LibWeb: Add adblock-rust FFI hooks 2026-05-24 08:16:46 +02:00