[Webkit-unassigned] [Bug 48716] [Qt] Support nodesFromRect in DRT

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 30 07:03:20 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=48716





--- Comment #2 from Antonio Gomes <tonikitoo at webkit.org>  2010-10-30 07:03:20 PST ---
(From update of attachment 72434)
View in context: https://bugs.webkit.org/attachment.cgi?id=72434&action=review

> WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp:797
> +    RefPtr<NodeList> nodes = doc->nodesFromRect(x, y, top, right, bottom, left, ignoreClipping);
> +    for (int i = 0; i < nodes->length(); i++) {
> +        QVariant v;
> +        v.setValue(QWebElement(nodes->item(i)));

what happens if nodes->item(i) is a text node? i.e. not a WebCore::Element*

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list