RenderLayer::scrollRectToVisible and RenderObject::scrollRectToVisible have several parameters to configure the type of scrolling. We could group them into a single struct to make easier to modify parameters in the future (e.g. add an ifdefed scroll behavior option in bug 188043). Maybe this could help too for bug 176454 and bug 161611.
Created attachment 349027 [details]
Created attachment 349030 [details]
Comment on attachment 349030 [details]
Clearing flags on attachment: 349030
Committed r235749: <https://trac.webkit.org/changeset/235749>
All reviewed patches have been landed. Closing bug.