servo/components
Emilio Cobos Álvarez 6fd17ccb35 style: Implement CSS revert keyword.
The only fishy bit is the animation stuff. In particular, there are two places
where we just mint the revert behavior:

 * When serializing web-animations keyframes (the custom properties stuff in
   declaration_block.rs). That codepath is already not sound and I wanted to
   get rid of it in bug 1501530, but what do I know.

 * When getting an animation value from a property declaration. At that point
   we no longer have the CSS rules that apply to the element to compute the
   right revert value handy. It'd also use the wrong style anyway, I think,
   given the way StyleBuilder::for_animation works.

   We _could_ probably get them out of somewhere, but it seems like a whole lot
   of code reinventing the wheel which is probably not useful, and that Blink
   and WebKit just cannot implement either since they don't have a rule tree,
   so it just doesn't seem worth the churn.

The custom properties code looks a bit different in order to minimize hash
lookups in the common case. FWIW, `revert` for custom properties doesn't seem
very useful either, but oh well.

Differential Revision: https://phabricator.services.mozilla.com/D21877
2019-03-13 15:08:35 +01:00
..
allocator Make Servo components use winapi 0.3 2019-01-16 14:29:53 +01:00
atoms Fire negotiationneeded and icecandidate events 2019-01-29 11:36:27 -08:00
background_hang_monitor fix frame-pointer stackwalking 2019-01-29 20:35:45 +08:00
bluetooth Update bool pattern matching into if-else 2019-01-30 20:54:12 +01:00
bluetooth_traits Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
canvas Auto merge of #23000 - jdm:invisible-webgl, r=nox 2019-03-08 10:46:52 -05:00
canvas_traits Remove offscreen_gl_context dependency from canvas_traits and script. 2019-03-07 09:27:36 -05:00
compositing Use a test VRDisplay that renders to a GL window 2019-03-05 12:54:12 -06:00
config Fix deprecation warnings 2019-01-28 11:32:40 +01:00
constellation Auto merge of #23000 - jdm:invisible-webgl, r=nox 2019-03-08 10:46:52 -05:00
debugger Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
deny_public_fields Update syn and related dependencies 2018-11-30 17:48:41 +01:00
devtools Remove redundant .clone()s 2018-12-11 10:43:51 +09:00
devtools_traits Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
dom_struct Update syn and related dependencies 2018-11-30 17:48:41 +01:00
domobject_derive Update syn and related dependencies 2018-11-30 17:48:41 +01:00
embedder_traits style: Make tidy happy. 2019-01-20 17:50:18 +01:00
fallible Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
geometry Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
gfx Fix deprecation warnings 2019-01-28 11:32:40 +01:00
gfx_traits Fix deprecation warnings 2019-01-28 11:32:40 +01:00
hashglobe cargo fix --edition 2018-11-10 17:47:28 +01:00
jstraceable_derive Update syn and related dependencies 2018-11-30 17:48:41 +01:00
layout Reformat 2019-02-26 08:18:33 +01:00
layout_thread Auto merge of #22396 - jdm:no-spam-iframe-size, r=asajeffrey 2019-01-14 19:12:59 -05:00
layout_traits style: Make Servo use a single thread-pool for layout-related tasks per-process. 2018-12-23 13:00:56 +01:00
malloc_size_of Update webrender. 2019-01-17 17:52:35 -05:00
metrics Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
msg Update webrender. 2019-01-17 17:52:35 -05:00
net Avoid locking network timing data unnecessarily. 2019-02-01 15:47:14 -05:00
net_traits Add PerformanceResourceTiming: redirectStart 2019-02-01 14:55:37 +08:00
pixels Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
profile Fix deprecation warnings 2019-01-28 11:32:40 +01:00
profile_traits Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
rand Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
range Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
remutex Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
script Auto merge of #23008 - georgeroman:implement_webdriver_find_elem_from_elem, r=Manishearth 2019-03-11 20:47:27 -04:00
script_layout_interface Move CSSReporter from script_layout_interface to script 2019-01-14 10:26:26 +01:00
script_plugins Upgrade to rustc 1.34.0-nightly (0ea22717a 2019-03-02) 2019-03-03 19:32:42 +01:00
script_traits Implement WebDriver FindElementFromElement command 2019-03-09 16:56:51 +02:00
selectors Reformat 2019-02-26 08:18:33 +01:00
servo Auto merge of #22953 - asajeffrey:webvr-glwindow, r=paulrouget 2019-03-05 15:02:24 -05:00
servo_arc cargo fix --edition 2018-11-10 17:47:28 +01:00
size_of_test Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
std_test_override Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
style style: Implement CSS revert keyword. 2019-03-13 15:08:35 +01:00
style_derive style: When deriving something with an output type, map preconditions as well. 2019-03-13 15:08:20 +01:00
style_traits style: Implement a version of #[css(skip_if)] that takes more context. 2019-03-13 15:08:19 +01:00
url Auto merge of #22740 - Hyperion101010:master, r=jdm 2019-01-28 15:56:29 -05:00
webdriver_server Implement WebDriver FindElementFromElement command 2019-03-09 16:56:51 +02:00
webvr Use a test VRDisplay that renders to a GL window 2019-03-05 12:54:12 -06:00
webvr_traits Use a test VRDisplay that renders to a GL window 2019-03-05 12:54:12 -06:00