gecko-dev/servo/components/style
Emilio Cobos Álvarez c75e54e0c3 Bug 1593865 - Simplify code for keeping alive shared memory until all sheets go away. r=jwatt
The existing code wasn't sound, as CSSOM objects also needed to go away before
the shared memory goes away (as they keep references to them).

This is sound assuming no presence of reference cycles introduced by CSSOM.

We may want to live with this and rely on chrome code not writing cycles like
this with UA stylesheet DOM objects.

We could explicitly drop all potentially-static objects... That seems pretty
error prone though.

Or we could also just leak the shared memory buffer, is there any reason why we
may not want to do that?

Differential Revision: https://phabricator.services.mozilla.com/D51870

--HG--
extra : moz-landing-system : lando
2019-11-07 11:19:23 +00:00
..
counter_style Bug 1593642 - Add a few commas that newer macros need. 2019-11-04 12:53:04 +00:00
gecko Bug 1591987 - Fix ElementWrapper::is_link. r=jwatt 2019-11-05 10:24:36 +00:00
gecko_bindings
gecko_string_cache
invalidation Bug 1591987 - Fix ElementWrapper::is_link. r=jwatt 2019-11-05 10:24:36 +00:00
media_queries Bug 1593642 - servo: Fix Servo build. 2019-11-04 12:53:09 +00:00
properties Bug 1593009 - Make zoom: 0 mean the same as zoom: 1. r=heycam 2019-11-06 05:54:17 +00:00
rule_tree
servo Bug 1593642 - Add a few commas that newer macros need. 2019-11-04 12:53:04 +00:00
sharing Bug 1593642 - Remove obsolete logic for LRUCache size. 2019-11-04 12:52:49 +00:00
stylesheets Bug 1593865 - Simplify code for keeping alive shared memory until all sheets go away. r=jwatt 2019-11-07 11:19:23 +00:00
use_counters
values Bug 1593642 - servo: Fix Servo build. 2019-11-04 12:53:09 +00:00
Cargo.toml Bug 1429305 - Use serde to serialize LengthPercentage and StyleRayFunction. r=emilio 2019-10-31 21:35:05 +00:00
README.md
animation.rs
applicable_declarations.rs
attr.rs
author_styles.rs
bezier.rs
bloom.rs
build.rs Bug 1587368 - servo: WebIDL codegen: Replace cmake with a single Python script. r=emilio 2019-10-09 13:35:45 +02:00
build_gecko.rs Bug 1587235 - Report missing include filename in ServoBindings.toml. r=emilio 2019-10-09 10:44:29 +00:00
context.rs Bug 1593642 - servo: Remove usage of opts::get() from style. 2019-11-04 12:52:32 +00:00
custom_properties.rs
data.rs
dom.rs Bug 1591297 - Remove some XBL code in the style system. r=hiro 2019-10-25 12:19:21 +00:00
dom_apis.rs
driver.rs
element_state.rs
encoding_support.rs
error_reporting.rs
font_face.rs Bug 1593642 - Add a few commas that newer macros need. 2019-11-04 12:53:04 +00:00
font_metrics.rs
global_style_data.rs
hash.rs
lib.rs Bug 1429305 - Use serde to serialize LengthPercentage and StyleRayFunction. r=emilio 2019-10-31 21:35:05 +00:00
logical_geometry.rs Bug 1582224 - Split SIDEWAYS bit in WritingMode. r=jfkthame,emilio 2019-09-19 02:37:14 +00:00
macros.rs
matching.rs
parallel.rs
parser.rs
rule_cache.rs
rule_collector.rs
scoped_tls.rs
selector_map.rs
selector_parser.rs
shared_lock.rs
str.rs
style_adjuster.rs Bug 1587368 - Use consistent naming and shared code for out-of-flow stuff. r=nox 2019-10-09 13:35:48 +02:00
style_resolver.rs
stylesheet_set.rs
stylist.rs Bug 1548718 - Support multiple parts in ::part() selectors. r=boris 2019-10-17 00:51:54 +00:00
thread_state.rs
timer.rs
traversal.rs Bug 1593642 - servo: Remove usage of opts::get() from style. 2019-11-04 12:52:32 +00:00
traversal_flags.rs

README.md

servo-style

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