servo/components/style
Emilio Cobos Álvarez d15acc219e
style: Allow calling GetBaseComputedStylesForElement for an unstyled element.
Before this refactoring, getComputedStyle could have side effects, and left the
style data in the element, so we could never arrive there without data.

There are a few crashtests that caught this, but this was already broken if you
called animate() on an element deep in a display: none subtree.

MozReview-Commit-ID: 1AvOvhAyOP3
2017-07-12 09:26:38 +02:00
..
counter_style Introduce Separator::parse 2017-06-27 23:37:44 +02:00
gecko Check Gecko pref before parsing frames() timing function 2017-07-12 08:49:10 +09:00
gecko_bindings Make text-shadow and box-shadow use SimpleShadow 2017-06-28 16:28:25 +02:00
gecko_string_cache style: Clean up after #17427. 2017-06-20 15:42:23 +02:00
invalidation stylo: Fix StyleSheetInner/Stylesheet mapping 2017-07-02 15:49:40 +02:00
properties style: Rewrite restyling to split between resolving styles and handling changes. 2017-07-12 09:26:36 +02:00
rule_tree style: Make RuleTree::root return a reference instead of a strong pointer. 2017-07-12 08:39:41 +02:00
servo Implemented paint worklet properties. 2017-07-11 17:28:56 -05:00
sharing style: Rewrite restyling to split between resolving styles and handling changes. 2017-07-12 09:26:36 +02:00
stylesheets stylo: Update rust-cssparser; extract more specific error types when reporting (bug 1352669). 2017-07-10 20:46:12 -04:00
values Check Gecko pref before parsing frames() timing function 2017-07-12 08:49:10 +09:00
animation.rs stylo: Create error reporters linked to documents (bug 1352669) 2017-07-10 20:46:08 -04:00
applicable_declarations.rs Hoist ApplicableDeclaration{Block,List} into a separate file. 2017-06-12 12:13:21 -07:00
attr.rs Untry style 2017-06-18 13:18:13 +02:00
bezier.rs Bump euclid to 0.14. 2017-06-14 16:00:59 +02:00
bloom.rs Be smarter when clearing the bloom filter. 2017-06-21 19:53:16 -07: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: Update rust-cssparser; extract more specific error types when reporting (bug 1352669). 2017-07-10 20:46:12 -04:00
cascade_info.rs Remove style::values::HasViewportPercentage reexport 2017-05-20 22:00:05 +02:00
context.rs style: Rewrite restyling to split between resolving styles and handling changes. 2017-07-12 09:26:36 +02:00
custom_properties.rs stylo: Update rust-cssparser; extract more specific error types when reporting (bug 1352669). 2017-07-10 20:46:12 -04:00
data.rs style: Undo the optimization for grabbing animation rules from the style data. 2017-07-12 08:39:35 +02:00
dom.rs style: Undo the optimization for grabbing animation rules from the style data. 2017-07-12 08:39:35 +02:00
element_state.rs Bug 1348489 - stylo: Implement :-moz-window-inactive. 2017-06-30 09:31:01 -07:00
encoding_support.rs Bug 1331291 part 1 - Set stylesheet url_data correctly for import rule. 2017-06-13 10:07:06 +10: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 Use integer for specified and computed font-weight 2017-07-06 15:31:24 +10:00
font_metrics.rs stylo: Use gecko's font metrics 2017-04-10 14:29:51 +08:00
lib.rs style: Introduce StyleResolverForElement. 2017-07-12 08:39:50 +02:00
logical_geometry.rs Untry style 2017-06-18 13:18:13 +02:00
macros.rs Introduce ToAnimatedValue 🎥 2017-06-29 14:03:15 +02:00
matching.rs style: Allow calling GetBaseComputedStylesForElement for an unstyled element. 2017-07-12 09:26:38 +02:00
media_queries.rs Untry style 2017-06-18 13:18:13 +02:00
parallel.rs Rip out the generic abstractions around ThreadLocalStyleContext. 2017-07-05 16:37:17 -07:00
parser.rs Introduce CommaWithSpace 2017-06-27 23:37:48 +02:00
README.md docs: Add style overview. 2016-05-04 00:34:03 +02:00
scoped_tls.rs Reduce the size of top_down_dom stackframes. 2017-06-08 13:02:36 -04:00
selector_map.rs Account for left-to-right rather than right-to-left precedence of classes in selector maps. 2017-06-20 11:59:12 -07:00
selector_parser.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
sequential.rs Rip out the generic abstractions around ThreadLocalStyleContext. 2017-07-05 16:37:17 -07:00
shared_lock.rs stylo: Fix StyleSheetInner/Stylesheet mapping 2017-07-02 15:49:40 +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 Use integer for specified and computed font-weight 2017-07-06 15:31:24 +10:00
style_resolver.rs style: Rewrite restyling to split between resolving styles and handling changes. 2017-07-12 09:26:36 +02: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: Rewrite restyling to split between resolving styles and handling changes. 2017-07-12 09:26:36 +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: Rewrite restyling to split between resolving styles and handling changes. 2017-07-12 09:26:36 +02:00

servo-style

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