servo/components/style
bors-servo 407f991c8a Auto merge of #10815 - emilio:anonbox-gcs, r=SimonSapin,bholley
style: Support anonymous box pseudo-elements

This is a work-in-progress that:

 * Adds support for some pseudo-elements to skip the cascade entirely, in an analogous way to Gecko's anonymous box pseudo-elements.
 * Takes rid of `StylistWrapper`, and uses `Arc::get_mut` instead.
 * Uses the first bullet to precompute the `-servo-details-content` pseudo's style.

I'd like @bholley to take a look before following, do you think that the aproach is the correct?
Also, @SimonSapin could want to put some eyes on it.

Depends on https://github.com/servo/rust-selectors/pull/81

<!-- 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/10815)
<!-- Reviewable:end -->
2016-04-29 14:27:16 -07:00
..
properties Auto merge of #10863 - perlun:improve-mako-file-structure-v4, r=SimonSapin 2016-04-29 10:57:21 -07:00
animation.rs Removed the T prefix for the style traits 2016-04-12 23:02:02 +03:00
attr.rs Return a Result<i64, ()> from do_parse_integer 2016-04-26 23:03:16 -07:00
bezier.rs Move util::bezier to style 2016-02-14 19:45:24 +01:00
build.rs Extract some Python code from properties.mako.rs into a separate file. 2016-04-20 15:30:27 +02:00
Cargo.toml Simplify TOML syntax 2016-04-26 23:51:36 +02:00
context.rs style: Allow inheritance when computing anonymous box styles 2016-04-29 22:54:46 +02:00
custom_properties.rs Report memory usage from LayoutThreadData Stylist [#7038] 2016-03-19 11:53:13 -07:00
data.rs layout: Stop storing PrecomputedStyleData in LayoutNode 2016-04-29 22:54:48 +02:00
dom.rs layout: Stop storing PrecomputedStyleData in LayoutNode 2016-04-29 22:54:48 +02:00
element_state.rs added support for :read-only and :read-write pseudo-classes 2016-04-27 01:38:58 +03: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 Remove the url! plugin. 2016-04-14 15:35:28 +02:00
lib.rs Auto merge of #10706 - zwn:unused-extern-crates, r=nox 2016-04-22 13:40:38 -07:00
logical_geometry.rs Add scrollWidth/Height to element interface 2016-03-11 18:22:16 +00:00
matching.rs Specialize text node style resolution so geckolib can avoid inheriting non-inherited structs. 2016-04-29 10:07:59 +10: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 Remove the url! plugin. 2016-04-14 15:35:28 +02:00
README.md Update style/README.md - libcss is gone now 2014-10-23 16:23:54 -05:00
restyle_hints.rs style: Remove unneeded lifetime 2016-04-29 22:54:57 +02:00
selector_impl.rs style: Add doc-comment about is_eagerly_cascaded_pseudo_element 2016-04-29 22:54:56 +02:00
selector_matching.rs style: Reset the per-pseudo-element maps when update() is called 2016-04-29 22:54:53 +02:00
sequential.rs Remove lifetimes from T{Node,Element,Document}. 2016-03-14 14:31:57 -07:00
servo.rs layout: Stop storing PrecomputedStyleData in LayoutNode 2016-04-29 22:54:48 +02:00
stylesheets.rs Recompute viewport-dependent styles on viewport size change 2016-03-19 13:23:39 -07:00
traversal.rs layout: Stop storing PrecomputedStyleData in LayoutNode 2016-04-29 22:54:48 +02:00
values.rs Add style property for flex-basis 2016-04-24 14:04:40 -04:00
viewport.rs Use num-traits in style. 2016-04-20 15:11:41 +02:00

servo-style

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