Bug 82604 - [Qt][WK2] TapHighlight: Inconsistent behavior when trying to (tap)highlight a node in an iframe
Summary: [Qt][WK2] TapHighlight: Inconsistent behavior when trying to (tap)highlight a...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords:
Depends on: 82605
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-29 06:07 PDT by zalan
Modified: 2012-03-30 09:09 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.