servo/components/style
Emilio Cobos Álvarez e272bfed70
style: Implement GeckoElement::each_part.
This should make all the pieces come together.

Note that we don't need to look at the snapshot for ::part() for now (other than
when selector-matching normally) because I decided to just restyle the element
for now when the part attribute changes.

::part() can't affect descendants anyway (as long as we don't do the forwarding
stuff), and eager pseudo-elements are handled during the normal element restyle,
so it seems to me that adding all the complexity that we have for classes to
part may not be worth it at least yet.

Differential Revision: https://phabricator.services.mozilla.com/D32648
2019-06-25 13:11:29 +02:00
..
counter_style style: Appease tidy. 2019-05-29 16:14:31 +02:00
gecko style: Implement GeckoElement::each_part. 2019-06-25 13:11:29 +02:00
gecko_bindings style: Use cbindgen for URIs. 2019-06-04 01:03:50 -04:00
gecko_string_cache style: Share computed and specified value representation of -moz-context-properties. 2019-05-29 16:14:10 +02:00
invalidation style: Add plumbing code to invalidate shadow parts. 2019-06-25 13:11:27 +02:00
media_queries style: Remove support for the layout.css.prefixes.webkit pref. 2019-06-25 13:11:26 +02:00
properties style: Use cbindgen for gradients. 2019-06-25 13:11:27 +02:00
rule_tree style: Report heap size of rule tree heap allocations as well. 2019-06-25 13:11:25 +02:00
servo style: Fix Servo build. 2019-06-04 01:04:01 -04:00
sharing Auto merge of #23532 - est31:unused_code_removal_4, r=emilio 2019-06-07 20:27:53 -04:00
stylesheets Fix some new warnings 2019-06-22 14:59:09 +02:00
use_counters Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
values style: Use cbindgen for gradients. 2019-06-25 13:11:27 +02:00
animation.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
applicable_declarations.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
attr.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
author_styles.rs style: Remove support for XBL resources. 2019-05-07 12:55:29 +02:00
bezier.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
bloom.rs Auto merge of #23532 - est31:unused_code_removal_4, r=emilio 2019-06-07 20:27:53 -04:00
build.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
build_gecko.rs style: Remove a redundant use statement. 2019-04-12 12:20:06 +02:00
Cargo.toml style: Rejigger a bit rust features so that rusttests still link. 2019-06-04 01:03:54 -04:00
context.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
custom_properties.rs style: Add derived ToShmem implementations. 2019-04-12 12:19:52 +02:00
data.rs Remove unused code from selector and style crates 2019-06-07 15:14:21 +02:00
dom.rs style: Add code to make part rules affect the style of the elements. 2019-06-25 13:11:29 +02:00
dom_apis.rs Revert style/dom_apis changes 2019-04-26 11:42:37 +02:00
driver.rs style: Add Gecko profiler labels for when the style threads are doing work. 2019-05-29 16:14:06 +02:00
element_state.rs Rename nsIDocument to mozilla::dom::Document. 2019-01-07 00:32:51 +01:00
encoding_support.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
error_reporting.rs Make use of RefCell::try_borrow_unguarded 2019-04-12 19:02:07 +02:00
font_face.rs style: Use cbindgen for URIs. 2019-06-04 01:03:50 -04:00
font_metrics.rs style: Fix servo build, and appease tidy / fmt. 2019-04-12 12:20:15 +02:00
global_style_data.rs style: Add refcount logging to servo_arc. 2019-06-04 01:03:53 -04:00
hash.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
lib.rs style: Use ArcSlice for quotes. 2019-05-29 16:14:10 +02:00
logical_geometry.rs Fix servo build and rustfmt recent changes. 2019-01-20 16:31:01 +01:00
macros.rs style: Reformat recent style system changes. 2019-05-29 16:14:30 +02:00
matching.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
parallel.rs style: Add Gecko profiler labels for when the style threads are doing work. 2019-05-29 16:14:06 +02:00
parser.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
README.md
rule_cache.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
rule_collector.rs style: Add code to make part rules affect the style of the elements. 2019-06-25 13:11:29 +02:00
scoped_tls.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
selector_map.rs style: Add code to make part rules affect the style of the elements. 2019-06-25 13:11:29 +02:00
selector_parser.rs style: Add derived ToShmem implementations. 2019-04-12 12:19:52 +02:00
shared_lock.rs style: Fix Servo build. 2019-06-04 01:04:01 -04:00
str.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
style_adjuster.rs style: Cleanup selector-matching for nested pseudo-elements, match ::slotted correctly when there's no selector before it, and add tests. 2019-05-29 16:14:26 +02:00
style_resolver.rs style: Cleanup selector-matching for nested pseudo-elements, match ::slotted correctly when there's no selector before it, and add tests. 2019-05-29 16:14:26 +02:00
stylesheet_set.rs style: Remove support for XBL resources. 2019-05-07 12:55:29 +02:00
stylist.rs style: Add code to make part rules affect the style of the elements. 2019-06-25 13:11:29 +02:00
thread_state.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
timer.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
traversal.rs style: Cleanup unused style traversal flags. 2019-04-12 12:20:07 +02: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.