Auto merge of #15305 - dbaron:reset-more-for-font, r=Manishearth
Auto merge of #15305 - dbaron:reset-more-for-font, r=Manishearth

Make additional properties be reset by the 'font' shorthand.

A number of properties are supposed to be reset to initial values by the
'font' shorthand.  This does so for all such properties that Servo
currently supports (conditional on when they're supported).

Fixes #15033.

It's not clear to me that the use of <code>None</code> is correct for resetting to initial values, but it seems to match what at least some other shorthands do (I think I was looking at the code for border), and it appears to fix the tests as expected.  I haven't probed into it more than that.

/cc @Manishearth

---
<!-- 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 (I haven't quite gotten the servo build to work, but stylo build works)
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #15033 (github issue number if applicable).

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

This has test coverage when running stylo.  In particular, it fixes a bunch of sets of mochitest failures in layout/style/test/test_value_storage.html, with the set for each value of the 'font' shorthand listed in property_database.js looking like:
```
 TEST-PASS | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font'
 TEST-PASS | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-style')
 TEST-PASS | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-variant')
 TEST-PASS | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-weight')
 TEST-PASS | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-size')
 TEST-PASS | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'line-height')
 TEST-PASS | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-family')
 TEST-PASS | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-stretch')
-TEST-UNEXPECTED-FAIL | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-size-adjust') - didn't expect "", but got it
+TEST-PASS | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-size-adjust')
 TEST-UNEXPECTED-FAIL | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-feature-settings') - didn't expect "", but got it
 TEST-UNEXPECTED-FAIL | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-language-override') - didn't expect "", but got it
-TEST-UNEXPECTED-FAIL | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-kerning') - didn't expect "", but got it
+TEST-PASS | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-kerning')
 TEST-UNEXPECTED-FAIL | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-synthesis') - didn't expect "", but got it
 TEST-UNEXPECTED-FAIL | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-variant-alternates') - didn't expect "", but got it
-TEST-UNEXPECTED-FAIL | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-variant-caps') - didn't expect "", but got it
+TEST-PASS | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-variant-caps')
 TEST-UNEXPECTED-FAIL | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-variant-east-asian') - didn't expect "", but got it
 TEST-UNEXPECTED-FAIL | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-variant-ligatures') - didn't expect "", but got it
 TEST-UNEXPECTED-FAIL | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-variant-numeric') - didn't expect "", but got it
-TEST-UNEXPECTED-FAIL | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-variant-position') - didn't expect "", but got it
+TEST-PASS | layout/style/test/test_value_storage.html | setting 'medium serif' on 'font' (for 'font-variant-position')
```

I'm not sure if separate Servo test coverage is needed.
<!-- 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/15305)
<!-- Reviewable:end -->

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