servo/components/style
J. Ryan Stinnett 87c51bd8bf Shrink ElementData by moving pseudo count to type
`ElementStyles` holds an optional list of values for each eager pseudo-element.
However, the type was declared as a slice instead of a fixed size array, so an
extra 8 bytes were being allocated to hold the size, even though it never
changes.

Moving the constant size into the type reduces `ElementStyles` and `ElementData`
by 8 bytes.

MozReview-Commit-ID: GaO6DKFxUMo
2017-06-22 15:47:34 -05:00
..
counter_style style: Have OneOrMoreSeparated replace OneOrMoreCommaSeparated. 2017-06-19 16:09:37 -07:00
gecko Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
gecko_bindings Use generics for the filter property 2017-06-20 13:48:53 +02:00
gecko_string_cache style: Clean up after #17427. 2017-06-20 15:42:23 +02:00
invalidation Auto merge of #17443 - emilio:smallwat, r=SimonSapin 2017-06-22 00:14:38 -07:00
properties Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
rule_tree Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
servo Untry style 2017-06-18 13:18:13 +02:00
sharing Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
stylesheets style: Assert we never style a root element from another document. 2017-06-21 19:55:02 +02:00
values Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
animation.rs Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
applicable_declarations.rs Hoist ApplicableDeclaration{Block,List} into a separate file. 2017-06-12 12:13:21 -07:00
attr.rs Untry style 2017-06-18 13:18:13 +02:00
bezier.rs Bump euclid to 0.14. 2017-06-14 16:00:59 +02:00
bloom.rs style: Distinguish between the tree structures used for traversal and selector matching. 2017-06-09 18:37:35 +08:00
build.rs Auto merge of #16935 - servo:out-of-crate-bindings-tests, r=emilio 2017-05-19 03:48:14 -05:00
build_gecko.rs style: Update bindgen. 2017-06-21 01:27:14 +02:00
cache.rs Adapt LRUCache to use ArrayDeque crate instead of VecDeque 2017-06-03 20:59:01 +02:00
Cargo.toml style: Update bindgen. 2017-06-21 01:27:14 +02:00
cascade_info.rs Remove style::values::HasViewportPercentage reexport 2017-05-20 22:00:05 +02:00
context.rs Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
custom_properties.rs Untry style 2017-06-18 13:18:13 +02:00
data.rs Shrink ElementData by moving pseudo count to type 2017-06-22 15:47:34 -05:00
dom.rs Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
element_state.rs Add pseudo-classes to match on the state of the "dir" attribute. 2017-06-19 22:09:03 -04:00
encoding_support.rs Bug 1331291 part 1 - Set stylesheet url_data correctly for import rule. 2017-06-13 10:07:06 +10:00
error_reporting.rs Upgrade cssparser to 0.15 2017-06-16 15:05:46 +02:00
font_face.rs stylo: make font-weight descriptor in @font-face preserve keyword values 2017-06-20 15:28:39 +02:00
font_metrics.rs stylo: Use gecko's font metrics 2017-04-10 14:29:51 +08:00
lib.rs Hoist sink into selectors. 2017-06-20 11:59:10 -07:00
logical_geometry.rs Untry style 2017-06-18 13:18:13 +02:00
macros.rs Derive ToCss for keyword structs 2017-06-17 13:46:33 +02:00
matching.rs Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
media_queries.rs Untry style 2017-06-18 13:18:13 +02:00
parallel.rs Use ArrayVec and tweak the SmallVec sizes. 2017-06-14 22:50:44 -07:00
parser.rs style: Have OneOrMoreSeparated replace OneOrMoreCommaSeparated. 2017-06-19 16:09:37 -07:00
README.md
scoped_tls.rs Reduce the size of top_down_dom stackframes. 2017-06-08 13:02:36 -04:00
selector_map.rs Account for left-to-right rather than right-to-left precedence of classes in selector maps. 2017-06-20 11:59:12 -07:00
selector_parser.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
sequential.rs style: Distinguish between the tree structures used for traversal and selector matching. 2017-06-09 18:37:35 +08:00
shared_lock.rs style: Split stylesheets.rs 2017-06-04 21:50:09 +02:00
str.rs Support vendor prefix keyframes rule. 2017-04-21 12:18:12 +09:00
style_adjuster.rs style: Be more strict when setting the root font size. 2017-06-21 13:28:57 +02:00
stylesheet_set.rs Add an update_stylesheet method to StylesheetSet. 2017-06-20 12:24:39 -07:00
stylist.rs Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
thread_state.rs
timer.rs
traversal.rs Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00

servo-style

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