Auto merge of #12361 - stshine:blockify-flex-item, r=pcwalton
Auto merge of #12361 - stshine:blockify-flex-item, r=pcwalton

Blockify elements in a flex container

<!-- Please describe your changes on the following line: -->
The is one of my pull requests that implement basic flexible box layout.
As the spec stated in https://drafts.csswg.org/css-flexbox/#flex-items ,
A inline-level child of a flex container should be converted to its block equivalent, according to CSS2.1 § 9.7.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because flexbox is not actually implemented yet.

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

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