Hey all. I am facing a strange issue while trying to the get repaintable rect of a given Node* object. In my code I am doing something like:
(...) ASSERT(node); node->renderer()->absoluteClippedOverflowRect(); (...) , where "node" is a valid reference to an <a> in the following simple html sample in http://pastebin.ca/1850582 (see id="it"). In the sample, "node" is an offscreen anchor in a scrollable <div>, and calling absoluteClippedOverflowRect returns an empty IntRect to me. If I scroll until it (the node whose id is "it") gets visible, and then trigger my snippet code above it returns a valid value. Also, by doing static_cast<Element*>(node)->getRect() I get the same valid rect returned. I am wondering if it is an expected behavior or a bug? Regards -- --Antonio Gomes _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev