servo/components/style
bors-servo d429561aa2 Auto merge of #17889 - chenpighead:fix-transition-visited, r=hiro
stylo: remove bogus optimization check in replace_rules() for visited styles.

We skipped updating the rule nodes for visited rules during animation-only restyle.
However, this causes isseus that visited style overrides animation styles on visited element.
So, it turns out that we should update the visited rules even during animation-only restyle.

Gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1381235

<!-- 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/17889)
<!-- Reviewable:end -->
2017-07-27 08:25:20 -05:00
..
counter_style Update cssparser to 0.18 2017-07-24 11:39:12 +02:00
gecko Auto merge of #17871 - emilio:revert-gradient-stuff, r=emilio 2017-07-26 07:51:21 -05:00
gecko_bindings Auto merge of #17775 - michael-p:rename-stylearc-to-servo-arc, r=emilio 2017-07-19 06:03:17 -07:00
gecko_string_cache stylo: Read mName as a raw nsIAtom* from NodeInfoInner. 2017-07-24 10:40:58 -04:00
invalidation style: Avoid exponential blowup when processing invalidations of the same kind. 2017-07-27 13:03:22 +02:00
properties Auto merge of #17880 - Manishearth:stylo-update-border, r=emilio 2017-07-27 01:09:24 -05:00
rule_tree Replace all uses of the style::stylearc alias with servo_arc. 2017-07-19 09:29:05 +02:00
servo style: Ensure we generate a ReconstructFrame hint when -moz-binding changes on a display:none root. 2017-07-25 15:50:00 +08:00
sharing Replace all uses of the style::stylearc alias with servo_arc. 2017-07-19 09:29:05 +02:00
stylesheets Record viewport unit usage and generate proper restyle hint. 2017-07-25 19:02:21 +10:00
values Remove the inherited_style getter from StyleBuilder. 2017-07-26 13:40:02 -04:00
animation.rs Make it possible to construct StyleBuilder with two different inherited styles. 2017-07-26 15:25:34 -04:00
applicable_declarations.rs Replace all uses of the style::stylearc alias with servo_arc. 2017-07-19 09:29:05 +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 Replace all uses of the style::stylearc alias with servo_arc. 2017-07-19 09:29:05 +02:00
build.rs Auto merge of #16935 - servo:out-of-crate-bindings-tests, r=emilio 2017-05-19 03:48:14 -05:00
build_gecko.rs Better bindgen error message when files are missing. 2017-07-07 22:49:45 -07:00
cache.rs Adapt LRUCache to use ArrayDeque crate instead of VecDeque 2017-06-03 20:59:01 +02:00
Cargo.toml stylo: Bump app units version 2017-07-26 13:55:30 -07:00
cascade_info.rs Remove style::values::HasViewportPercentage reexport 2017-05-20 22:00:05 +02:00
context.rs style: Mention when visited styles may be disabled. 2017-07-24 00:04:45 +02:00
custom_properties.rs Update cssparser to 0.18 2017-07-24 11:39:12 +02:00
data.rs style: Improve the assertion message in restyle_kind(). 2017-07-24 12:13:19 +02:00
dom.rs style: Avoid looking at descendant hints to check whether the element needs a restyle. 2017-07-24 12:12:08 +02:00
element_state.rs Bug 1348489 - stylo: Implement :-moz-window-inactive. 2017-06-30 09:31:01 -07:00
encoding_support.rs Replace all uses of the style::stylearc alias with servo_arc. 2017-07-19 09:29:05 +02:00
error_reporting.rs stylo: Update rust-cssparser; extract more specific error types when reporting (bug 1352669). 2017-07-10 20:46:12 -04:00
font_face.rs Cleanup @font-face rule constructor 2017-07-26 11:55:22 -07:00
font_metrics.rs stylo: Use gecko's font metrics 2017-04-10 14:29:51 +08:00
lib.rs Remove last vestiges of stylearc 2017-07-21 14:39:51 -07:00
logical_geometry.rs Untry style 2017-06-18 13:18:13 +02:00
macros.rs Update cssparser to 0.18 2017-07-24 11:39:12 +02:00
matching.rs stylo: remove bogus optimization check in replace_rules() for visited styles. 2017-07-27 19:10:38 +08:00
media_queries.rs Update cssparser to 0.18 2017-07-24 11:39:12 +02:00
parallel.rs Pass a callback to recalc_style_at to avoid traversing children twice. 2017-07-15 14:45:51 -07:00
parser.rs Introduce CommaWithSpace 2017-06-27 23:37:48 +02:00
README.md
scoped_tls.rs Reduce the size of top_down_dom stackframes. 2017-06-08 13:02:36 -04:00
selector_map.rs style: Remove SelectorAndHashes. 2017-07-13 05:44:55 +02:00
selector_parser.rs stylo: Introduce ComputedValuesInner 2017-07-17 18:01:36 -07:00
sequential.rs Pass a callback to recalc_style_at to avoid traversing children twice. 2017-07-15 14:45:51 -07:00
shared_lock.rs Replace all uses of the style::stylearc alias with servo_arc. 2017-07-19 09:29:05 +02:00
str.rs style: Make starts_with_ignore_ascii_case not lie if the strings are the same length. 2017-07-08 19:41:28 +02:00
style_adjuster.rs Remove the inherited_style getter from StyleBuilder. 2017-07-26 13:40:02 -04:00
style_resolver.rs Make it possible to construct StyleBuilder with two different inherited styles. 2017-07-26 15:25:34 -04:00
stylesheet_set.rs stylo: Run the stylehseet invalidation pass also for stylesheet removals. 2017-07-09 14:17:19 +02:00
stylist.rs style: fix alignment in call to get_all_matching_rules. 2017-07-27 01:35:57 +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 style: Document the timer module. 2016-12-31 12:17:04 +01:00
traversal.rs style: Remove outdated comments. 2017-07-24 10:07:39 +02:00

servo-style

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