servo/components/style
Emilio Cobos Álvarez 8c4b401dd3
style: Only expose longhands to rust via iterators.
The key here is that we only filter longhands if the shorthand is accessible to
content and vice-versa. This prevents the bug that prevented me to land this
patch before, which was us not expanding properly chrome-only shorthands.

Again, this is incomplete, and I need to teach LonghandsToSerialize to get a
potentially incomplete list of properties, and all that.
2018-02-28 00:19:31 +01:00
..
counter_style Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
gecko style: Only expose longhands to rust via iterators. 2018-02-28 00:19:31 +01:00
gecko_bindings style: Make XBL / Shadow DOM use something more light-weight than a Stylist. 2018-02-16 13:42:36 +01:00
gecko_string_cache style: Optimize serialization of identifiers of length <= 16 🐉🐲 2018-02-07 17:34:22 +01:00
invalidation style: Indent properly a couple more functions. 2018-02-24 23:23:16 +01:00
properties style: Only expose longhands to rust via iterators. 2018-02-28 00:19:31 +01:00
rule_tree style: Indent properly a couple more functions. 2018-02-24 23:23:16 +01:00
servo style: Make Element::id not clone the attribute. 2018-02-24 22:45:43 +01:00
sharing style: Make Element::id not clone the attribute. 2018-02-24 22:45:43 +01:00
stylesheets style: Optimize serialization of identifiers of length <= 16 🐉🐲 2018-02-07 17:34:22 +01:00
values Replace NonNegativeLengthOrNumber by a specific type for -moz-tab-size 2018-02-27 11:26:52 +01:00
animation.rs style: Only expose longhands to rust via iterators. 2018-02-28 00:19:31 +01: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
author_styles.rs style: Make XBL / Shadow DOM use something more light-weight than a Stylist. 2018-02-16 13:42:36 +01:00
bezier.rs
bloom.rs style: Remove get_ prefix from get_state and get_id. 2018-02-24 22:45:42 +01:00
build.rs Check that 'style' is compiled in a supported configuration. 2017-12-10 02:58:31 +01:00
build_gecko.rs style: Disable rustfmt for now. 2018-01-23 17:28:12 +01:00
Cargo.toml Bump rayon to 1.0 2018-02-24 13:50:03 +01:00
context.rs style: Indent properly a couple more functions. 2018-02-24 23:23:16 +01:00
custom_properties.rs style: Use debug_assert_eq!. 2018-02-05 13:02:54 +01:00
data.rs Add layout RPC query for getting an element's style 2018-01-28 10:59:45 +01:00
dom.rs style: Make Element::id not clone the attribute. 2018-02-24 22:45:43 +01:00
dom_apis.rs selectors: Remove the get_ prefix from get_local_name and get_namespace. 2018-02-24 22:45:38 +01:00
driver.rs Remove traversal telemetry 2018-02-08 03:04:34 -08:00
element_state.rs style: Remove :unsolved pseudo-class 2018-01-10 17:20:06 +08: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 stylo: Fix missing null terminators in error reporting code. 2018-01-31 17:49:15 +01:00
font_face.rs Remove initial values from font-face descriptors 2018-02-14 17:35:57 +11:00
font_metrics.rs Avoid debug serialization of PropertyDeclaration & co in release builds. 2018-01-15 17:24:27 -08:00
hash.rs style: Back out ordermap. 2018-02-12 12:20:46 +01:00
lib.rs style: Make XBL / Shadow DOM use something more light-weight than a Stylist. 2018-02-16 13:42:36 +01:00
logical_geometry.rs Use specific assertion for style logical geometry 2018-01-26 01:30:31 +08:00
macros.rs Kill AnimatedValueAsComputed 2018-02-10 16:31:47 +01:00
matching.rs style: Remove useless dereferencing. 2018-02-24 23:26:55 +01:00
media_queries.rs Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
parallel.rs style: Indent properly a couple more functions. 2018-02-24 23:23:16 +01:00
parser.rs style: Trivially cleanup length parsing. 2018-02-16 16:04:19 +01:00
README.md
rule_cache.rs Skip rule node which contains only inherited properties for rule cache. 2018-01-05 11:29:01 +11:00
scoped_tls.rs
selector_map.rs style: Make Element::id not clone the attribute. 2018-02-24 22:45:43 +01:00
selector_parser.rs Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
shared_lock.rs Avoid the generic writer parameter for PropertyDeclaration serialization. 2018-01-22 14:58:05 -08:00
str.rs Avoid the generic writer parameter for PropertyDeclaration serialization. 2018-01-22 14:58:05 -08:00
style_adjuster.rs style: Handle correctly nested links. 2018-02-03 20:45:56 +01:00
style_resolver.rs style: Remove the get_ prefix from get_smil_override, and other animation stuff. 2018-02-24 22:45:41 +01:00
stylesheet_set.rs Add sizeof for AuthorStyles. 2018-02-19 15:12:13 +11:00
stylist.rs style: Make Element::id not clone the attribute. 2018-02-24 22:45:43 +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: Cleanup always-false argument to Servo_ResolveStyleLazily. 2018-02-20 12:59:21 +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.