servo/components/style
Oriol Brufau 060d74ba3b style: Share CascadeData instances across ShadowRoots
This should be both a memory and speed win for pages using a lot of
Shadow DOM.

In order to make the cache properly work we need to start keying media query
results on the actual StyleSheetContents, as that's what we share on Gecko, but
that should all be fine.

Differential Revision: https://phabricator.services.mozilla.com/D107266
2023-05-16 13:00:08 +02:00
..
counter_style Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
gecko style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
gecko_bindings style: Inline nsTArray::deref. 2021-02-26 16:44:05 +01:00
gecko_string_cache Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
invalidation style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
media_queries style: Move Ratio into independent files. 2021-02-26 16:44:05 +01:00
properties style: Remove layout.css.ruby.position-alternate.enabled pref 2023-05-16 12:59:19 +02:00
rule_tree style: Export a size to fix a test that was trying to use a now-private type. 2020-04-23 05:07:02 +02:00
servo Simplify our setup for font metric queries from style 2023-05-11 21:02:15 +02:00
sharing Upgrade to uluru 2 2021-07-15 18:28:12 +02:00
stylesheets style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
use_counters style: Support css use counters for unimplemented properties. 2019-09-12 22:34:16 +02:00
values style: Remove layout.css.ruby.position-alternate.enabled pref 2023-05-16 12:59:19 +02:00
animation.rs animations: Don't convert linear easing to a bezier 2020-06-24 17:19:25 +02:00
applicable_declarations.rs style: Rustfmt recent changes. 2019-11-30 20:45:07 +01:00
attr.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
author_styles.rs style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
bezier.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
bloom.rs style: Update smallvec to 1.0. 2019-12-16 14:23:56 +01:00
build.rs Add build github actions workflows for mac/windows/linux. 2021-02-26 04:20:22 -05:00
build_gecko.rs Do not use deprecated bindgen methods 2021-04-17 07:11:25 +02:00
Cargo.toml */Cargo.toml: use the shmem feature for the dependency on the selectors cratre 2023-02-14 13:05:59 -06:00
context.rs style: Paper over a crash in non-nightly 2023-05-16 12:55:42 +02:00
custom_properties.rs Update nightly rustc. 2021-11-01 08:46:18 -04:00
data.rs Remove unused code from selector and style crates 2019-06-07 15:14:21 +02:00
dom.rs Simplify our setup for font metric queries from style 2023-05-11 21:02:15 +02:00
dom_apis.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
driver.rs Simplify our setup for font metric queries from style 2023-05-11 21:02:15 +02:00
element_state.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
encoding_support.rs style: Remove some unused extern crate declarations now that style is in rust 2018. 2020-06-18 23:51:18 +02:00
error_reporting.rs Make use of RefCell::try_borrow_unguarded 2019-04-12 19:02:07 +02:00
font_face.rs Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
font_metrics.rs Simplify our setup for font metric queries from style 2023-05-11 21:02:15 +02:00
global_style_data.rs feat: shorten thread names 2021-07-19 00:57:48 +09:00
hash.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
lib.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
logical_geometry.rs Rustfmt recent changes. 2019-12-16 14:23:56 +01:00
macros.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
matching.rs style: Use Option::as_deref() in style code. 2021-02-26 16:44:05 +01:00
parallel.rs Simplify our setup for font metric queries from style 2023-05-11 21:02:15 +02:00
parser.rs Rustfmt. 2021-02-26 16:44:05 +01:00
README.md Update link 2020-04-28 09:09:54 -07:00
rule_cache.rs style: Undo minor debugging change. 2019-11-30 20:45:07 +01:00
rule_collector.rs style: Avoid some allocations in selector serialization. 2021-02-26 16:44:05 +01:00
rustfmt.toml Disable formatting for components/style/ 2023-05-15 17:45:25 +02:00
scoped_tls.rs Replace ScopedTLS::unsafe_get by ScopedTLS::into_slots 2020-04-05 01:20:39 +02:00
selector_map.rs style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
selector_parser.rs style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
shared_lock.rs style: build / rebase fixes. 2020-06-18 23:51:17 +02:00
str.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
style_adjuster.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
style_resolver.rs Simplify our setup for font metric queries from style 2023-05-11 21:02:15 +02:00
stylesheet_set.rs style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
stylist.rs style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
thread_state.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
traversal.rs style: Use Option::as_deref() in style code. 2021-02-26 16:44:05 +01:00
traversal_flags.rs style: Cleanup unused style traversal flags. 2019-04-12 12:20:07 +02:00

servo-style

Style system for Servo, using rust-cssparser for parsing.