servo/components/style/gecko
Boris Chiou dce2e2927f
style: Define offset-path and implement it in style system.
Define OffsetPath & SVGPathData on the servo-side, and StyleMotion &
StyleSVGPath on the gecko-side. We parse the SVG Path string into a
vector of PathCommand. To build the gfx::Path, we will convert it into
gfx::Path later in a different patch.

The basic flow is:
  - Parse SVG Path String into SVGPathData (in Rust).
  - Use cbindgen to make sure the layout of PathCommand and StylePathCommand, and then set the Box[PathCommand] into nsTArray<StylePathCommand>.
  - Try to convert nsTArray<StylePathCommand> into gfx::Path. (This part will be implemented in a different patch.)

Finally, we use the gfx::Path to create a motion path transform.
The layout implementation is in the later patch.

Depends on D2962

Differential Revision: https://phabricator.services.mozilla.com/D2963
2018-09-03 12:30:21 +02:00
..
arc_types.rs style: Merge ServoDocumentRule and CSSMozDocumentRule. 2018-06-18 19:15:08 +02:00
conversions.rs style: Define offset-path and implement it in style system. 2018-09-03 12:30:21 +02:00
data.rs style: no-op visited changes earlier if visited links are disabled. 2018-08-18 17:54:54 +02:00
global_style_data.rs style: Cap the number of style threads at six. 2018-07-09 03:04:01 +02:00
media_features.rs Appease tidy. 2018-08-18 18:41:40 +02:00
media_queries.rs style: Rewrite media queries so that they work on an evaluator function. 2018-08-18 17:54:54 +02:00
mod.rs style: Rewrite media queries so that they work on an evaluator function. 2018-08-18 17:54:54 +02:00
non_ts_pseudo_class_list.rs style: Unconditionally enable :defined in chrome. 2018-07-01 00:08:48 +02:00
pseudo_element.rs style: Remove the concept of 'canonical' pseudos. 2018-08-08 01:37:07 +02:00
pseudo_element_definition.mako.rs style: Move CSS pseudo-element atoms to nsGkAtoms. 2018-08-18 17:54:54 +02:00
regen_atoms.py style: Generate static atom hash in StaticAtoms.py. 2018-08-18 17:54:54 +02:00
restyle_damage.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
rules.rs style: Make tidy happy. 2018-04-28 10:26:08 +02:00
selector_parser.rs Appease tidy. 2018-08-08 01:34:35 +02:00
snapshot.rs style: Manually inline class and ID getters. 2018-08-18 17:54:54 +02:00
snapshot_helpers.rs style: Manually inline class and ID getters. 2018-08-18 17:54:54 +02:00
traversal.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
url.rs style: Fix tidy. 2018-06-23 20:34:10 +02:00
values.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
wrapper.rs style: Manually inline class and ID getters. 2018-08-18 17:54:54 +02:00