servo/components/style
bors-servo 8397c5b0a2 Auto merge of #18550 - nnethercote:bug-1399758-take-2, r=heycam
Measure ImageValue objects (take 2).

We have about 11,500 of these when loading gmail in a Stylo-enabled build, from
SpecifiedUrls; the objects themselves account for about 1.3 MiB of memory, and
the strings within them about 2.9 MiB.

We also have a very small number of them on the Gecko side.

<!-- Please describe your changes on the following line: -->

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because testing is on the Gecko side.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/18550)
<!-- Reviewable:end -->
2017-09-18 01:03:46 -05:00
..
counter_style Measure PropertyDeclaration more thoroughly. 2017-09-14 13:18:03 +10:00
gecko Auto merge of #18550 - nnethercote:bug-1399758-take-2, r=heycam 2017-09-18 01:03:46 -05: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 #18525 - emilio:border-spacing, r=nox 2017-09-17 15:12:46 -05:00
rule_tree style: Add a TLS-based style struct caching mechanism. 2017-09-14 17:13:39 +08:00
servo style: Kill -servo-under-display-none. 2017-09-17 04:31:15 +02:00
sharing style: Assert we don't try to share against ourselves. 2017-09-18 04:57:53 +02:00
stylesheets Auto merge of #18512 - tromey:preserve-style-sheet-source-url, r=SimonSapin 2017-09-15 08:07:49 -05:00
values style: Be a little less From-happy with rect. 2017-09-17 21:33:22 +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 style: Massage the resolver code so it's cleaner and prevents the problem. 2017-09-18 04:57:50 +02: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: Massage the resolver code so it's cleaner and prevents the problem. 2017-09-18 04:57:50 +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: Massage the resolver code so it's cleaner and prevents the problem. 2017-09-18 04:57:50 +02:00
stylesheet_set.rs style: Share user agent cascade data across documents. 2017-09-15 09:26:23 +02:00
stylist.rs style: Remove unused FnvHashMap re-export. 2017-09-17 04:31:21 +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 style: Massage the resolver code so it's cleaner and prevents the problem. 2017-09-18 04:57:50 +02: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.