Mirror D3 strategy for drag event suppression
Mirror D3 strategy for drag event suppression

-webkit-user-drag is not inherited, so it's ineffective
at preventing drags of image overlays (#1821). Instead,
always preventDefault on dragstart.

While here, preventDefault on selectstart as well (a
"belt-and-suspenders" approach).

Together, these changes bring Leaflet's strategy in line
with D3's:

https://github.com/mbostock/d3/blob/master/src/event/drag.js
twoubt/Leaflet,elfalem/Leaflet,nkovacs/Leaflet,devjoseluis/Leaflet,psicomante/Leaflet,brunocasanova/frontend-asset-leaflet,prashen/Leaflet,klaftertief/Leaflet,nkovacs/Leaflet,tormi/Leaflet,iZucken/Leaflet,bolshoibooze/Leaflet,RLRR/Leaflet,devjoseluis/Leaflet,nycitt/Leaflet,hyperknot/Leaflet,nvoron23/Leaflet,iOffice/Leaflet,northerneyes/Leaflet,AndBicScadMedia/Leaflet,gabrielpconceicao/frontend-asset-leaflet,frogcat/Leaflet,wpf500/Leaflet,pakro/Leaflet,dhootha/Leaflet,stefanocudini/Leaflet,akauppi/Leaflet,mourner/Leaflet,RobertoMalatesta/Leaflet,fredericksilva/Leaflet,iamjonbradley/Leaflet,brunocasanova/frontend-asset-leaflet,frogcat/Leaflet,AP-whitehat/Leaflet,olafurr/Leaflet,hyperknot/Leaflet,tbassett44/Leaflet,sisou/Leaflet,alex2wong/Leaflet,AP-whitehat/Leaflet,dhootha/Leaflet,azimux/Leaflet,Mark-Wood/Leaflet,javimolla/Leaflet,srdavis/leaflet-template,geoloep/Leaflet,Fil/Leaflet,hyperknot/Leaflet,wrrnwng/Leaflet,tsantacruz/RotationalMarker,rlugojr/Leaflet,beni55/Leaflet,webmechanicx/Leaflet,Leaflet/Leaflet,pakro/Leaflet,bbecquet/Leaflet,cartant/Leaflet,thalesfsp/Leaflet,pzdz/Leaflet,grahamthompson/Leaflet,gabrielpconceicao/frontend-asset-leaflet,brah/Leaflet,tsantacruz/RotationalMarker,juliensoret/Leaflet,tsantacruz/RotationalMarker,taraszerebecki/Leaflet,grahamthompson/Leaflet,codeator/Leaflet,tbassett44/Leaflet,snkashis/Leaflet,tomnod/Leaflet,cartant/Leaflet,elkingtonmcb/Leaflet,lee101/Leaflet,davojta/Leaflet,nathancahill/Leaflet,Ossehoht/Leaflet,bolshoibooze/Leaflet,jblarsen/Leaflet,snkashis/Leaflet,fab1an/Leaflet,iamjonbradley/Leaflet,danzel/Leaflet,CapeSepias/Leaflet,huangsong/Leaflet,davidjb/Leaflet,Andrey-Pavlov/Leaflet,Trufi/Leaflet,wpf500/Leaflet,Jakobud/Leaflet,CapeSepias/Leaflet,nycitt/Leaflet,kumy/Leaflet,rlugojr/Leaflet,alex2wong/Leaflet,CapeSepias/Leaflet,bbecquet/Leaflet,Srikanth4/Leaflet,codeator/Leaflet,akauppi/Leaflet,eriksjaastad/Leaflet,stefanocudini/Leaflet,rlugojr/Leaflet,Srikanth4/Leaflet,webmechanicx/Leaflet,bolshoibooze/Leaflet,tormi/Leaflet,northerneyes/Leaflet,billybonz1/Leaflet,Andrey-Pavlov/Leaflet,RobertoMalatesta/Leaflet,andrewmartini/Leaflet,Fil/Leaflet,DrillingInfo/Leaflet,w8r/Leaflet,elfalem/Leaflet,iOffice/Leaflet,RLRR/Leaflet,iZucken/Leaflet,mourner/Leaflet,CorainChicago/Leaflet,scaddenp/Leaflet,pzdz/Leaflet,wancharle/Leaflet,tomnod/Leaflet,RyanHickman/Leaflet,msokk/Leaflet,wancharle/Leaflet,cmulders/Leaflet,elkingtonmcb/Leaflet,iOffice/Leaflet,geoloep/Leaflet,sisou/Leaflet,sambernet/Leaflet,snkashis/Leaflet,msokk/Leaflet,andrewmartini/Leaflet,sambernet/Leaflet,scaddenp/Leaflet,litnerdy/Leaflet,litnerdy/Leaflet,thalesfsp/Leaflet,kumy/Leaflet,Mark-Wood/Leaflet,javimolla/Leaflet,AP-whitehat/Leaflet,Leaflet/Leaflet,prashen/Leaflet,prashen/Leaflet,2gis/Leaflet,nathancahill/Leaflet,Ubisense/Leaflet,eriksjaastad/Leaflet,lee101/Leaflet,patrickarlt/Leaflet,jblarsen/Leaflet,pakro/Leaflet,kumy/Leaflet,patrickarlt/Leaflet,msokk/Leaflet,RobertoMalatesta/Leaflet,alex2wong/Leaflet,andrewmartini/Leaflet,twoubt/Leaflet,mediasuitenz/Leaflet,mbrukman/Leaflet,tomnod/Leaflet,nikhildhamsaniya/Leaflet,MuellerMatthew/Leaflet,jmutua2015/Leaflet,taraszerebecki/Leaflet,gabrielpconceicao/frontend-asset-leaflet,jmutua2015/Leaflet,msiadak/Leaflet,litnerdy/Leaflet,iZucken/Leaflet,mediasuitenz/Leaflet,fredericksilva/Leaflet,lee101/Leaflet,perliedman/Leaflet,sambernet/Leaflet,mstahv/Leaflet,Srikanth4/Leaflet,grahamthompson/Leaflet,Neorth/Leaflet,starsolaris/Leaflet,Jakobud/Leaflet,mbrukman/Leaflet,Ubisense/Leaflet,waeltken/Leaflet,tormi/Leaflet,nycitt/Leaflet,elfalem/Leaflet,billybonz1/Leaflet,twoubt/Leaflet,dhootha/Leaflet,beni55/Leaflet,fab1an/Leaflet,huangsong/Leaflet,jasonoverland/Leaflet,klaftertief/Leaflet,mediasuitenz/Leaflet,davidlukerice/Leaflet,AndBicScadMedia/Leaflet,stefanocudini/Leaflet,Leaflet/Leaflet,Trufi/Leaflet,w8r/Leaflet,jmutua2015/Leaflet,waeltken/Leaflet,msiadak/Leaflet,mbrukman/Leaflet,sellonen/Leaflet,mourner/Leaflet,yohanboniface/Leaflet,AndBicScadMedia/Leaflet,brunocasanova/frontend-asset-leaflet,pzdz/Leaflet,sellonen/Leaflet,olafurr/Leaflet,codeator/Leaflet,lizardtechblog/Leaflet,fab1an/Leaflet,yohanboniface/Leaflet,RyanHickman/Leaflet,eriksjaastad/Leaflet,kjell/Leaflet,juliensoret/Leaflet,klaftertief/Leaflet,MuellerMatthew/Leaflet,akauppi/Leaflet,yohanboniface/Leaflet,RyanHickman/Leaflet,davojta/Leaflet,psicomante/Leaflet,CorainChicago/Leaflet,geoloep/Leaflet,mstahv/Leaflet,jasonoverland/Leaflet,Jakobud/Leaflet,fillerwriter/Leaflet,psicomante/Leaflet,MuellerMatthew/Leaflet,brah/Leaflet,sisou/Leaflet,DrillingInfo/Leaflet,nathancahill/Leaflet,iamjonbradley/Leaflet,Andrey-Pavlov/Leaflet,brah/Leaflet,javimolla/Leaflet,wancharle/Leaflet,thalesfsp/Leaflet,Ossehoht/Leaflet,Ubisense/Leaflet,jblarsen/Leaflet,CorainChicago/Leaflet,Trufi/Leaflet,billybonz1/Leaflet,devjoseluis/Leaflet,2gis/Leaflet,caiiiycuk/Leaflet,davojta/Leaflet,tyrasd/Leaflet,tbassett44/Leaflet,moklick/Leaflet,elkingtonmcb/Leaflet,akrzyzanowskino/TeamSE,sellonen/Leaflet,starsolaris/Leaflet,fillerwriter/Leaflet,fillerwriter/Leaflet,nikhildhamsaniya/Leaflet,olafurr/Leaflet,akrzyzanowskino/TeamSE,akrzyzanowskino/TeamSE,mstahv/Leaflet,kjell/Leaflet,jasonoverland/Leaflet,beni55/Leaflet,frogcat/Leaflet,nvoron23/Leaflet,caiiiycuk/Leaflet,caiiiycuk/Leaflet,RLRR/Leaflet,2gis/Leaflet,taraszerebecki/Leaflet,bbecquet/Leaflet,Neorth/Leaflet,wrrnwng/Leaflet,wrrnwng/Leaflet,davidlukerice/Leaflet,huangsong/Leaflet,Ossehoht/Leaflet,cmulders/Leaflet,cartant/Leaflet,fredericksilva/Leaflet,davidlukerice/Leaflet,Fil/Leaflet,wpf500/Leaflet,scaddenp/Leaflet,cmulders/Leaflet,webmechanicx/Leaflet,w8r/Leaflet,nikhildhamsaniya/Leaflet,starsolaris/Leaflet,msiadak/Leaflet,waeltken/Leaflet,Neorth/Leaflet