[cssom-view] Make 'scroll an element into view' algorithm scroll as little as possible in the inline base direction

--HG--
extra : rebase_source : 2d23e6894b8dbcc5180133db5bd4e4a6f61defb7