servo/components/style
Jeremy Chen 13f6cf6e3a Stylo: add -moz-border-*-colors support
In Gecko, we use double pointers to nsBorderColors to store -moz-border-*-colors.
We can simplify the implementation of computed value in Servo by using Option<Vec>.
As to passing computed values from Servo to Gecko, we might need to use some
binding functions (pre-added in the same Gecko bug, see Bug 1348173).

Note that we added -moz-border-*-colors as sub_properties of the 'border'
shorthand, so we can make the 'border' shorthand reset -moz-border-*-colors
(See Gecko Bug 482692). However, since they are Gecko only non-standard properties,
we should skip these sub_properties while doing unit testing in Servo. The test part
should be convered by Stylo/Gecko already.

A bit refactoring of replacing all ["top", "right", "bottom", "left"] with PHYSICAL_SIDES
is included in this patch, since we've already had PHYSICAL_SIDES for a while.
2017-04-25 09:52:19 +08:00
..
binding_tools
gecko stylo: Fix a serialization bug for string pseudos. 2017-04-24 19:28:11 +02:00
gecko_bindings Stylo: update bindings for -moz-border-*-colors support 2017-04-25 09:42:31 +08:00
gecko_string_cache tidy and test fixes 2017-04-21 14:53:27 -07:00
properties Stylo: add -moz-border-*-colors support 2017-04-25 09:52:19 +08:00
rule_tree style: Tweak rule tree memory ordering. 2017-04-03 21:47:39 +02:00
servo Make font-variant shorthand. 2017-04-14 08:50:16 +09:00
values Auto merge of #16541 - sbwtw:fix_calc_behavior, r=stshine 2017-04-24 04:16:18 -05:00
animation.rs Auto merge of #16527 - BorisChiou:stylo/transition/shorthands, r=emilio 2017-04-19 07:35:09 -05:00
attr.rs Fix indentation errors in servo rust code that tidy now finds. 2017-04-18 14:56:13 -04:00
bezier.rs
bloom.rs Do the sequential traversal breadth-first. 2017-04-09 14:52:49 +08:00
build.rs
build_gecko.rs Stylo: add -moz-border-*-colors support 2017-04-25 09:52:19 +08:00
cache.rs Optimize LRUCache by using a VecDeque. 2017-04-13 21:52:39 +08:00
Cargo.toml Update to cssparser 0.13 2017-04-25 01:45:33 +02:00
cascade_info.rs
context.rs Disable the style sharing cache on opt builds to avoid regressing Talos by matching too many revalidation selectors. 2017-04-23 12:43:17 -07:00
custom_properties.rs
data.rs Bug 1341372 - Part 1: Let animation-only restyle include css-transition. 2017-04-17 17:06:12 +08:00
dom.rs Bug 1341372 - Part 6: Trigger transitions. 2017-04-17 17:08:54 +08:00
element_state.rs Bug 1350140: stylo: Implement all the remaining state pseudo-classes. r=heycam 2017-03-29 11:52:53 +02:00
encoding_support.rs Support line number offsets for inline stylesheets 2017-04-13 19:36:49 -04:00
error_reporting.rs Rename StdoutErrorReporter to RustLogReporter. 2017-04-24 08:23:41 +02:00
font_face.rs Reject @font-face descriptors with value value followed by more stuff. 2017-04-01 14:54:57 +02:00
font_metrics.rs stylo: Use gecko's font metrics 2017-04-10 14:29:51 +08:00
keyframes.rs Rename MemoryHoleReporter to NullReporter 2017-04-24 07:56:50 +02:00
lib.rs stylo: Centralize stylesheet handling. 2017-04-19 09:41:36 +02:00
logical_geometry.rs style: Add Gecko-only support for writing-mode:sideways-{lr,rl}. 2017-04-17 11:24:23 +10:00
matching.rs Share styles between cousins if the parent styles were shared. 2017-04-23 12:43:16 -07:00
media_queries.rs Bug 1325878: Pass the MediaList down to Servo, making <style media> work. r=xidorn 2017-04-12 22:27:45 +08:00
parallel.rs Limit traversal statistics dumps to subtrees of 50 or more elements. 2017-04-13 13:41:52 +08:00
parser.rs SVG length parsing mode 2017-04-14 17:22:16 +08:00
README.md
restyle_hints.rs Rename SimpleSelector to Component. 2017-04-20 15:04:48 -07:00
scoped_tls.rs
selector_parser.rs style: Stop special-casing a few attributes for style sharing, and use a visitor to track dependencies. 2017-04-09 18:15:50 +08: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
sink.rs
str.rs Support vendor prefix keyframes rule. 2017-04-21 12:18:12 +09:00
stylesheet_set.rs stylo: Centralize stylesheet handling. 2017-04-19 09:41:36 +02:00
stylesheets.rs Rename StdoutErrorReporter to RustLogReporter. 2017-04-24 08:23:41 +02:00
stylist.rs Rename StdoutErrorReporter to RustLogReporter. 2017-04-24 08:23:41 +02:00
supports.rs Check context to test keyframe rule_type 2017-04-12 16:40:37 +08:00
thread_state.rs
timer.rs
traversal.rs style: Remove useless deny(missing_docs). 2017-04-14 11:54:49 +08:00
viewport.rs Pass ParserContext down to lengths 2017-04-12 16:40:48 +08:00

servo-style

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