servo/components
Emilio Cobos Álvarez a3fcfb6435
style: Add a fast path for querySelector{,All} when we have classes or tags in the rightmost compound.
Before this patch we were only optimizing the case of a single selector, which
is fine, but not enough to catch ones like .foo .bar or so.

This patch allows us to optimize classes and tags in the rightmost compound,
while keeping the current optimization for #id selectors.

Need to profile this, but code-wise should be ready for review.

Differential Revision: https://phabricator.services.mozilla.com/D9351
2018-11-05 12:29:10 +01:00
..
allocator Format component allocator #21373 2018-08-16 15:44:54 +08:00
atoms HTMLMediaElement seeking 2018-10-26 10:19:52 +02:00
bluetooth Add a build switch to disable the native bluetooth backend. 2018-10-30 19:26:42 -04:00
bluetooth_traits Add lots of derived Debug impls 2018-10-29 09:21:37 -05:00
canvas Auto merge of #21914 - Eijebong:canvas-cleanup, r=jdm 2018-11-01 03:29:06 -04:00
canvas_traits Add lots of derived Debug impls 2018-10-29 09:21:37 -05:00
channel add servo_channel crate 2018-09-12 11:25:45 +08:00
compositing remove useless arguments from prepare_for_composite 2018-10-30 07:51:38 +01:00
config Add lots of derived Debug impls 2018-10-29 09:21:37 -05:00
constellation Update hyper to 0.12 2018-11-01 19:17:36 +01:00
debugger Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
deny_public_fields Format components debugger and deny_public_fields #21373 2018-09-01 09:44:53 +08:00
devtools Update hyper to 0.12 2018-11-01 19:17:36 +01:00
devtools_traits Update hyper to 0.12 2018-11-01 19:17:36 +01:00
dom_struct Format components dom_struct, domobject_derive and embedder_traits #21373 2018-09-03 08:19:25 +08:00
domobject_derive Format components dom_struct, domobject_derive and embedder_traits #21373 2018-09-03 08:19:25 +08:00
embedder_traits Auto merge of #21881 - pyfisch:keyboard-types, r=paulrouget 2018-10-17 05:36:08 -04:00
fallible Partially revert #21746. 2018-09-22 18:51:42 +02:00
geometry Move malloc_size_of_derive to proper position 2018-09-04 11:29:38 +08:00
gfx Auto merge of #22028 - asajeffrey:debug-all-the-things, r=emilio 2018-10-29 14:17:02 -04:00
gfx_traits Format gfx_traits #21373 2018-09-09 10:11:08 +08:00
hashglobe Format hashglobe #21373 2018-09-09 10:14:36 +08:00
jstraceable_derive Format jstraceable_derive #21373 2018-09-10 11:03:38 +08:00
layout Directly build WebRender LineDisplayItem 2018-10-28 22:23:36 +01:00
layout_thread Make layout use available image data before querying the image cache. 2018-10-12 21:55:09 -04:00
layout_traits Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
malloc_size_of Update hyper to 0.12 2018-11-01 19:17:36 +01:00
malloc_size_of_derive Rustfmt malloc_size_of & derive 2018-09-05 10:32:44 +02:00
metrics Auto merge of #21325 - gterzian:crossbeam_integration, r=SimonSapin,jdm 2018-09-12 13:33:45 -04:00
msg Add lots of derived Debug impls 2018-10-29 09:21:37 -05:00
net Update hyper to 0.12 2018-11-01 19:17:36 +01:00
net_traits Update hyper to 0.12 2018-11-01 19:17:36 +01:00
pixels Share some code between 2D canvas and WebGL 2018-10-09 14:57:02 +02:00
profile Update hyper to 0.12 2018-11-01 19:17:36 +01:00
profile_traits Add lots of derived Debug impls 2018-10-29 09:21:37 -05:00
rand Bump env_logger to 0.5 and log to 0.4 in every servo crate 2018-03-28 19:50:58 +02:00
range format components/range using rustfmt 2018-09-12 12:32:31 +05:30
remutex format components/remutex 2018-09-12 12:37:11 +05:30
script Update to new ServiceWorker spec link 2018-11-04 17:26:48 +08:00
script_layout_interface Make layout use available image data before querying the image cache. 2018-10-12 21:55:09 -04:00
script_plugins Format components/script_plugins 2018-09-13 01:01:35 +09:00
script_traits Update hyper to 0.12 2018-11-01 19:17:36 +01:00
selectors style: Assert earlier to try to get a more helpful stack. 2018-10-28 23:45:18 +01:00
servo Add a build switch to disable the native bluetooth backend. 2018-10-30 19:26:42 -04:00
servo_arc Fix tidy issues. 2018-09-18 11:46:01 +02:00
size_of_test Format component size_of_test 2018-09-10 21:31:38 +09:00
std_test_override Make mach test-unit not recompile components after mach build 2018-10-07 13:27:23 +02:00
style style: Add a fast path for querySelector{,All} when we have classes or tags in the rightmost compound. 2018-11-05 12:29:10 +01:00
style_derive style: Teach ComputeSquaredDistance derive about #[animation(constant)]. 2018-09-15 17:56:41 +02:00
style_traits Format component of style_traits 2018-09-08 13:28:13 +09:00
url Remove Origin::unicode_serialization 2018-10-12 10:25:03 +02:00
webdriver_server Update hyper to 0.12 2018-11-01 19:17:36 +01:00
webvr Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
webvr_traits Add lots of derived Debug impls 2018-10-29 09:21:37 -05:00