It seems like an error to have hit test results that report an InnerNode that was hit yet that node does not appear as one of the hit nodes in the list based result for touch.
For touch adjustment that might be expected, but I would not expect it to happen otherwise. Investigate as these might be sources of bugs. The following tests assert if you check for this situation in PaintLayer::HitTestContents.
fast/events/event-hit-testing-fallback-to-iframe.html
virtual/scroll_customization/fast/events/touch/gesture/gesture-tap-frame-scrollbar.html
touchadjustment/disabled-formelements.html
touchadjustment/pseudo-element.html
touchadjustment/iframe.html
touchadjustment/touch-links-active.html
compositing/gestures/gesture-tapHighlight-no-graphics-layer-region-based-multicol.html
compositing/gestures/gesture-tapHighlight-simple-background.html
compositing/gestures/gesture-tapHighlight-imagemap.html
compositing/gestures/gesture-tapHighlight-simple-navigate.html
compositing/gestures/gesture-tapHighlight-simple-cancel.html
compositing/gestures/gesture-tapHighlight-simple-body.html
compositing/gestures/gesture-tapHighlight-simple-cancel2.html
compositing/gestures/gesture-tapHighlight-pixel-rotated-div.html
compositing/gestures/gesture-tapHighlight-simple-longPress.html
external/wpt/pointerevents/pointerevent_attributes_nohover_pointers-manual.html
fast/events/touch/gesture/gesture-tap-frame-scrollbar.html
Comment 1 by schenney@chromium.org
, Sep 27 2017Code to add to detect the case. #if DCHECK_IS_ON() else if (result.GetHitTestRequest().ListBased()) { // The innerNode must also appear in a list result DCHECK(result.ListBasedTestResult().Contains(result.InnerNode())); } #endif