servo/components/style
Emilio Cobos Álvarez 61f3ff1de3
style: Split LengthPercentage again.
This is needed to support min() / max() / clamp(), etc, as those need to be a
tree of values and thus need heap storage.

This unfortunately grows LengthPercentage to be two pointers, which is bad as
it blows up the size of nsStylePosition enough to trigger the size assertions.

This patch comments out the assertion for now, the follow-up patches will
uncomment them.

Differential Revision: https://phabricator.services.mozilla.com/D58700
2020-02-12 02:43:10 +01:00
..
counter_style style: Use cbindgen for content property. 2020-02-12 02:43:08 +01:00
gecko style: Split LengthPercentage again. 2020-02-12 02:43:10 +01:00
gecko_bindings style: Remove unused FFI function to refcount nsIReferrerInfo. 2020-02-12 02:43:08 +01:00
gecko_string_cache style: Use cbindgen for content property. 2020-02-12 02:43:08 +01:00
invalidation Rustfmt recent changes. 2019-12-16 14:23:56 +01:00
media_queries style: Fix Servo build. 2019-11-04 13:41:55 +01:00
properties style: Use cbindgen for content property. 2020-02-12 02:43:08 +01:00
rule_tree style: Make an assertion a release assert in nightly. 2020-02-12 02:43:09 +01:00
servo :defined works 2020-01-30 10:09:51 -05:00
sharing style: Minor comment fix. 2020-02-12 02:43:09 +01:00
stylesheets Rustfmt recent changes. 2019-12-16 14:23:56 +01:00
use_counters style: Support css use counters for unimplemented properties. 2019-09-12 22:34:16 +02:00
values style: Split LengthPercentage again. 2020-02-12 02:43:10 +01:00
animation.rs style: Use only Origin during the cascade, rather than CascadeLevel. 2019-11-30 20:45:00 +01:00
applicable_declarations.rs style: Rustfmt recent changes. 2019-11-30 20:45:07 +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 style: Update smallvec to 1.0. 2019-12-16 14:23:56 +01:00
build.rs WebIDL codegen: Replace cmake with a single Python script 2019-09-27 13:53:19 +02:00
build_gecko.rs style: Report missing include filename in ServoBindings.toml. 2019-11-04 13:36:32 +01:00
Cargo.toml style: Update smallvec to 1.0. 2019-12-16 14:23:56 +01:00
context.rs Remove usage of opts::get() from style. 2019-10-21 13:44:31 -07:00
custom_properties.rs style: Simplify some code now that lifetimes are non-lexical. 2019-11-30 20:45:05 +01:00
data.rs Remove unused code from selector and style crates 2019-06-07 15:14:21 +02:00
dom.rs Move OpaqueNode to style_traits 2020-01-13 21:59:45 +01:00
dom_apis.rs style: Implement shadow part forwarding (minus invalidation). 2019-11-30 20:45:03 +01:00
driver.rs Update rayon to dedupe crossbeam-epoch 2019-07-12 21:01:33 +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 Update rand to 0.7 (fixes #24448) 2019-10-23 15:34:48 +02:00
font_metrics.rs Rustfmt recent changes. 2019-12-16 14:23:56 +01:00
global_style_data.rs style: Fix Servo build, and rustfmt recent changes. 2019-09-12 23:04:56 +02:00
hash.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
lib.rs style: Use cbindgen for content property. 2020-02-12 02:43:08 +01:00
logical_geometry.rs Rustfmt recent changes. 2019-12-16 14:23:56 +01:00
macros.rs Stylo: replace uses of mem::uninitialized with MaybeUninit 2019-07-16 08:03:54 +02:00
matching.rs style: Use less Au in font code. 2019-12-16 14:23:56 +01:00
parallel.rs style: Update smallvec to 1.0. 2019-12-16 14:23:56 +01:00
parser.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
README.md
rule_cache.rs style: Undo minor debugging change. 2019-11-30 20:45:07 +01:00
rule_collector.rs Rustfmt recent changes. 2019-12-16 14:23:56 +01:00
scoped_tls.rs style: Add a comment about a Send bound that may look confusing. 2019-09-12 22:34:16 +02:00
selector_map.rs style: Rustfmt recent changes. 2019-11-30 20:45:07 +01: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: Ensure nested ruby level container don't escape from line break suppression. 2020-02-12 02:43:10 +01: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: Update smallvec to 1.0. 2019-12-16 14:23:56 +01: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 Parse -moz-image-rect() and -moz-element() only in Gecko 2020-01-07 14:44:28 +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.