servo/components/style
Bobby Holley 703a5c93d0 Undo #18497 in the MatchAndCascade case.
It's easy to construct examples where not inserting in those cases causes performance
to get worse (for example, any long list of siblings that match the same selectors
while having some non-effectual differences in LocalName/Class/Id/etc). And the LRU
nature of the cache already does the right thing of pruning non-useful entries.

Fixing this causes several hundred more sharing hits on wikipedia.

MozReview-Commit-ID: L7W8vcMnHaq
2017-09-15 23:21:00 -07:00
..
counter_style Measure PropertyDeclaration more thoroughly. 2017-09-14 13:18:03 +10:00
gecko style: Implement the body text color quirk in a more straight-forward way. 2017-09-16 02:44:56 +02:00
gecko_bindings Use CSSPixelLength in LengthOrPercentage{*}. 2017-09-13 18:10:46 +08:00
gecko_string_cache Measure PropertyDeclaration more thoroughly. 2017-09-14 13:18:03 +10:00
invalidation style: Share user agent cascade data across documents. 2017-09-15 09:26:23 +02:00
properties Auto merge of #18508 - mstange:add-fsbgc-system-colors, r=emilio 2017-09-14 14:20:15 -05:00
rule_tree style: Add a TLS-based style struct caching mechanism. 2017-09-14 17:13:39 +08:00
servo style: Implement the body text color quirk in a more straight-forward way. 2017-09-16 02:44:56 +02:00
sharing Undo #18497 in the MatchAndCascade case. 2017-09-15 23:21:00 -07:00
stylesheets Auto merge of #18512 - tromey:preserve-style-sheet-source-url, r=SimonSapin 2017-09-15 08:07:49 -05:00
values style: Implement the body text color quirk in a more straight-forward way. 2017-09-16 02:44:56 +02:00
animation.rs style: Add a TLS-based style struct caching mechanism. 2017-09-14 17:13:39 +08:00
applicable_declarations.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
attr.rs Replace all uses of the style::stylearc alias with servo_arc. 2017-07-19 09:29:05 +02:00
bezier.rs Don't use Point2D<f32> for cubic curves anymore 2017-07-19 10:19:41 +02:00
bloom.rs Un-inline some methods initializing thread_local! … 2017-09-12 11:42:04 +02:00
build.rs use cargo manifest path to find build.py script 2017-09-05 09:31:37 +02:00
build_gecko.rs Fix running cargo test -p stylo_test from repo root 2017-09-15 16:36:47 +02:00
cache.rs Make LRUCache use a linked list to reduce memmoves. 2017-09-14 11:33:02 -07:00
Cargo.toml Auto merge of #18511 - mbrubeck:always-be-updating, r=KiChjang 2017-09-15 21:22:37 -05:00
context.rs Make LRUCache use a linked list to reduce memmoves. 2017-09-14 11:33:02 -07:00
custom_properties.rs Measure PropertyDeclaration more thoroughly. 2017-09-14 13:18:03 +10:00
data.rs Do a second pass on the sharing cache to reuse style by rule node identity. 2017-09-13 22:06:39 -07:00
dom.rs style: Implement the body text color quirk in a more straight-forward way. 2017-09-16 02:44:56 +02:00
driver.rs style: Avoid unnecessarily using Borrow. 2017-09-04 13:23:56 +02:00
element_state.rs Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00
encoding_support.rs Use cssparser's new_with_line_number_offset 2017-08-28 12:49:30 -06:00
error_reporting.rs stylo: Error reporting for unknown media features 2017-09-08 12:48:50 +02:00
font_face.rs Implement size_hint for more iterators. 2017-09-13 20:29:27 -04:00
font_metrics.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
hash.rs stylo: Add hash module for reexporting HashMap 2017-08-31 16:28:27 -07:00
lib.rs style: Add a TLS-based style struct caching mechanism. 2017-09-14 17:13:39 +08:00
logical_geometry.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
macros.rs Measure PropertyDeclaration more thoroughly. 2017-09-14 13:18:03 +10:00
matching.rs style: Implement the body text color quirk in a more straight-forward way. 2017-09-16 02:44:56 +02:00
media_queries.rs stylo: Error reporting for unknown media features 2017-09-08 12:48:50 +02:00
parallel.rs Increase stack safety margin for stylo. 2017-09-07 11:44:45 -07:00
parser.rs Use cssparser's new_with_line_number_offset 2017-08-28 12:49:30 -06:00
README.md
rule_cache.rs style: Don't use rule cache for property-restricted pseudo-elements. 2017-09-14 17:13:48 +08:00
scoped_tls.rs Reduce the size of top_down_dom stackframes. 2017-06-08 13:02:36 -04:00
selector_map.rs Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00
selector_parser.rs Measure the stylist during memory reporting. 2017-09-05 19:43:50 +02:00
shared_lock.rs style: Unify how servo and Gecko handle UA sheets. 2017-09-14 20:33:43 +02:00
str.rs Rework MediaType to be an atom-based struct instead of an enum. 2017-08-09 13:25:30 -07:00
style_adjuster.rs style: Handle correctly display changes from ruby to non-ruby in some edge cases. 2017-09-06 12:56:34 +02:00
style_resolver.rs style: Don't use rule cache for property-restricted pseudo-elements. 2017-09-14 17:13:48 +08:00
stylesheet_set.rs style: Share user agent cascade data across documents. 2017-09-15 09:26:23 +02:00
stylist.rs style: Clear the UA cache on shutdown. 2017-09-15 09:26:25 +02:00
thread_state.rs Tidy up rust code with regard to new rule (no = in beginning of line) 2017-01-06 20:57:16 +01:00
timer.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
traversal.rs Undo #18497 in the MatchAndCascade case. 2017-09-15 23:21:00 -07:00
traversal_flags.rs style: Remove the for reconstruction traversals. 2017-09-01 13:13:50 +02:00

servo-style

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