Chromium Code Reviews
DescriptionFix hit testing to be aware of inert inlines.
This patch does the following.
- Makes InlineBox::visibleToHitTestRequest use
RenderObject::visibleToHitTestRequest, so that inertness is checked.
Otherwise, hit testing succeeds on an InlineFlowBox inside an inert
renderer testing its line boxes in RenderBlock::hitTestContents, for
example, a TEXT node inside a DIV.
- Makes RenderObject::isInert find the first element node ancestor and
check its inertness. Otherwise, an anonymous renderer or a renderer for
a non-element node like RenderText is always considered non-inert and
hit testing succeeds on it.
BUG=241699
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151797
Patch Set 1 #Patch Set 2 : testing style #
Total comments: 6
Patch Set 3 : de-dupe visibleToHitTesting #
Total comments: 1
Messages
Total messages: 19 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||