summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-29 11:32:00 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-29 11:32:00 +0200
commit13860e4dd843d84f78b7956cba07dec083ddf0b3 (patch)
tree6bfee4259a7e02249dc00e53891f5aac6a3884bc /Ports
parentaac8b091a4b1a2930c7f3b61c61439d3f42d7dff (diff)
downloadserenity-13860e4dd843d84f78b7956cba07dec083ddf0b3.zip
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.)
Diffstat (limited to 'Ports')
0 files changed, 0 insertions, 0 deletions