servo/components/style
Hiroyuki Ikezoe a921d1af22 Make replace_rules returning boolean.
We only use whether the return value is IMPORTANT_RULES_CHANGED or not, so we
can just return true if an important rules was changed in the function.
Also, we can just return false in case of animation rules changes sine for
animation we can ensure there is no importan rules.
Because of these changes, replace_rule_node does not borrow |result| so that
we can drop a scope there.
2017-05-24 14:00:17 +09:00
..
counter_style Change ToNsCssValue to take the ownership of value. 2017-05-16 14:42:42 +10:00
gecko Check ElementHasAnimations before trying to get animations rules. 2017-05-24 11:12:10 +09:00
gecko_bindings Revert "Auto merge of #16976 - upsuper:bug1366247, r=nox" 2017-05-21 21:29:50 +02:00
gecko_string_cache Revert "Auto merge of #16976 - upsuper:bug1366247, r=nox" 2017-05-21 21:29:50 +02:00
properties Use animation values that have been processed during animation-only restyle for normal restyle. 2017-05-24 11:11:57 +09:00
rule_tree Use animation values that have been processed during animation-only restyle for normal restyle. 2017-05-24 11:11:57 +09:00
servo style: Use RestyleDamage to determine whether we must continue cascading style changes to children. 2017-05-20 16:25:39 +02:00
sharing style: Move all the style sharing code outside matching.rs 2017-05-21 02:30:51 +02:00
values Auto merge of #16994 - servo:derive-all-the-things, r=emilio 2017-05-22 11:37:28 -05:00
animation.rs Change device and rule_set references to accessors 2017-05-18 22:18:16 -05:00
attr.rs ol[type=…] and li[type=…] preshints need to be case-sensitive 2017-05-18 17:13:18 +02:00
bezier.rs
bloom.rs style: Use a SmallVec for common ancestors in the bloom filter. 2017-05-21 00:08:00 +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 Move config info from build_gecko.rs to a toml file in gecko. 2017-05-19 11:08:35 +10:00
cache.rs Optimize LRUCache by using a VecDeque. 2017-04-13 21:52:39 +08:00
Cargo.toml [gfx] [layout] [style] Upgrade unicode-bidi to 0.3 2017-05-22 20:06:19 -05:00
cascade_info.rs Remove style::values::HasViewportPercentage reexport 2017-05-20 22:00:05 +02:00
context.rs Auto merge of #16968 - HeyZoos:stylist-accessors, r=emilio 2017-05-22 20:12:46 -05:00
custom_properties.rs Remove style::values::HasViewportPercentage reexport 2017-05-20 22:00:05 +02:00
data.rs Use animation values that have been processed during animation-only restyle for normal restyle. 2017-05-24 11:11:57 +09:00
document_condition.rs Stylo: Bug 1355408 - add support for @-moz-document 2017-05-09 12:52:44 +02:00
dom.rs Check ElementHasAnimations before trying to get animations rules. 2017-05-24 11:12:10 +09:00
element_state.rs Fix dynamic updates when :dir matching changes in stylo. 2017-05-15 12:31:49 -04:00
encoding_support.rs Stylo: Bug 1350175 - Support getting line / column number of CSS rules 2017-05-12 15:20:12 +02:00
error_reporting.rs Rename StdoutErrorReporter to RustLogReporter. 2017-04-24 08:23:41 +02:00
font_face.rs stylo: Bug 1355345 - Support font-display descriptor in @font-face rule 2017-05-18 18:16:24 +02:00
font_metrics.rs stylo: Use gecko's font metrics 2017-04-10 14:29:51 +08:00
keyframes.rs Avoid returning / passing around a huge ParsedDeclaration type 2017-05-19 18:53:25 +02:00
lib.rs style: Move SelectorMap to its own submodule. 2017-05-23 14:48:04 +02:00
logical_geometry.rs [gfx] [layout] [style] Upgrade unicode-bidi to 0.3 2017-05-22 20:06:19 -05:00
macros.rs Derive HasViewportPercentage 🍷 2017-05-20 14:48:04 +02:00
matching.rs Make replace_rules returning boolean. 2017-05-24 14:00:17 +09:00
media_queries.rs Propagate quirks mode all the way to ParserContext 2017-04-27 10:41:55 +02:00
parallel.rs Rewrite parallel.rs to be not slow. 2017-05-21 07:45:39 +02:00
parser.rs Add PARSING_MODE_ALLOW_ALL_NUMERIC_VALUES to force to parse negative values. 2017-05-14 07:15:19 +09:00
README.md
restyle_hints.rs style: Add a SelectorMapEntry trait. 2017-05-23 14:48:06 +02:00
scoped_tls.rs bump required rayon version to 0.7 2017-05-05 10:36:01 -04:00
selector_map.rs style: Add a SelectorMapEntry trait. 2017-05-23 14:48:06 +02:00
selector_parser.rs style: Refactor the cascade function. 2017-05-17 16:32:30 +02:00
sequential.rs Limit traversal statistics dumps to subtrees of 50 or more elements. 2017-04-13 13:41:52 +08:00
shared_lock.rs Use StyleArc in the style system. 2017-05-02 17:35:44 -07:00
sink.rs
str.rs Support vendor prefix keyframes rule. 2017-04-21 12:18:12 +09:00
style_adjuster.rs style: Adjust text-align properly for -moz- values in tables. 2017-05-10 12:59:14 +02:00
stylearc.rs Express unique ownership of arc in StyleStructRef, add vacated state 2017-05-04 07:15:18 -07:00
stylesheet_set.rs Bug 1363572 Part 1: Servo-side change stylesheet_set entry unique_id to u64. 2017-05-12 13:50:10 -07:00
stylesheets.rs Implement CSSKeyframesRule and CSSKeyframeRule for stylo. 2017-05-19 13:56:57 +10:00
stylist.rs Use animation values that have been processed during animation-only restyle for normal restyle. 2017-05-24 11:11:57 +09:00
supports.rs Avoid returning / passing around a huge ParsedDeclaration type 2017-05-19 18:53:25 +02:00
thread_state.rs
timer.rs
traversal.rs Make replace_rules returning boolean. 2017-05-24 14:00:17 +09:00
viewport.rs Introduce CalcLengthOrPercentage::unclamped_length 2017-05-18 19:27:31 +02:00

servo-style

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