Auto merge of #17384 - emilio:stylist-attr-dep, r=nox
Auto merge of #17384 - emilio:stylist-attr-dep, r=nox

style: Clean up some stylist code and make it slightly more efficient.

<!-- 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/17384)
<!-- Reviewable:end -->

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