Bug 82604
| Summary: | [Qt][WK2] TapHighlight: Inconsistent behavior when trying to (tap)highlight a node in an iframe | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | alan <zalan> |
| Component: | WebKit2 | Assignee: | alan <zalan> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 82605 | ||
| Bug Blocks: | |||
alan
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>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
alan
Actually it crashes atm, but fix for crash is coming up at bug#82605
alan
normal behavior. hittest can and will find items with 0 height or width, while focusring ignores them.