The following tests added by http://trac.webkit.org/changeset/95890 are failing on Mac WK1 port: fast/dom/scroll-element-to-rect.html fast/dom/scroll-element-to-rect-centered.html
I think this is broken in WK1 because Element::boundsInWindowSpace() returns rect in flipped coordinates in WK1. "in window space" is not something that should be used in WebCore code much.
Actually FrameView::scrollElementToRect() should not be using 'boundsInWindowSpace'. I think getRect() would work just fine.
Created attachment 109099 [details] Patch
http://trac.webkit.org/changeset/96278
(In reply to comment #4) > http://trac.webkit.org/changeset/96278 Thanks Simon! for fixing this Apologies for the delay as I could not get hold of a machine to repro the failure in time :(