mirror of
https://github.com/servo/servo.git
synced 2025-10-16 08:20:22 +01:00
Make serialization match Gecko in a few corner cases This addresses the testcases from https://bugzilla.mozilla.org/show_bug.cgi?id=1345218. Gecko differs from the specification by doing the following: * reusing longhands that have previously been serialized in order to serialize shorthands * immediately breaking out of the shorthand loop for the current property as soon as a shorthand is successfully serialized https://github.com/w3c/csswg-drafts/issues/1774 is filed to track ways that the standard could be made more clear on these points. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix [bug 1345218](https://bugzilla.mozilla.org/show_bug.cgi?id=1345218). - [X] There are tests for these changes <!-- 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/18352) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
gfx | ||
layout | ||
metrics | ||
net | ||
net_traits | ||
profile | ||
script | ||
servo_config | ||
servo_remutex | ||
style | ||
stylo |