servo/components/style
Emilio Cobos Álvarez fa7d9bf74a
style: Add namespace bucket for the selector map.
After bug 1470163 we have some nasty selectors from mathml.css in every page.

We only want to match them against MathML elements.

This patch brings the global revalidation selectors from 14 to 2 in about:blank.
Also halves the ones from XUL documents.

Bug: 1374017
Reviewed-by: heycam
MozReview-Commit-ID: nOVyknNcVm
2018-07-01 00:05:12 +02:00
..
counter_style style: Move the error reporter into ParserContext. 2018-06-23 20:36:23 +02:00
gecko style: Error reporting fixes for media queries. 2018-07-01 00:04:48 +02:00
gecko_bindings style: Change nscolor to StyleComplexColor in nsCSSShadowItem. 2018-07-01 00:03:11 +02:00
gecko_string_cache Store nsDynamicAtom's chars after the end of the object. 2018-06-23 20:36:41 +02:00
invalidation Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
media_queries style: Error reporting fixes for media queries. 2018-07-01 00:04:48 +02:00
properties style: Fix tidy. 2018-06-23 20:34:10 +02:00
rule_tree style: Update StyleSource to use ArcUnion. 2018-04-29 03:28:32 +02:00
servo style: Add code to parse media conditions. 2018-07-01 00:04:07 +02:00
sharing style: Fix the broken invariants of the rule node cache. 2018-06-23 20:34:50 +02:00
stylesheets style: Better debugging for stylesheets and URLs. 2018-06-23 20:37:03 +02:00
values style: Evaluate MediaConditions, and glue it all together. 2018-07-01 00:04:35 +02:00
animation.rs style: Move TransitionProperty where it belongs. 2018-06-12 12:15:05 -07:00
applicable_declarations.rs style: Update StyleSource to use ArcUnion. 2018-04-29 03:28:32 +02:00
attr.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
author_styles.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
bezier.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
bloom.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
build.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
build_gecko.rs style: Not copy generated binding files into dist. 2018-04-28 10:26:04 +02:00
Cargo.toml style: Update smallbitvec to v2.1.1. 2018-06-12 12:15:08 -07:00
context.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
custom_properties.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
data.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
dom.rs style: Make element-backed pseudos inherit from NAC subtree roots and other NAC inherit from their parents. 2018-06-02 12:07:07 +02:00
dom_apis.rs style: Optimize QuerySelector in shadow trees. 2018-05-28 16:02:31 +02:00
driver.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
element_state.rs style: Remove :unsolved pseudo-class 2018-01-10 17:20:06 +08:00
encoding_support.rs style: Fix servo build. 2018-06-23 20:34:10 +02:00
error_reporting.rs style: Better debugging for stylesheets and URLs. 2018-06-23 20:37:03 +02:00
font_face.rs style: Move the error reporter into ParserContext. 2018-06-23 20:36:23 +02:00
font_metrics.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
hash.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
lib.rs style: Remove some unneeded cfg(..). 2018-05-05 17:53:22 +02:00
logical_geometry.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
macros.rs style: Add a ValueInfo trait for exposing types needed by devtools. 2018-04-29 03:28:34 +02:00
matching.rs style: Make element-backed pseudos inherit from NAC subtree roots and other NAC inherit from their parents. 2018-06-02 12:07:07 +02:00
parallel.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
parser.rs style: Move the error reporter into ParserContext. 2018-06-23 20:36:23 +02:00
README.md
rule_cache.rs style: Update StyleSource to use ArcUnion. 2018-04-29 03:28:32 +02:00
scoped_tls.rs
selector_map.rs style: Add namespace bucket for the selector map. 2018-07-01 00:05:12 +02:00
selector_parser.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
shared_lock.rs style: Remove ServoStyleSheet usage. 2018-05-05 16:22:47 +02:00
str.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
style_adjuster.rs style: Make StyleStruct.name_lower snake case. 2018-06-23 20:35:49 +02:00
style_resolver.rs style: Make element-backed pseudos inherit from NAC subtree roots and other NAC inherit from their parents. 2018-06-02 12:07:07 +02:00
stylesheet_set.rs style: Allow placeholder import sheets. 2018-04-17 20:01:27 +02:00
stylist.rs style: Better debugging for media-query related code and ua-cache. 2018-06-23 20:37:16 +02:00
thread_state.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
timer.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
traversal.rs style: Make element-backed pseudos inherit from NAC subtree roots and other NAC inherit from their parents. 2018-06-02 12:07:07 +02:00
traversal_flags.rs style: Get rid of unstyled children only traversals. 2017-11-20 08:24:08 +01:00

servo-style

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