servo/components/style
bors-servo 3864f320e8 Auto merge of #19317 - emilio:property-allowed-in, r=SimonSapin
style: Move property allowance tests to PropertyId::parse_into.

It's not only more consistent (since we have a proper ParserContext there), but
also fixes a bunch of bugs where Gecko accidentally exposes and allows setting
internal state because of conversions from nsCSSPropertyID to PropertyId.

This adds the extra complexity of caring about aliases for longer, but that's
probably not a big deal in practice, since we have PropertyDeclarationId.

<!-- 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/19317)
<!-- Reviewable:end -->
2017-11-21 07:47:52 -06:00
..
counter_style Allow unused imports for AsciiExt in style code. 2017-11-09 12:43:23 +01:00
gecko Auto merge of #19315 - emilio:chrome-rules-user-sheets, r=heycam 2017-11-21 04:27:25 -06:00
gecko_bindings style: Remove some uses of unused unsafe. 2017-11-15 13:26:24 +01:00
gecko_string_cache style: Remove some uses of unused unsafe. 2017-11-15 13:26:24 +01:00
invalidation style: :dir() pseudo class now represented by enum 2017-11-15 18:12:44 -08:00
properties Auto merge of #19317 - emilio:property-allowed-in, r=SimonSapin 2017-11-21 07:47:52 -06:00
rule_tree style: Stop allowing unused_unsafe. 2017-11-15 13:26:26 +01:00
servo Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00
sharing style: Move lru_cache to its own crate. 2017-11-15 16:18:11 +01:00
stylesheets style: Move property allowance tests to PropertyId::parse_into. 2017-11-21 14:26:16 +01:00
values style: Use ComputedUrl instead of SpecifiedUrl in conversion.rs 2017-11-21 15:08:44 +08:00
animation.rs style: Move animation-iteration-count outside of mako. 2017-10-24 22:28:34 +02:00
applicable_declarations.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
attr.rs Allow unused imports for AsciiExt in style code. 2017-11-09 12:43:23 +01:00
bezier.rs
bloom.rs Un-inline some methods initializing thread_local! … 2017-09-12 11:42:04 +02:00
build.rs Fix Stylo tests to pass on both Stable and Nightly Rust. 2017-11-21 12:24:08 +01:00
build_gecko.rs style: Update bindgen to 0.31.3. 2017-10-31 20:09:18 +01:00
Cargo.toml style: Move lru_cache to its own crate. 2017-11-15 16:18:11 +01:00
context.rs Auto merge of #19230 - emilio:lru-cache, r=nox 2017-11-15 22:40:06 -06:00
custom_properties.rs Allow unused imports for AsciiExt in style code. 2017-11-09 12:43:23 +01:00
data.rs style: Remove "reconstructed ancestor" checks. 2017-11-10 17:03:01 +01:00
dom.rs Auto merge of #19296 - emilio:bye-unstyled-only, r=heycam 2017-11-20 04:18:30 -06:00
dom_apis.rs style: Allow disabling invalidation-based querySelector from C++ 2017-11-04 11:34:40 +01:00
driver.rs style: Lazily tweak the traversal root to account for sibling invalidations. 2017-09-26 13:09:03 +02:00
element_state.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
encoding_support.rs Use encoding-rs instead of rust-encoding for CSS parsing 2017-10-31 19:08:43 +01:00
error_reporting.rs Update to cssparser 0.22 (source location in error types) 2017-10-10 13:28:17 +02:00
font_face.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
font_metrics.rs
hash.rs Revert "Diagnostic map semantics." 2017-10-23 13:51:08 -07:00
lib.rs Auto merge of #19230 - emilio:lru-cache, r=nox 2017-11-15 22:40:06 -06:00
logical_geometry.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
macros.rs style: Move font-variant-numeric outside of mako 2017-11-18 17:57:22 +08:00
matching.rs style: Stop inspecting children to recascade them just because we reframed. 2017-11-10 20:47:37 +01:00
media_queries.rs style: Simplify a bit media query construction. 2017-11-06 13:51:53 +01:00
parallel.rs
parser.rs style: Enable chrome-only CSS features in user stylesheets. 2017-11-21 10:59:47 +01:00
README.md
rule_cache.rs stylo: Add keyword info to computed value of font-size 2017-09-23 10:51:21 -07:00
scoped_tls.rs
selector_map.rs style: Make the SelectorMap API slightly nicer. 2017-10-30 12:33:44 +01:00
selector_parser.rs Auto merge of #19315 - emilio:chrome-rules-user-sheets, r=heycam 2017-11-21 04:27:25 -06:00
shared_lock.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
str.rs Allow unused imports for AsciiExt in style code. 2017-11-09 12:43:23 +01:00
style_adjuster.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
style_resolver.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
stylesheet_set.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
stylist.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
thread_state.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
timer.rs
traversal.rs style: Get rid of unstyled children only traversals. 2017-11-20 08:24:08 +01: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.