servo/components
Emilio Cobos Álvarez 9490786876
style: Tweak font-family serialization so that it is simpler.
In particular, every time that there's at least more than one identifier, switch
to quoted family name, since the reconstruction of the serialization will be
lossy anyway.

This allows us to avoid copies and all that.

What Chrome implements doesn't make much sense in the sense that they always
serialize:

  font-family: "foo";  -> font-family: foo;
  font-family: foo bar;  -> font-family: "foo bar";
  font-family: foo\ bar; -> font-family: "foo bar";

This patch makes us match on the second case, but not on the rest, because I
think Gecko's behavior is preferable in those cases.

Bug: 1434802
Reviewed-by: xidorn
MozReview-Commit-ID: JwBECA93lfi
2018-02-08 01:09:39 +01:00
..
allocator FreeType: don’t use usable_size() as deallocation size 2017-10-30 18:22:30 +01:00
atoms Bump string_cache, html5ever and xml5ever 2017-12-07 20:37:38 +01:00
bluetooth Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
bluetooth_traits Update WR (details below): 2017-10-16 16:33:24 +10:00
canvas Auto merge of #19868 - CYBAI:specific-assertion, r=emilio 2018-01-25 18:06:33 -06:00
canvas_traits Update euclid, azure, skia, offscreen_gl_context, plane-split, webrender 2017-12-08 14:32:28 +01:00
compositing Change debug assertions to specific ones 2018-02-07 09:21:24 +01:00
config Use specific negative assertion for config opts 2018-01-26 01:39:54 +08:00
constellation Auto merge of #19798 - gootorov:move_cursor_from_mako, r=emilio 2018-01-20 12:10:58 -06:00
debugger
deny_public_fields
devtools Update cookie to 0.10 2017-11-24 10:49:14 +01:00
devtools_traits Update cookie to 0.10 2017-11-24 10:49:14 +01:00
dom_struct Upgrade to rustc 1.24.0-nightly (5a2465e2b 2017-12-06) 2017-12-07 13:50:09 +01:00
domobject_derive
fallible Update smallvec to 0.6 2017-12-05 12:03:20 +01:00
geometry Introduce MaxRect trait 2018-01-17 23:29:57 +01:00
gfx Use LayoutRects for bounds and overflow in display lists 2018-02-07 12:21:08 +01:00
gfx_traits Update WebRender 2018-02-06 15:10:35 +01:00
hashglobe Change debug assertions to specific ones 2018-02-07 09:21:24 +01:00
jstraceable_derive
layout Auto merge of #19931 - pyfisch:float-bounds, r=mrobinson 2018-02-07 07:11:41 -05:00
layout_thread Use LayoutRects for bounds and overflow in display lists 2018-02-07 12:21:08 +01:00
layout_traits Update WR (details below): 2017-10-16 16:33:24 +10:00
malloc_size_of Use LayoutRects for bounds and overflow in display lists 2018-02-07 12:21:08 +01:00
malloc_size_of_derive
metrics Decoupled gfx and metrics 2018-01-15 16:25:51 +01:00
msg Update WebRender 2018-02-06 15:10:35 +01:00
net Change debug assertions to specific ones 2018-02-07 09:21:24 +01:00
net_traits Use specific negative assertion for unit tests of net trait pub_domain 2018-01-26 01:55:39 +08:00
nonzero Replace NonZeroU32 and NonZeroUsize with a generic NonZero 2017-10-16 20:19:19 +02:00
profile added time to interactive metrics, refactored metrics to use traits 2017-10-24 21:02:56 +01:00
profile_traits added time to interactive metrics, refactored metrics to use traits 2017-10-24 21:02:56 +01:00
rand Update lazy_static to 1.0 2017-12-04 22:51:13 +01:00
range Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
remutex Merge servo_remutex to servo_remutex_tests 2018-01-20 15:37:04 +01:00
script Auto merge of #19970 - janczer:change_debug_assertions, r=emilio 2018-02-07 06:20:36 -05:00
script_layout_interface Update WebRender 2018-02-06 15:10:35 +01:00
script_plugins Make the unrooted_must_root conditional on a default Cargo feature. 2017-11-02 15:08:04 +01:00
script_traits Update WebRender 2018-02-06 15:10:35 +01:00
selectors selectors: Never match ::slotted on <slot>s. 2018-01-27 17:57:17 +01:00
servo Update euclid, azure, skia, offscreen_gl_context, plane-split, webrender 2017-12-08 14:32:28 +01:00
servo_arc Change debug assertions to specific ones 2018-02-07 09:21:24 +01:00
size_of_test
style style: Tweak font-family serialization so that it is simpler. 2018-02-08 01:09:39 +01:00
style_derive Move TransformStyle out of Mako files 2018-02-01 12:40:36 +01:00
style_traits Simplify define_css_keyword_enum 2018-02-01 12:43:51 +01:00
url Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
webdriver_server Use specific assertion for webdriver server 2018-01-26 01:19:00 +08:00
webvr Update euclid, azure, skia, offscreen_gl_context, plane-split, webrender 2017-12-08 14:32:28 +01:00
webvr_traits Update WR (details below): 2017-10-16 16:33:24 +10:00