mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
LibWeb: Move hit testing to the painting tree
This commit is contained in:
parent
ba606d9057
commit
5779a910e5
18 changed files with 196 additions and 172 deletions
|
@ -47,11 +47,6 @@ void InitialContainingBlock::paint_all_phases(PaintContext& context)
|
|||
paint_box()->stacking_context()->paint(context);
|
||||
}
|
||||
|
||||
HitTestResult InitialContainingBlock::hit_test(const Gfx::IntPoint& position, HitTestType type) const
|
||||
{
|
||||
return paint_box()->stacking_context()->hit_test(position, type);
|
||||
}
|
||||
|
||||
void InitialContainingBlock::recompute_selection_states()
|
||||
{
|
||||
SelectionState state = SelectionState::None;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue