mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 23:56:06 +00:00
LibWeb: Ensure inert elements are not visible for hit testing
This commit is contained in:
parent
8547c1a743
commit
cb405c773b
Notes:
github-actions[bot]
2025-02-21 12:43:19 +00:00
Author: https://github.com/tcl3
Commit: cb405c773b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3475
Reviewed-by: https://github.com/AtkinsSJ ✅
4 changed files with 67 additions and 1 deletions
|
@ -109,7 +109,7 @@ public:
|
|||
|
||||
CSS::ImmutableComputedValues const& computed_values() const;
|
||||
|
||||
bool visible_for_hit_testing() const { return computed_values().pointer_events() != CSS::PointerEvents::None; }
|
||||
bool visible_for_hit_testing() const;
|
||||
|
||||
GC::Ptr<HTML::Navigable> navigable() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue