Bug 82604

Summary: [Qt][WK2] TapHighlight: Inconsistent behavior when trying to (tap)highlight a node in an iframe
Product: WebKit Reporter: zalan <zalan>
Component: WebKit2Assignee: zalan <zalan>
Status: RESOLVED INVALID    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 82605    
Bug Blocks:    

Description zalan 2012-03-29 06:07:38 PDT
with the code below, hitTestResultAtPoint() finds a node to highlight, but GestureTapHighlighter::pathForNodeHighlight(node) return with empty path. They should be consistent.

<html><body><iframe src='data:text/html,<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><body style="margin: 0px;"></body>        </html>'></iframe></body></html>
Comment 1 zalan 2012-03-29 06:15:53 PDT
Actually it crashes atm, but fix for crash is coming up at bug#82605
Comment 2 zalan 2012-03-30 09:09:39 PDT
normal behavior. hittest can and will find items with 0 height or width, while focusring ignores them.