-
leandrogracia@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=94343 Reviewed by Julien Chaffraix. The current implementation uses the container method to climb the render tree. However, it would be more correct and convenient to use containingBlock instead. Also, this patch introduces new tests for find-in-page coordinates in tables. * src/FindInPageCoordinates.cpp: (WebKit::toNormalizedRect): use containingBlock and get rid of the output parameter as it's not required now. (WebKit::findInPageRectFromAbsoluteRect): use containingBlock introduce some simplifications. * tests/WebFrameTest.cpp: add new tests for tables. * tests/data/find_in_page.html: * tests/data/find_in_page_frame.html: new tests for tables. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126204 268f45cc-cd09-0410-ab3c-d52691b4dbfc
974cf5e2