Auto merge of #13312 - 6112:flush-style-cache, r=emilio
Auto merge of #13312 - 6112:flush-style-cache, r=emilio

Flush style sharing cache on parent mismatch.

Fixes #12913. No new tests were added, but we should at least make sure existing tests still pass.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12913

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

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

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