Andreas Kling
|
92aae72025
|
LibHTML: Detect link clicks
Clicking on a link in an HtmlView will now call on_link_click(String)
if present, allowing you to implement basic hypertext navigation. :^)
|
2019-09-29 12:04:02 +02:00 |
|
Andreas Kling
|
b477aff843
|
LibHTML: Detect hovering over links
HtmlView now calls Node::enclosing_link_element() to find the nearest
ancestor <a> element.
This patch also adds HTMLElement and HTMLAnchorElement.
|
2019-09-29 11:59:38 +02:00 |
|
Andreas Kling
|
88de955073
|
LibHTML: Have Document track its hovered Node
This gets set from HtmlView::mousemove_event() at the moment.
|
2019-09-29 11:50:35 +02:00 |
|
Andreas Kling
|
3de4b99dc3
|
LibHTML: Implement naive hit testing
We don't have proper line boxes yet, so we can't easily hit test
inline text.
|
2019-09-28 23:04:59 +02:00 |
|
Sergey Bugaev
|
b9493ba783
|
LibHTML: Introduce the HtmlView widget
This is a GWidget that can display contents of an HTML document.
It replaces the Frame class.
|
2019-09-28 18:29:42 +02:00 |
|