Auto merge of #7459 - Mylainos:Issue-#7365, r=jdm
Auto merge of #7459 - Mylainos:Issue-#7365, r=jdm

Issue #7365 : test cursor position after clearing selection

In textinput test if the cursor is at the correct position when clearing a selection by press an arrow key.

edit_point is always at the end of the selection, should I test when it's at the beginning ?

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7459)
<!-- Reviewable:end -->

paulrouget/servo,nrc/servo,aidanhs/servo,canaltinova/servo,canaltinova/servo,jimberlage/servo,brendandahl/servo,brendandahl/servo,splav/servo,anthgur/servo,splav/servo,pyfisch/servo,mattnenterprise/servo,emilio/servo,saneyuki/servo,jdramani/servo,pyfisch/servo,peterjoel/servo,steveklabnik/servo,splav/servo,sadmansk/servo,nnethercote/servo,saneyuki/servo,notriddle/servo,dati91/servo,rnestler/servo,avadacatavra/servo,j3parker/servo,GyrosOfWar/servo,huonw/servo,notriddle/servo,cbrewster/servo,GyrosOfWar/servo,rnestler/servo,notriddle/servo,emilio/servo,mattnenterprise/servo,thiagopnts/servo,dsandeephegde/servo,meh/servo,thiagopnts/servo,szeged/servo,aidanhs/servo,mbrubeck/servo,steveklabnik/servo,avadacatavra/servo,nrc/servo,paulrouget/servo,nnethercote/servo,ConnorGBrewster/servo,GyrosOfWar/servo,avadacatavra/servo,brendandahl/servo,notriddle/servo,RenaudParis/servo,rnestler/servo,eddyb/servo,WriterOfAlicrow/servo,GyrosOfWar/servo,huonw/servo,KiChjang/servo,thiagopnts/servo,avadacatavra/servo,dati91/servo,szeged/servo,meh/servo,ConnorGBrewster/servo,RenaudParis/servo,canaltinova/servo,steveklabnik/servo,splav/servo,GyrosOfWar/servo,splav/servo,caldwell/servo,peterjoel/servo,anthgur/servo,saneyuki/servo,pyfisch/servo,dagnir/servo,jimberlage/servo,DominoTree/servo,larsbergstrom/servo,DominoTree/servo,paulrouget/servo,ConnorGBrewster/servo,dagnir/servo,rnestler/servo,DominoTree/servo,caldwell/servo,upsuper/servo,dati91/servo,aidanhs/servo,brendandahl/servo,sadmansk/servo,mbrubeck/servo,anthgur/servo,paulrouget/servo,steveklabnik/servo,dati91/servo,dagnir/servo,youprofit/servo,peterjoel/servo,rnestler/servo,notriddle/servo,szeged/servo,saneyuki/servo,emilio/servo,dagnir/servo,cbrewster/servo,paulrouget/servo,anthgur/servo,runarberg/servo,splav/servo,eddyb/servo,upsuper/servo,emilio/servo,WriterOfAlicrow/servo,dsandeephegde/servo,paulrouget/servo,sadmansk/servo,ConnorGBrewster/servo,splav/servo,jimberlage/servo,cbrewster/servo,peterjoel/servo,upsuper/servo,youprofit/servo,fiji-flo/servo,eddyb/servo,dati91/servo,larsbergstrom/servo,KiChjang/servo,mattnenterprise/servo,steveklabnik/servo,rnestler/servo,avadacatavra/servo,rnestler/servo,CJ8664/servo,fiji-flo/servo,steveklabnik/servo,WriterOfAlicrow/servo,saneyuki/servo,pyfisch/servo,j3parker/servo,CJ8664/servo,larsbergstrom/servo,bjwbell/servo,emilio/servo,peterjoel/servo,fiji-flo/servo,GyrosOfWar/servo,bjwbell/servo,mbrubeck/servo,avadacatavra/servo,WriterOfAlicrow/servo,aidanhs/servo,KiChjang/servo,nnethercote/servo,SimonSapin/servo,jdramani/servo,RenaudParis/servo,GyrosOfWar/servo,notriddle/servo,larsbergstrom/servo,youprofit/servo,CJ8664/servo,peterjoel/servo,youprofit/servo,SimonSapin/servo,j3parker/servo,KiChjang/servo,paulrouget/servo,splav/servo,AnthonyBroadCrawford/servo,bjwbell/servo,runarberg/servo,RenaudParis/servo,larsbergstrom/servo,youprofit/servo,canaltinova/servo,upsuper/servo,brendandahl/servo,mattnenterprise/servo,eddyb/servo,CJ8664/servo,cbrewster/servo,pyfisch/servo,fiji-flo/servo,peterjoel/servo,splav/servo,nnethercote/servo,jimberlage/servo,pyfisch/servo,sadmansk/servo,sadmansk/servo,mbrubeck/servo,emilio/servo,jdramani/servo,KiChjang/servo,dati91/servo,mattnenterprise/servo,saneyuki/servo,steveklabnik/servo,avadacatavra/servo,avadacatavra/servo,dsandeephegde/servo,mattnenterprise/servo,youprofit/servo,eddyb/servo,anthgur/servo,anthgur/servo,mbrubeck/servo,AnthonyBroadCrawford/servo,larsbergstrom/servo,larsbergstrom/servo,cbrewster/servo,KiChjang/servo,sadmansk/servo,SimonSapin/servo,notriddle/servo,thiagopnts/servo,jdramani/servo,emilio/servo,CJ8664/servo,fiji-flo/servo,jimberlage/servo,pyfisch/servo,fiji-flo/servo,notriddle/servo,dsandeephegde/servo,huonw/servo,SimonSapin/servo,larsbergstrom/servo,AnthonyBroadCrawford/servo,saneyuki/servo,emilio/servo,dagnir/servo,caldwell/servo,upsuper/servo,saneyuki/servo,thiagopnts/servo,DominoTree/servo,aidanhs/servo,SimonSapin/servo,peterjoel/servo,peterjoel/servo,SimonSapin/servo,DominoTree/servo,bjwbell/servo,dati91/servo,jimberlage/servo,runarberg/servo,meh/servo,bjwbell/servo,AnthonyBroadCrawford/servo,WriterOfAlicrow/servo,larsbergstrom/servo,upsuper/servo,fiji-flo/servo,nrc/servo,szeged/servo,meh/servo,eddyb/servo,mattnenterprise/servo,DominoTree/servo,dsandeephegde/servo,huonw/servo,nnethercote/servo,saneyuki/servo,AnthonyBroadCrawford/servo,huonw/servo,CJ8664/servo,meh/servo,caldwell/servo,WriterOfAlicrow/servo,dsandeephegde/servo,RenaudParis/servo,WriterOfAlicrow/servo,szeged/servo,szeged/servo,paulrouget/servo,cbrewster/servo,brendandahl/servo,jimberlage/servo,runarberg/servo,ConnorGBrewster/servo,pyfisch/servo,szeged/servo,mattnenterprise/servo,j3parker/servo,jimberlage/servo,caldwell/servo,youprofit/servo,caldwell/servo,paulrouget/servo,caldwell/servo,SimonSapin/servo,mbrubeck/servo,jdramani/servo,bjwbell/servo,DominoTree/servo,canaltinova/servo,CJ8664/servo,j3parker/servo,pyfisch/servo,rnestler/servo,DominoTree/servo,saneyuki/servo,AnthonyBroadCrawford/servo,canaltinova/servo,splav/servo,szeged/servo,KiChjang/servo,dsandeephegde/servo,runarberg/servo,nnethercote/servo,upsuper/servo,AnthonyBroadCrawford/servo,nnethercote/servo,j3parker/servo,nnethercote/servo,anthgur/servo,KiChjang/servo,canaltinova/servo,dagnir/servo,CJ8664/servo,SimonSapin/servo,mbrubeck/servo,nrc/servo,DominoTree/servo,runarberg/servo,runarberg/servo,nrc/servo,nnethercote/servo,larsbergstrom/servo,emilio/servo,cbrewster/servo,huonw/servo,pyfisch/servo,paulrouget/servo,szeged/servo,canaltinova/servo,KiChjang/servo,aidanhs/servo,huonw/servo,notriddle/servo,thiagopnts/servo,upsuper/servo,thiagopnts/servo,bjwbell/servo,ConnorGBrewster/servo,jimberlage/servo,nrc/servo,cbrewster/servo,DominoTree/servo,KiChjang/servo,ConnorGBrewster/servo,sadmansk/servo,szeged/servo,fiji-flo/servo,dati91/servo,RenaudParis/servo,meh/servo,jdramani/servo,peterjoel/servo,nnethercote/servo,sadmansk/servo,nrc/servo,mbrubeck/servo,j3parker/servo,ConnorGBrewster/servo,dagnir/servo,emilio/servo,aidanhs/servo,RenaudParis/servo,anthgur/servo,thiagopnts/servo,eddyb/servo,dsandeephegde/servo,jdramani/servo,notriddle/servo,eddyb/servo,meh/servo,brendandahl/servo