fune/servo/components
Bastien Orivel e2d8bcc867 servo: Merge #19330 - Add a sanitize_value implementation for the color input (from Eijebong:sanitize_color); r=KiChjang
I had to change the test a little bit to avoid some failures due to
color and text both having a sanitizedValue which was making the test
use the first assertion instead of the second one in some cases.

The sanitize_value implementation is pretty simple, we iterate over the
content and checks that the content is 7 characters long, that the first
character is a `#` and then that all the following characters are
hexadecimal. If all those requirements are met, we lowercase the
content, otherwise we put `#000000` in it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 72e7f6095e56ca6230651fc73bced8b460487569

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e4985200fa96b3d6e40d09c9f30b5df47d8cbf3a
2017-11-22 19:42:58 -06:00
..
allocator servo: Merge #19061 - FreeType: don’t use usable_size() as deallocation size (from servo:ft-alloc); r=mbrubeck 2017-10-30 12:40:34 -05:00
atoms servo: Merge #19330 - Add a sanitize_value implementation for the color input (from Eijebong:sanitize_color); r=KiChjang 2017-11-22 19:42:58 -06:00
bluetooth servo: Merge #18967 - Bump bitflags to 1.0 (from Eijebong:bitflags2.0); r=mbrubeck 2017-10-30 18:25:45 -05:00
bluetooth_traits
canvas servo: Merge #19229 - Bump image and offscreen_gl_context (from servo:bumps); r=emilio 2017-11-15 20:58:46 -06:00
canvas_traits servo: Merge #19229 - Bump image and offscreen_gl_context (from servo:bumps); r=emilio 2017-11-15 20:58:46 -06:00
compositing servo: Merge #19314 - Update WR and the whole macOS crate stack (from servo:wr); r=jdm 2017-11-21 18:40:36 -06:00
config servo: Merge #19181 - Remove unused -t command-line flag (from mbrubeck:opts); r=emilio 2017-11-10 13:50:14 -06:00
constellation servo: Merge #19329 - Add RAII guard for cancelling fetch when the consumer no longer cares about it (from Manishearth:fetchcanceller); r=jdm 2017-11-22 18:30:57 -06:00
debugger
deny_public_fields
devtools servo: Merge #18967 - Bump bitflags to 1.0 (from Eijebong:bitflags2.0); r=mbrubeck 2017-10-30 18:25:45 -05:00
devtools_traits servo: Merge #18967 - Bump bitflags to 1.0 (from Eijebong:bitflags2.0); r=mbrubeck 2017-10-30 18:25:45 -05:00
dom_struct
domobject_derive
fallible
geometry
gfx servo: Merge #19314 - Update WR and the whole macOS crate stack (from servo:wr); r=jdm 2017-11-21 18:40:36 -06:00
gfx_traits
hashglobe
jstraceable_derive
layout servo: Merge #19317 - style: Move property allowance tests to PropertyId::parse_into (from emilio:property-allowed-in); r=SimonSapin 2017-11-21 07:47:52 -06:00
layout_thread servo: Merge #19317 - style: Move property allowance tests to PropertyId::parse_into (from emilio:property-allowed-in); r=SimonSapin 2017-11-21 07:47:52 -06:00
layout_traits
malloc_size_of servo: Merge #19180 - Fix binding generation for overloaded functions with optionals and de… (from ferjm:optional.overloaded.webidl); r=jdm 2017-11-11 08:59:20 -06:00
malloc_size_of_derive
metrics servo: Merge #19218 - added navigation start for interactive metrics (from avadacatavra:nav-start); r=jdm 2017-11-14 09:53:30 -06:00
msg servo: Merge #18967 - Bump bitflags to 1.0 (from Eijebong:bitflags2.0); r=mbrubeck 2017-10-30 18:25:45 -05:00
net servo: Merge #19328 - Remove cancellation map and ResourceId from the net* components (from Eijebong:remove_old_cancellation_code); r=KiChjang 2017-11-21 21:01:35 -06:00
net_traits servo: Merge #19328 - Remove cancellation map and ResourceId from the net* components (from Eijebong:remove_old_cancellation_code); r=KiChjang 2017-11-21 21:01:35 -06:00
nonzero
profile
profile_traits
rand
range
remutex
script servo: Merge #19330 - Add a sanitize_value implementation for the color input (from Eijebong:sanitize_color); r=KiChjang 2017-11-22 19:42:58 -06:00
script_layout_interface servo: Merge #19077 - changed f64 to u64 for navigation start timing until it had to be float (from avadacatavra:floats-are-the-actual-worst); r=jdm 2017-11-01 16:56:06 -05:00
script_plugins servo: Merge #19098 - Make the unrooted_must_root conditional on a default Cargo feature (from servo:minimal-plugin); r=jdm 2017-11-02 09:28:13 -05:00
script_traits servo: Merge #19329 - Add RAII guard for cancelling fetch when the consumer no longer cares about it (from Manishearth:fetchcanceller); r=jdm 2017-11-22 18:30:57 -06:00
selectors servo: Merge #19195 - style: :dir() pseudo class now represented by enum (from wilsoniya:issue-16840); r=emilio 2017-11-21 02:56:49 -06:00
servo servo: Merge #19314 - Update WR and the whole macOS crate stack (from servo:wr); r=jdm 2017-11-21 18:40:36 -06:00
servo_arc
size_of_test
style Backed out changeset 2e20100d8f59 (bug 1417709) for error in toolkit/library/rust/target r=backout on a CLOSED TREE 2017-11-23 01:18:45 +02:00
style_derive servo: Merge #19217 - style: Remove mozmm CSS unit (from emilio:bye-mozmm); r=heycam 2017-11-14 07:27:28 -06:00
style_traits servo: Merge #19186 - style: Derive more stuff (from emilio:derive-more-stuff); r=nox 2017-11-12 09:41:04 -06:00
url
webdriver_server servo: Merge #19318 - Make wdspec tests runnable (from jdm:webdriver); r=jgraham 2017-11-21 12:25:55 -06:00
webvr
webvr_traits