diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-03-17 21:48:33 +0000 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-04-16 16:35:07 +0200 |
commit | ece146988c695bcf432bffb606116ba9504e80e7 (patch) | |
tree | 3a3b935f18572b608b0f043bcdc2c2af2983afb1 /components/script/layout_image.rs | |
parent | ccc41dd89d00483f3308101b03ba37341e9b819e (diff) | |
download | servo-ece146988c695bcf432bffb606116ba9504e80e7.tar.gz servo-ece146988c695bcf432bffb606116ba9504e80e7.zip |
style: Change the parsing order of border shorthands.
It's not ambiguous, and <width> <style> <color> seems like a more common order.
This is just a minor perf tweak, as the CSS parser token cache will most often
kick in to avoid re-tokenizing values.
Also remove a redundant continue statement.
Differential Revision: https://phabricator.services.mozilla.com/D67224
Diffstat (limited to 'components/script/layout_image.rs')
0 files changed, 0 insertions, 0 deletions