[webkit-reviews] review requested: [Bug 17450] in page anchor and keyboard navigation : [Attachment 129465] Patch proposal + Layout Test

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 29 10:00:06 PST 2012


Mario Sanchez Prada <msanchez at igalia.com> has asked  for review:
Bug 17450: in page anchor and keyboard navigation
https://bugs.webkit.org/show_bug.cgi?id=17450

Attachment 129465: Patch proposal + Layout Test
https://bugs.webkit.org/attachment.cgi?id=129465&action=review

------- Additional Comments from Mario Sanchez Prada <msanchez at igalia.com>
Attaching a patch that addresses the issue in a cross-platform way: I moved
AXObjectCache::handleScrolledToAnchor() from AXObjectMac.mm and AXObjectGTK.cpp
out to AXObjectCache.cpp and implemented there the fix.

However, as win and chromium ports already provide their own implementation of
that function (which are different among them) I dare not to remove that code
and so I put the new function in AXObjectCache.cpp inside a #if PLATFORM(GTK)
|| PLATFORM(MAC) -- #endif section. In the future if the people from those
ports want to use the cross-platform solution, it would be an easy change.

Last, I wrote a layout test that I think should work fine both in GTK and Mac
but, as usual, no promises yet :-)


More information about the webkit-reviews mailing list