servo/components/style
bors-servo 41060dbdd7 Auto merge of #10105 - mbrubeck:dirty-viewport-percentages, r=SimonSapin
Don't re-add stylesheets to recompute vw/vh lengths

This is a follow-up to #9876.  It avoids clearing and rebuilding SelectorMaps
when vh and vw units need to be recomputed. Instead it just dirties all nodes,
to force elements to be re-cascaded.

Filed #10104 for later follow-up work to dirty only affected nodes.

r? @SimonSapin

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10105)
<!-- Reviewable:end -->
2016-03-22 18:58:47 +05:30
..
animation.rs Move util::bezier to style 2016-02-14 19:45:24 +01:00
attr.rs Implement From<DOMString> for Atom 2016-02-24 17:52:17 +01:00
bezier.rs Move util::bezier to style 2016-02-14 19:45:24 +01:00
build.rs win32: look for python.exe and variants on win32 in style/build.rs 2016-01-20 08:38:23 -06:00
Cargo.toml Recompute viewport-dependent styles on viewport size change 2016-03-19 13:23:39 -07:00
context.rs Refactor style to be completely backend-independent 2016-02-13 16:05:14 +01:00
custom_properties.rs Report memory usage from LayoutThreadData Stylist [#7038] 2016-03-19 11:53:13 -07:00
data.rs style: Refactor the per_pseudo map from StyleData to avoid having an option value type. 2016-02-13 16:05:17 +01:00
dom.rs Remove lifetimes from T{Node,Element,Document}. 2016-03-14 14:31:57 -07:00
element_state.rs Update rust-selectors 2016-02-03 02:11:31 +01:00
error_reporting.rs Hoist ParseErrorReporter into style and remove the dependency on msg. 2016-01-11 18:01:48 -08:00
font_face.rs Say farewell to in-tree HeapSizeOf 2016-02-04 22:03:32 +01:00
lib.rs Deny unsafe code in more crates. 2016-03-18 14:43:03 +01:00
list_properties.py Make the properties list JSON and add some more info. 2016-01-15 18:13:12 +01:00
logical_geometry.rs Add scrollWidth/Height to element interface 2016-03-11 18:22:16 +00:00
Mako-0.9.1.zip Cargoify servo 2014-09-08 20:21:42 -06:00
matching.rs style: Compute damage for text nodes. 2016-03-15 21:32:16 -07:00
media_queries.rs Say farewell to in-tree HeapSizeOf 2016-02-04 22:03:32 +01:00
parallel.rs Remove lifetimes from T{Node,Element,Document}. 2016-03-14 14:31:57 -07:00
parser.rs Hoist ParseErrorReporter into style and remove the dependency on msg. 2016-01-11 18:01:48 -08:00
properties.mako.rs Auto merge of #10088 - pkondzior:7038-report-memory-usage-in-layout-thread-data-stylist, r=ecoal95 2016-03-22 06:54:11 +05:30
README.md Update style/README.md - libcss is gone now 2014-10-23 16:23:54 -05:00
restyle_hints.rs Report memory usage from LayoutThreadData Stylist [#7038] 2016-03-19 11:53:13 -07:00
selector_impl.rs Get the fundamentals of the HTMLDetailsElement rendering stuff working. 2016-03-19 16:02:11 -07:00
selector_matching.rs Auto merge of #10105 - mbrubeck:dirty-viewport-percentages, r=SimonSapin 2016-03-22 18:58:47 +05:30
sequential.rs Remove lifetimes from T{Node,Element,Document}. 2016-03-14 14:31:57 -07:00
servo.rs Refactor style to be completely backend-independent 2016-02-13 16:05:14 +01:00
stylesheets.rs Recompute viewport-dependent styles on viewport size change 2016-03-19 13:23:39 -07:00
traversal.rs Remove lifetimes from T{Node,Element,Document}. 2016-03-14 14:31:57 -07:00
values.rs Auto merge of #10088 - pkondzior:7038-report-memory-usage-in-layout-thread-data-stylist, r=ecoal95 2016-03-22 06:54:11 +05:30
viewport.rs Refactor the cascade 2016-03-18 17:09:16 +01:00

servo-style

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