gecko-dev/servo/components/style
Emilio Cobos Álvarez 18f790ca50 servo: Merge #10815 - style: Support anonymous box pseudo-elements (from emilio:anonbox-gcs); r=SimonSapin,bholley
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

Source-Repo: https://github.com/servo/servo
Source-Revision: 407f991c8aba5dcf5312bb2c34a3dd4fe12e5471
2016-04-29 14:27:16 -07:00
..
properties servo: Merge #10863 - Extracted shorthands to separate files (from perlun:improve-mako-file-structure-v4); r=SimonSapin 2016-04-29 10:57:21 -07:00
Cargo.toml servo: Merge #10857 - Simplify TOML syntax (from servo:toml); r=nox 2016-04-26 15:46:37 -07:00
README.md servo: Merge #3792 - Update style/README.md - libcss is gone now (from samlh:patch-1); r=jdm 2014-10-23 18:42:30 -06:00
animation.rs servo: Merge #10488 - Removed the T prefix for the style traits (from perlun:remove-t-prefix-on-style-structs); r=SimonSapin 2016-04-13 01:55:25 +05:01
attr.rs servo: Merge #10870 - Return a Result<i64, ()> from do_parse_integer (from axitkhurana:do-parse-integer-return-value); r=KiChjang 2016-04-26 23:26:29 -07:00
bezier.rs servo: Merge #9635 - Move util::bezier to style (from nox:mv-bezier); r=jdm 2016-02-15 07:18:27 +05:01
build.rs servo: Merge #10749 - Prepare related files to make it easier to split up the Mako template (from servo:split-mako); r=nox 2016-04-21 10:09:09 +05:01
context.rs servo: Merge #10815 - style: Support anonymous box pseudo-elements (from emilio:anonbox-gcs); r=SimonSapin,bholley 2016-04-29 14:27:16 -07:00
custom_properties.rs servo: Merge #10088 - Report memory usage from LayoutThreadData Stylist [#7038] (from pkondzior:7038-report-memory-usage-in-layout-thread-data-stylist); r=ecoal95 2016-03-22 06:25:11 +05:01
data.rs servo: Merge #10277 - Renamed TComputedValues to ComputedValues (from perlun:rename-tcomputedvalues-to-computedvalues); r=SimonSapin 2016-03-30 10:35:57 +05:01
dom.rs servo: Merge #10815 - style: Support anonymous box pseudo-elements (from emilio:anonbox-gcs); r=SimonSapin,bholley 2016-04-29 14:27:16 -07:00
element_state.rs servo: Merge #10834 - added support for :read-only and :read-write pseudo-classes (from yoava333:master); r=SimonSapin 2016-04-29 08:12:18 -07:00
error_reporting.rs servo: Merge #9261 - Remove the msg dependency from style (from bholley:geckolib_nomsg); r=Manishearth 2016-01-12 08:54:31 +05:01
font_face.rs servo: Merge #10606 - Remove the url! plugin (from servo:remove-url-plugin); r=nox 2016-04-14 18:45:35 +05:01
lib.rs servo: Merge #10706 - Turn on unused-extern-crates warning (from zwn:unused-extern-crates); r=nox 2016-04-22 13:40:38 -07:00
logical_geometry.rs servo: Merge #9824 - Add the scrollWidth and scrollHeight extensions to the element interface (from danlrobertson:element1); r=asajeffrey 2016-03-11 23:50:24 +05:01
matching.rs servo: Merge #10891 - Specialize text node style resolution so geckolib can avoid inheriting non-inherited structs (from heycam:text-style); r=bholley 2016-04-28 18:00:48 -07:00
media_queries.rs servo: Merge #9532 - Say farewell to in-tree HeapSizeOf (from nox:dedup-heapsize); r=Manishearth 2016-02-05 03:11:36 +05:01
parallel.rs servo: Merge #9976 - Remove lifetimes from Style/Layout traits (from bholley:remove_trait_lifetimes); r=SimonSapin 2016-03-15 02:34:53 +05:01
parser.rs servo: Merge #10606 - Remove the url! plugin (from servo:remove-url-plugin); r=nox 2016-04-14 18:45:35 +05:01
restyle_hints.rs servo: Merge #10815 - style: Support anonymous box pseudo-elements (from emilio:anonbox-gcs); r=SimonSapin,bholley 2016-04-29 14:27:16 -07:00
selector_impl.rs servo: Merge #10815 - style: Support anonymous box pseudo-elements (from emilio:anonbox-gcs); r=SimonSapin,bholley 2016-04-29 14:27:16 -07:00
selector_matching.rs servo: Merge #10815 - style: Support anonymous box pseudo-elements (from emilio:anonbox-gcs); r=SimonSapin,bholley 2016-04-29 14:27:16 -07:00
sequential.rs servo: Merge #9976 - Remove lifetimes from Style/Layout traits (from bholley:remove_trait_lifetimes); r=SimonSapin 2016-03-15 02:34:53 +05:01
servo.rs servo: Merge #10815 - style: Support anonymous box pseudo-elements (from emilio:anonbox-gcs); r=SimonSapin,bholley 2016-04-29 14:27:16 -07:00
stylesheets.rs servo: Merge #9876 - Recompute styles on viewport size change if they contain viewport percentages (from mbrubeck:seen-viewport-percentages); r=SimonSapin 2016-03-20 01:51:54 +05:01
traversal.rs servo: Merge #10815 - style: Support anonymous box pseudo-elements (from emilio:anonbox-gcs); r=SimonSapin,bholley 2016-04-29 14:27:16 -07:00
values.rs servo: Merge #10817 - Add style property for flex-basis (from danlrobertson:flex-basis); r=mbrubeck 2016-04-24 23:34:37 -07:00
viewport.rs servo: Merge #10750 - Use num's constituent crates (from servo:num); r=nox 2016-04-20 20:11:24 +05:01

README.md

servo-style

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