servo/components/style
bors-servo 87cc453ba7 Auto merge of #12962 - ashrko619:cache-element-classnames, r=notriddle
Cached element class names in style sharing cache with lazy computation

<!-- Please describe your changes on the following line: -->
Fixes #12912
Added a field to StyleSharingCandidate to lazily compute and cache the class names.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #12912 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12962)
<!-- Reviewable:end -->
2016-08-22 01:22:04 -05:00
..
generated stylo: Regenerate the world. 2016-08-15 22:58:32 -07:00
properties Auto merge of #12943 - servo:merged-declaration-block, r=emilio 2016-08-21 03:43:25 -05:00
values Auto merge of #12878 - Manishearth:clip-path, r=heycam 2016-08-19 14:24:08 -05:00
animation.rs Merge normal and important declarations in style rules. 2016-08-21 03:40:35 +02:00
attr.rs Replace the SelectorImplExt trait with inherent methods. 2016-08-09 18:17:13 +02:00
bezier.rs Move util::bezier to style 2016-02-14 19:45:24 +01:00
build.rs Detect python2.7.exe on windows 2016-07-08 18:50:59 +10:00
cache.rs Lazily compute common style affecting attribute info. 2016-08-17 14:17:44 -07:00
Cargo.toml Auto merge of #12943 - servo:merged-declaration-block, r=emilio 2016-08-21 03:43:25 -05:00
cascade_info.rs style: Introduce a generic way of gathering information from the cascade, and use it for viewport units. 2016-08-16 10:58:16 -07:00
context.rs Tidy up, make the cache a bit more performant. 2016-08-17 14:16:20 -07:00
custom_properties.rs style: Introduce a generic way of gathering information from the cascade, and use it for viewport units. 2016-08-16 10:58:16 -07:00
data.rs stylo: Don't traverse the whole dom every restyle, propagate the dirty flag down the DOM. 2016-07-24 12:51:58 -07:00
dom.rs Import SelectorMap back from the selectors crate. 2016-08-21 03:40:30 +02:00
element_state.rs Issue 7720: Add target selector and update when scrolling to fragment 2016-08-03 13:23:10 +01:00
error_reporting.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
font_face.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
gecko_conversions.rs Handle clip-path in stylo 2016-08-19 23:36:37 +05:30
gecko_selector_impl.rs Auto merge of #12924 - servo:selectors-ser, r=nox 2016-08-19 13:01:29 -05:00
gecko_values.rs Handle clip-path in stylo 2016-08-19 23:36:37 +05:30
keyframes.rs Merge normal and important declarations in style rules. 2016-08-21 03:40:35 +02:00
lib.rs Import SelectorMap back from the selectors crate. 2016-08-21 03:40:30 +02:00
logical_geometry.rs Update to euclid 0.8 2016-08-12 03:12:06 +02:00
matching.rs Auto merge of #12962 - ashrko619:cache-element-classnames, r=notriddle 2016-08-22 01:22:04 -05:00
media_queries.rs Update to euclid 0.8 2016-08-12 03:12:06 +02:00
parallel.rs Rewrite the style sharing candidate cache. 2016-08-17 14:16:16 -07:00
parser.rs Add ShapeSource to basic-shape values 2016-08-18 11:38:33 +05:30
README.md docs: Add style overview. 2016-05-04 00:34:03 +02:00
refcell.rs Add commit hash to be reverted in FIXME comment. 2016-06-23 16:14:33 +02:00
restyle_hints.rs Update selectors to 0.11 2016-08-20 11:24:17 +02:00
selector_impl.rs style: Fix pseudo-element restyling. 2016-08-10 18:26:25 -07:00
selector_matching.rs Keep track of the number of important and normal declarations in a block 2016-08-21 10:41:26 +02:00
sequential.rs Rewrite the style sharing candidate cache. 2016-08-17 14:16:16 -07:00
servo_selector_impl.rs Atomize namespace prefixes. 2016-08-18 15:43:30 +02:00
sink.rs Move util::vec::ForgetfulSink to style::sink and simplify it 2016-07-04 16:48:14 +02:00
str.rs Move util::str to style 2016-07-05 10:43:54 +02:00
stylesheets.rs Atomize namespace prefixes. 2016-08-18 15:43:30 +02:00
tid.rs Move util::tid to style 2016-07-05 10:36:38 +02:00
timer.rs style: Add a new Timer structure to the shared style context, and basic infrastructure for controlling animations. 2016-07-20 09:05:53 -07:00
traversal.rs Remove unused imports; handle IO failure in append_serialization. 2016-08-18 18:05:36 +02:00
viewport.rs Update to euclid 0.8 2016-08-12 03:12:06 +02:00
workqueue.rs Remove unused libc dependency for windows in style 2016-08-04 10:09:34 +10:00

servo-style

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