diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-29 11:32:00 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-29 11:32:00 +0200 |
commit | 13860e4dd843d84f78b7956cba07dec083ddf0b3 (patch) | |
tree | 6bfee4259a7e02249dc00e53891f5aac6a3884bc /Ports | |
parent | aac8b091a4b1a2930c7f3b61c61439d3f42d7dff (diff) | |
download | serenity-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