Andreas Kling
3ae3729b4e
LibWeb: Let subframes propagate paint invalidations via host element
...
When a paint invalidation occurs inside a subframe, it bubbles up to
Frame::set_needs_display(). From there, we call PageView if this is
the main frame, or otherwise invalidate the subframe host element.
2020-06-07 14:56:29 +02:00
Andreas Kling
747b21782e
LibWeb: Open subframe links inside the subframe itself
...
We now only delegate to the Web::PageView embedded when clicking links
in the main frame. Links in subframes are handled internally.
2020-06-07 14:45:59 +02:00
Andreas Kling
d1852b4547
LibWeb: Add per-Frame EventHandler, handle mouse events recursively
...
We now handle mouse events by recursing into subframes. This makes
links, tooltips, etc, work inside <iframe> content.
2020-06-07 14:40:38 +02:00
Andreas Kling
896db187e5
LibWeb: Move Frame.{cpp,h} into a new Frame/ directory
2020-06-07 10:14:41 +02:00