diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-11-15 03:23:39 +0000 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-11-17 09:56:04 +0100 |
commit | 0e7adcf18af72b09088526d5d71489049f624554 (patch) | |
tree | 8b320480e87a920e392a21be333c489edc5ac2a7 /components/script/dom/htmltimeelement.rs | |
parent | a5f0eb9205edf154dcb50419398a87a459058fa6 (diff) | |
download | servo-0e7adcf18af72b09088526d5d71489049f624554.tar.gz servo-0e7adcf18af72b09088526d5d71489049f624554.zip |
style: Simplify background-repeat.
This way we always serialize in the shortest form, and take less space.
This is useful because when serializing uncomputed values we'd like to compare
to the initial value to avoid serializing parts of a shorthand, but with the
existing implementation we would generate always a second keyword, which means
that we'll never match it.
This also matches Chrome and WebKit, incidentally, so I'm pretty confident the
behavior change when serializing specified style is web-compatible.
Differential Revision: https://phabricator.services.mozilla.com/D11941
Diffstat (limited to 'components/script/dom/htmltimeelement.rs')
0 files changed, 0 insertions, 0 deletions