Auto merge of #18358 - servo:change-attr-kind, r=emilio
Auto merge of #18358 - servo:change-attr-kind, r=emilio

Properly change the kind of the given attribute in SetAttributeNode

Fixes #18357.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18358)
<!-- Reviewable:end -->

emilio/servo,CJ8664/servo,KiChjang/servo,nnethercote/servo,mattnenterprise/servo,SimonSapin/servo,pyfisch/servo,eddyb/servo,pyfisch/servo,emilio/servo,dati91/servo,mbrubeck/servo,DominoTree/servo,dati91/servo,jimberlage/servo,jimberlage/servo,larsbergstrom/servo,CJ8664/servo,eddyb/servo,mbrubeck/servo,thiagopnts/servo,cbrewster/servo,canaltinova/servo,notriddle/servo,saneyuki/servo,CJ8664/servo,eddyb/servo,anthgur/servo,sadmansk/servo,DominoTree/servo,splav/servo,rnestler/servo,szeged/servo,peterjoel/servo,SimonSapin/servo,paulrouget/servo,jimberlage/servo,upsuper/servo,mbrubeck/servo,ConnorGBrewster/servo,notriddle/servo,emilio/servo,rnestler/servo,nnethercote/servo,paulrouget/servo,KiChjang/servo,cbrewster/servo,dsandeephegde/servo,saneyuki/servo,mbrubeck/servo,KiChjang/servo,rnestler/servo,nnethercote/servo,splav/servo,eddyb/servo,DominoTree/servo,nnethercote/servo,emilio/servo,splav/servo,pyfisch/servo,dati91/servo,paulrouget/servo,anthgur/servo,pyfisch/servo,mattnenterprise/servo,saneyuki/servo,DominoTree/servo,larsbergstrom/servo,larsbergstrom/servo,ConnorGBrewster/servo,emilio/servo,sadmansk/servo,sadmansk/servo,rnestler/servo,larsbergstrom/servo,peterjoel/servo,mbrubeck/servo,dati91/servo,thiagopnts/servo,mbrubeck/servo,avadacatavra/servo,SimonSapin/servo,eddyb/servo,fiji-flo/servo,upsuper/servo,KiChjang/servo,splav/servo,upsuper/servo,nnethercote/servo,larsbergstrom/servo,canaltinova/servo,splav/servo,thiagopnts/servo,paulrouget/servo,anthgur/servo,peterjoel/servo,emilio/servo,DominoTree/servo,notriddle/servo,peterjoel/servo,szeged/servo,splav/servo,larsbergstrom/servo,cbrewster/servo,anthgur/servo,canaltinova/servo,rnestler/servo,larsbergstrom/servo,jimberlage/servo,dati91/servo,paulrouget/servo,anthgur/servo,thiagopnts/servo,nnethercote/servo,avadacatavra/servo,upsuper/servo,thiagopnts/servo,CJ8664/servo,saneyuki/servo,DominoTree/servo,cbrewster/servo,DominoTree/servo,dati91/servo,canaltinova/servo,mattnenterprise/servo,paulrouget/servo,dsandeephegde/servo,paulrouget/servo,jimberlage/servo,jimberlage/servo,dsandeephegde/servo,splav/servo,sadmansk/servo,mbrubeck/servo,szeged/servo,splav/servo,notriddle/servo,canaltinova/servo,canaltinova/servo,ConnorGBrewster/servo,DominoTree/servo,emilio/servo,upsuper/servo,canaltinova/servo,peterjoel/servo,emilio/servo,fiji-flo/servo,upsuper/servo,sadmansk/servo,DominoTree/servo,saneyuki/servo,nnethercote/servo,sadmansk/servo,splav/servo,notriddle/servo,jimberlage/servo,DominoTree/servo,rnestler/servo,fiji-flo/servo,mattnenterprise/servo,dsandeephegde/servo,SimonSapin/servo,KiChjang/servo,notriddle/servo,peterjoel/servo,szeged/servo,jimberlage/servo,CJ8664/servo,cbrewster/servo,pyfisch/servo,fiji-flo/servo,eddyb/servo,dsandeephegde/servo,mattnenterprise/servo,avadacatavra/servo,peterjoel/servo,emilio/servo,avadacatavra/servo,rnestler/servo,szeged/servo,larsbergstrom/servo,dsandeephegde/servo,szeged/servo,saneyuki/servo,upsuper/servo,larsbergstrom/servo,dsandeephegde/servo,fiji-flo/servo,KiChjang/servo,peterjoel/servo,avadacatavra/servo,szeged/servo,SimonSapin/servo,dati91/servo,KiChjang/servo,splav/servo,anthgur/servo,saneyuki/servo,thiagopnts/servo,szeged/servo,peterjoel/servo,KiChjang/servo,CJ8664/servo,SimonSapin/servo,avadacatavra/servo,paulrouget/servo,pyfisch/servo,cbrewster/servo,thiagopnts/servo,upsuper/servo,ConnorGBrewster/servo,ConnorGBrewster/servo,sadmansk/servo,notriddle/servo,notriddle/servo,KiChjang/servo,rnestler/servo,larsbergstrom/servo,emilio/servo,pyfisch/servo,jimberlage/servo,nnethercote/servo,CJ8664/servo,dati91/servo,mattnenterprise/servo,pyfisch/servo,paulrouget/servo,sadmansk/servo,ConnorGBrewster/servo,avadacatavra/servo,eddyb/servo,paulrouget/servo,KiChjang/servo,fiji-flo/servo,mattnenterprise/servo,pyfisch/servo,dsandeephegde/servo,ConnorGBrewster/servo,szeged/servo,saneyuki/servo,SimonSapin/servo,canaltinova/servo,saneyuki/servo,avadacatavra/servo,cbrewster/servo,pyfisch/servo,saneyuki/servo,anthgur/servo,CJ8664/servo,thiagopnts/servo,nnethercote/servo,mbrubeck/servo,notriddle/servo,anthgur/servo,ConnorGBrewster/servo,notriddle/servo,eddyb/servo,fiji-flo/servo,fiji-flo/servo,cbrewster/servo,SimonSapin/servo,nnethercote/servo,peterjoel/servo,mattnenterprise/servo,szeged/servo