Details
Description
QWebFrame::hitTestContent returns element with tagName "" despite clicking on valid HTML elements (such as, for example, text inside <p>).
This is a bug since hitTestContent sent from mainFrame is meant to hitTest through all child frames as well and return the most precise variant.
To reproduce, override mouse click events to also output the element tagName taken from the result of the click location from the mainFrame, and then click on text on any page.
Result will be "".
Attachments
For Gerrit Dashboard: QTBUG-39591 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
88197,3 | QWebHitTestResult::element() should return the inner element | 5.3 | qt/qtwebkit | Status: MERGED | +2 | 0 |