mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:37:34 +00:00
LibWeb: Fix pointer-events check in hit_test
This commit is contained in:
parent
ebd93c8d57
commit
66e424a084
2 changed files with 8 additions and 10 deletions
|
@ -117,6 +117,8 @@ public:
|
|||
|
||||
auto const& computed_values() const { return m_layout_node.computed_values(); }
|
||||
|
||||
bool visible_for_hit_testing() const { return computed_values().pointer_events() != CSS::PointerEvents::None; }
|
||||
|
||||
HTML::BrowsingContext const& browsing_context() const { return m_layout_node.browsing_context(); }
|
||||
HTML::BrowsingContext& browsing_context() { return layout_node().browsing_context(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue