Auto merge of #6543 - Ms2ger:a-href-activate, r=jdm
Auto merge of #6543 - Ms2ger:a-href-activate, r=jdm

Only make a elements activatable when they have an href attribute.

I've tested this manually, by clicking on the "baz" in code like

```js
var a = document.body.appendChild(document.createElement("a"));
a.textContent = "bar ";
a.setAttribute("href", "http://www.yahoo.com");
var b = a.appendChild(document.createElement("a"));
b.textContent = "baz";
```

but I've not found a way to write an automated test.

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

WriterOfAlicrow/servo,ryancanhelpyou/servo,g-k/servo,karlito40/servo,splav/servo,KiChjang/servo,g-k/servo,deokjinkim/servo,jdramani/servo,youprofit/servo,huonw/servo,DominoTree/servo,karlito40/servo,WriterOfAlicrow/servo,aidanhs/servo,paulrouget/servo,pyfisch/servo,GyrosOfWar/servo,pyecs/servo,bjwbell/servo,caldwell/servo,runarberg/servo,steveklabnik/servo,aidanhs/servo,nerith/servo,huonw/servo,notriddle/servo,huonw/servo,deokjinkim/servo,meh/servo,nerith/servo,rentongzhang/servo,kindersung/servo,anthgur/servo,karlito40/servo,jdramani/servo,bjwbell/servo,rnestler/servo,KiChjang/servo,CJ8664/servo,ConnorGBrewster/servo,eddyb/servo,cbrewster/servo,zentner-kyle/servo,j3parker/servo,jdramani/servo,tschneidereit/servo,szeged/servo,eddyb/servo,youprofit/servo,jimberlage/servo,mdibaiee/servo,jdramani/servo,aidanhs/servo,walac/servo,larsbergstrom/servo,zentner-kyle/servo,notriddle/servo,pyecs/servo,szeged/servo,deokjinkim/servo,kindersung/servo,larsbergstrom/servo,KiChjang/servo,ConnorGBrewster/servo,meh/servo,cbrewster/servo,upsuper/servo,GyrosOfWar/servo,wartman4404/servo,SimonSapin/servo,emilio/servo,tempbottle/servo,canaltinova/servo,mattnenterprise/servo,WriterOfAlicrow/servo,saratang/servo,RenaudParis/servo,ConnorGBrewster/servo,dvberkel/servo,cbrewster/servo,szeged/servo,youprofit/servo,sadmansk/servo,peterjoel/servo,jimberlage/servo,boghison/servo,saratang/servo,meh/servo,nerith/servo,paulrouget/servo,j3parker/servo,szeged/servo,nnethercote/servo,GyrosOfWar/servo,bjwbell/servo,ryancanhelpyou/servo,aweinstock314/servo,dsandeephegde/servo,nnethercote/servo,nick-thompson/servo,DominoTree/servo,KiChjang/servo,sadmansk/servo,j3parker/servo,tschneidereit/servo,WriterOfAlicrow/servo,anthgur/servo,bjwbell/servo,CJ8664/servo,wartman4404/servo,pyecs/servo,zentner-kyle/servo,emilio/servo,DominoTree/servo,zentner-kyle/servo,fiji-flo/servo,dati91/servo,j3parker/servo,aweinstock314/servo,KiChjang/servo,ryancanhelpyou/servo,pyfisch/servo,akosel/servo,pyfisch/servo,vks/servo,pyfisch/servo,steveklabnik/servo,wartman4404/servo,mdibaiee/servo,vks/servo,mbrubeck/servo,aweinstock314/servo,kindersung/servo,notriddle/servo,ConnorGBrewster/servo,AnthonyBroadCrawford/servo,notriddle/servo,tempbottle/servo,AnthonyBroadCrawford/servo,mattnenterprise/servo,dagnir/servo,codemac/servo,thiagopnts/servo,nick-thompson/servo,nick-thompson/servo,dagnir/servo,rnestler/servo,peterjoel/servo,fiji-flo/servo,saneyuki/servo,nrc/servo,jimberlage/servo,fiji-flo/servo,larsbergstrom/servo,bjwbell/servo,aidanhs/servo,notriddle/servo,canaltinova/servo,nick-thompson/servo,nnethercote/servo,nnethercote/servo,canaltinova/servo,dati91/servo,huonw/servo,brendandahl/servo,jimberlage/servo,eddyb/servo,s142857/servo,thiagopnts/servo,pyfisch/servo,AnthonyBroadCrawford/servo,aidanhs/servo,nnethercote/servo,brendandahl/servo,larsbergstrom/servo,notriddle/servo,fiji-flo/servo,saratang/servo,tafia/servo,deokjinkim/servo,larsbergstrom/servo,meh/servo,A-deLuna/servo,dvberkel/servo,CJ8664/servo,dhananjay92/servo,caldwell/servo,nrc/servo,s142857/servo,dagnir/servo,ConnorGBrewster/servo,emilio/servo,ryancanhelpyou/servo,codemac/servo,ConnorGBrewster/servo,g-k/servo,notriddle/servo,karlito40/servo,DominoTree/servo,larsbergstrom/servo,emilio/servo,boghison/servo,saneyuki/servo,KiChjang/servo,eddyb/servo,ryancanhelpyou/servo,dagnir/servo,mattnenterprise/servo,dhananjay92/servo,dsandeephegde/servo,WriterOfAlicrow/servo,runarberg/servo,avadacatavra/servo,wartman4404/servo,pyecs/servo,dsandeephegde/servo,SimonSapin/servo,mbrubeck/servo,A-deLuna/servo,SimonSapin/servo,mbrubeck/servo,avadacatavra/servo,thiagopnts/servo,jimberlage/servo,mattnenterprise/servo,DominoTree/servo,DominoTree/servo,huonw/servo,vks/servo,tafia/servo,AnthonyBroadCrawford/servo,CJ8664/servo,akosel/servo,s142857/servo,tempbottle/servo,jlegendary/servo,s142857/servo,upsuper/servo,saneyuki/servo,larsbergstrom/servo,s142857/servo,szeged/servo,vks/servo,emilio/servo,sadmansk/servo,aweinstock314/servo,nrc/servo,SimonSapin/servo,codemac/servo,szeged/servo,GyrosOfWar/servo,dati91/servo,meh/servo,saneyuki/servo,tschneidereit/servo,avadacatavra/servo,dsandeephegde/servo,boghison/servo,zentner-kyle/servo,dsandeephegde/servo,peterjoel/servo,wartman4404/servo,GyrosOfWar/servo,nnethercote/servo,notriddle/servo,pyecs/servo,kindersung/servo,saneyuki/servo,g-k/servo,rentongzhang/servo,nrc/servo,vks/servo,pgonda/servo,upsuper/servo,saneyuki/servo,szeged/servo,notriddle/servo,jlegendary/servo,canaltinova/servo,KiChjang/servo,akosel/servo,dagnir/servo,DominoTree/servo,walac/servo,nerith/servo,dhananjay92/servo,KiChjang/servo,nrc/servo,WriterOfAlicrow/servo,jimberlage/servo,jlegendary/servo,saratang/servo,nnethercote/servo,anthgur/servo,nick-thompson/servo,SimonSapin/servo,paulrouget/servo,upsuper/servo,peterjoel/servo,tafia/servo,cbrewster/servo,saneyuki/servo,codemac/servo,KiChjang/servo,AnthonyBroadCrawford/servo,SimonSapin/servo,mattnenterprise/servo,deokjinkim/servo,mdibaiee/servo,boghison/servo,dvberkel/servo,pyfisch/servo,mbrubeck/servo,saneyuki/servo,jlegendary/servo,nerith/servo,SimonSapin/servo,akosel/servo,dhananjay92/servo,canaltinova/servo,DominoTree/servo,brendandahl/servo,mdibaiee/servo,brendandahl/servo,rnestler/servo,nick-thompson/servo,A-deLuna/servo,pgonda/servo,A-deLuna/servo,anthgur/servo,dati91/servo,sadmansk/servo,pyfisch/servo,pyecs/servo,paulrouget/servo,dagnir/servo,zentner-kyle/servo,AnthonyBroadCrawford/servo,emilio/servo,fiji-flo/servo,caldwell/servo,paulrouget/servo,WriterOfAlicrow/servo,emilio/servo,youprofit/servo,avadacatavra/servo,brendandahl/servo,ryancanhelpyou/servo,anthgur/servo,codemac/servo,rentongzhang/servo,mdibaiee/servo,caldwell/servo,dvberkel/servo,ConnorGBrewster/servo,walac/servo,larsbergstrom/servo,nnethercote/servo,youprofit/servo,anthgur/servo,mattnenterprise/servo,g-k/servo,jimberlage/servo,tafia/servo,thiagopnts/servo,pgonda/servo,dsandeephegde/servo,tafia/servo,A-deLuna/servo,cbrewster/servo,tafia/servo,dvberkel/servo,s142857/servo,nerith/servo,upsuper/servo,tempbottle/servo,brendandahl/servo,peterjoel/servo,A-deLuna/servo,dati91/servo,rentongzhang/servo,SimonSapin/servo,deokjinkim/servo,GyrosOfWar/servo,tschneidereit/servo,jdramani/servo,aweinstock314/servo,aweinstock314/servo,CJ8664/servo,tschneidereit/servo,kindersung/servo,mdibaiee/servo,avadacatavra/servo,peterjoel/servo,zentner-kyle/servo,rnestler/servo,bjwbell/servo,RenaudParis/servo,splav/servo,nrc/servo,eddyb/servo,paulrouget/servo,meh/servo,nnethercote/servo,larsbergstrom/servo,runarberg/servo,paulrouget/servo,splav/servo,walac/servo,youprofit/servo,peterjoel/servo,saratang/servo,dati91/servo,huonw/servo,RenaudParis/servo,RenaudParis/servo,jdramani/servo,peterjoel/servo,sadmansk/servo,AnthonyBroadCrawford/servo,emilio/servo,splav/servo,rnestler/servo,thiagopnts/servo,splav/servo,fiji-flo/servo,KiChjang/servo,karlito40/servo,caldwell/servo,j3parker/servo,CJ8664/servo,steveklabnik/servo,mbrubeck/servo,dvberkel/servo,splav/servo,walac/servo,brendandahl/servo,RenaudParis/servo,DominoTree/servo,RenaudParis/servo,tafia/servo,rentongzhang/servo,cbrewster/servo,vks/servo,splav/servo,RenaudParis/servo,boghison/servo,nick-thompson/servo,dhananjay92/servo,dagnir/servo,pgonda/servo,deokjinkim/servo,dsandeephegde/servo,dati91/servo,CJ8664/servo,mbrubeck/servo,DominoTree/servo,ryancanhelpyou/servo,jimberlage/servo,steveklabnik/servo,canaltinova/servo,cbrewster/servo,eddyb/servo,splav/servo,avadacatavra/servo,sadmansk/servo,karlito40/servo,saratang/servo,jlegendary/servo,thiagopnts/servo,j3parker/servo,anthgur/servo,caldwell/servo,cbrewster/servo,steveklabnik/servo,pyecs/servo,wartman4404/servo,saneyuki/servo,eddyb/servo,rnestler/servo,runarberg/servo,youprofit/servo,CJ8664/servo,tschneidereit/servo,upsuper/servo,mbrubeck/servo,jlegendary/servo,tschneidereit/servo,splav/servo,paulrouget/servo,meh/servo,emilio/servo,pyfisch/servo,mdibaiee/servo,ConnorGBrewster/servo,pyfisch/servo,nerith/servo,walac/servo,boghison/servo,mattnenterprise/servo,larsbergstrom/servo,aidanhs/servo,canaltinova/servo,steveklabnik/servo,A-deLuna/servo,dvberkel/servo,g-k/servo,fiji-flo/servo,tempbottle/servo,bjwbell/servo,pyfisch/servo,kindersung/servo,rnestler/servo,anthgur/servo,thiagopnts/servo,sadmansk/servo,karlito40/servo,thiagopnts/servo,pgonda/servo,j3parker/servo,szeged/servo,emilio/servo,saratang/servo,avadacatavra/servo,canaltinova/servo,runarberg/servo,akosel/servo,fiji-flo/servo,runarberg/servo,paulrouget/servo,peterjoel/servo,dsandeephegde/servo,boghison/servo,szeged/servo,paulrouget/servo,tempbottle/servo,steveklabnik/servo,rnestler/servo,saneyuki/servo,nrc/servo,rentongzhang/servo,upsuper/servo,mattnenterprise/servo,peterjoel/servo,dhananjay92/servo,nnethercote/servo,splav/servo,dati91/servo,jlegendary/servo,aweinstock314/servo,runarberg/servo,wartman4404/servo,eddyb/servo,notriddle/servo,jimberlage/servo,tempbottle/servo,huonw/servo,GyrosOfWar/servo,avadacatavra/servo,szeged/servo,mbrubeck/servo,kindersung/servo,aidanhs/servo,codemac/servo,akosel/servo,upsuper/servo,vks/servo,codemac/servo,walac/servo,g-k/servo,pgonda/servo,jdramani/servo,pgonda/servo,dhananjay92/servo,akosel/servo,caldwell/servo,s142857/servo,rentongzhang/servo,sadmansk/servo