mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-08 12:12:53 +00:00
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.) |
||
---|---|---|
.. | ||
ComputedStyle.cpp | ||
ComputedStyle.h | ||
LayoutBlock.cpp | ||
LayoutBlock.h | ||
LayoutDocument.cpp | ||
LayoutDocument.h | ||
LayoutInline.cpp | ||
LayoutInline.h | ||
LayoutNode.cpp | ||
LayoutNode.h | ||
LayoutText.cpp | ||
LayoutText.h |