ladybird/Libraries/LibHTML/Layout
Andreas Kling 13860e4dd8 LibHTML: Make hit testing work for LayoutText
LayoutText can't simply rely on its LayoutNode::rect() for hit testing.
Instead, we have to iterate over the individual runs and see if we're
hitting any of them.

Also, LayoutNode::hit_test() now always recurses into children, since
we can't trust the rect() to tell the truth (inline rects are wrong.)
2019-09-29 11:32:00 +02:00
..
ComputedStyle.cpp LibHTML: Add ComputedStyle::full_margin() 2019-09-28 18:29:42 +02:00
ComputedStyle.h LibHTML: Respect the CSS "color" property for text 2019-09-28 22:57:46 +02:00
LayoutBlock.cpp LibHTML: Hide debugging output unless HTML_DEBUG is defined 2019-09-28 18:29:42 +02:00
LayoutBlock.h LibHTML: Implement rendering 2019-09-28 18:29:42 +02:00
LayoutDocument.cpp LibHTML: Fix LayoutDocument height computation 2019-09-28 18:29:42 +02:00
LayoutDocument.h LibHTML: Get rid of the style tree 2019-09-28 18:29:42 +02:00
LayoutInline.cpp LibHTML: Implement LayoutInline::layout() 2019-09-28 18:29:42 +02:00
LayoutInline.h LibHTML: Implement LayoutInline::layout() 2019-09-28 18:29:42 +02:00
LayoutNode.cpp LibHTML: Make hit testing work for LayoutText 2019-09-29 11:32:00 +02:00
LayoutNode.h LibHTML: Implement naive hit testing 2019-09-28 23:04:59 +02:00
LayoutText.cpp LibHTML: Make hit testing work for LayoutText 2019-09-29 11:32:00 +02:00
LayoutText.h LibHTML: Make hit testing work for LayoutText 2019-09-29 11:32:00 +02:00