gecko-dev/servo/components/style
Pu Xingyu 96276fe1da servo: Merge #14136 - style: Add a "start_end()" method to LogicalMargin (from stshine:orthogonal-symmetry); r=SimonSapin
<!-- Please describe your changes on the following line: -->

Add a `LogicalMargin::start_end()` method that receives a `Direction' parameter. This is useful for some layout that is symmetric in inline and block directions, like flexbox.

Part of #14123.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because refactoring

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

r? @SimonSapin

Source-Repo: https://github.com/servo/servo
Source-Revision: d16f3124640be647b4ed67cc4a68cebd55cdb7cc
2016-11-10 11:53:05 -06:00
..
binding_tools servo: Merge #14038 - Add Element.style support for stylo (from upsuper:bug1294299); r=heycam 2016-11-03 23:42:06 -05:00
gecko servo: Merge #13791 - Centralize construction of specified url() values in style (from emilio:lazy-url); r=SimonSapin 2016-11-10 08:28:39 -06:00
gecko_bindings servo: Merge #14158 - Regenerate bindings (from heycam:bindings-update-4); r=Manishearth 2016-11-09 22:59:04 -06:00
gecko_string_cache servo: Merge #14158 - Regenerate bindings (from heycam:bindings-update-4); r=Manishearth 2016-11-09 22:59:04 -06:00
properties servo: Merge #13791 - Centralize construction of specified url() values in style (from emilio:lazy-url); r=SimonSapin 2016-11-10 08:28:39 -06:00
rule_tree servo: Merge #13202 - Rule tree, v1 (from emilio:rule-tree); r=SimonSapin,Manishearth,emilio 2016-11-05 17:11:24 -05:00
servo servo: Merge #14034 - incremental restyle: Use more concrete types in the style system (from bholley:more_concrete_types); r=emilio 2016-11-07 16:31:10 -06:00
values servo: Merge #13791 - Centralize construction of specified url() values in style (from emilio:lazy-url); r=SimonSapin 2016-11-10 08:28:39 -06:00
animation.rs servo: Merge #13202 - Rule tree, v1 (from emilio:rule-tree); r=SimonSapin,Manishearth,emilio 2016-11-05 17:11:24 -05:00
atomic_refcell.rs servo: Merge #13797 - Implement AtomicRef{,Mut}::map (from bholley:atomic_refcell_map); r=SimonSapin 2016-11-01 14:54:24 -05:00
attr.rs servo: Merge #14043 - Update to string-cache 0.3 (from servo:string-cache-up); r=nox 2016-11-03 11:19:44 -05:00
bezier.rs servo: Merge #9635 - Move util::bezier to style (from nox:mv-bezier); r=jdm 2016-02-15 07:18:27 +05:01
build.rs servo: Merge #13386 - Run style tests with all properties included (from Manishearth:style-testing); r=emilio 2016-09-24 00:36:28 -05:00
cache.rs servo: Merge #13676 - Remove usage of deprecated SipHasher (from servo:no-siphasher); r=pcwalton 2016-10-10 11:39:06 -05:00
Cargo.toml servo: Merge #14059 - Network Security : Implement StrictOrigin and StrictOriginWhenCrossOr… (from mrnayak:refPolicy); r=nox 2016-11-07 04:37:35 -06:00
cascade_info.rs servo: Merge #12838 - Fix restyling on viewport resize (from emilio:viewport); r=SimonSapin 2016-08-16 13:48:20 -05:00
context.rs servo: Merge #13202 - Rule tree, v1 (from emilio:rule-tree); r=SimonSapin,Manishearth,emilio 2016-11-05 17:11:24 -05:00
custom_properties.rs servo: Merge #14089 - Make use of Servo-specific ToCss everywhere! (from Wafflespeanut:tocss); r=SimonSapin 2016-11-06 23:26:08 -06:00
data.rs servo: Merge #13202 - Rule tree, v1 (from emilio:rule-tree); r=SimonSapin,Manishearth,emilio 2016-11-05 17:11:24 -05:00
dom.rs servo: Merge #14034 - incremental restyle: Use more concrete types in the style system (from bholley:more_concrete_types); r=emilio 2016-11-07 16:31:10 -06:00
element_state.rs servo: Merge #11726 - Issue 7720: Add target selector and update when scrolling to fragment (from sjmelia:7720_add_target_selector); r=mbrubeck 2016-08-03 14:53:30 -05:00
error_reporting.rs servo: Merge #11834 - Add some documentation to the style crate (from servo:style-docs); r=SimonSapin 2016-06-27 17:14:55 -05:00
font_face.rs servo: Merge #13190 - Update cssparser (from servo:cssparser-up); r=Manishearth 2016-09-08 15:50:12 -05:00
keyframes.rs servo: Merge #13839 - Add RwLock in more Arc’d things in stylesheets (from servo:locked-style); r=mbrubeck 2016-10-20 11:29:27 -05:00
lib.rs servo: Merge #14034 - incremental restyle: Use more concrete types in the style system (from bholley:more_concrete_types); r=emilio 2016-11-07 16:31:10 -06:00
logical_geometry.rs servo: Merge #14136 - style: Add a "start_end()" method to LogicalMargin (from stshine:orthogonal-symmetry); r=SimonSapin 2016-11-10 11:53:05 -06:00
matching.rs servo: Merge #14034 - incremental restyle: Use more concrete types in the style system (from bholley:more_concrete_types); r=emilio 2016-11-07 16:31:10 -06:00
media_queries.rs servo: Merge #14159 - Allow empty media query list (from upsuper:media-query); r=Wafflespeanut 2016-11-10 01:37:57 -06:00
owning_handle.rs servo: Merge #13759 - Implement OwningHandle in style (from bholley:owning_handle); r=SimonSapin 2016-10-14 10:42:10 -05:00
parallel.rs servo: Merge #13202 - Rule tree, v1 (from emilio:rule-tree); r=SimonSapin,Manishearth,emilio 2016-11-05 17:11:24 -05:00
parser.rs servo: Merge #13791 - Centralize construction of specified url() values in style (from emilio:lazy-url); r=SimonSapin 2016-11-10 08:28:39 -06:00
README.md servo: Merge #10934 - style: Add infrastructure to support lazy pseudo-elements (from emilio:other-gecko-pseudos); r=bholley,mbrubeck 2016-05-04 03:42:23 -07:00
refcell.rs servo: Merge #13459 - Use parking_lot::RwLock for PropertyDeclarationBlock (from servo:no-arc-heapsize); r=emilio 2016-10-04 11:58:56 -05:00
restyle_hints.rs servo: Merge #14034 - incremental restyle: Use more concrete types in the style system (from bholley:more_concrete_types); r=emilio 2016-11-07 16:31:10 -06:00
selector_impl.rs servo: Merge #14034 - incremental restyle: Use more concrete types in the style system (from bholley:more_concrete_types); r=emilio 2016-11-07 16:31:10 -06:00
selector_matching.rs servo: Merge #14034 - incremental restyle: Use more concrete types in the style system (from bholley:more_concrete_types); r=emilio 2016-11-07 16:31:10 -06:00
sequential.rs servo: Merge #14010 - incremental restyle: Centralize pre-styling setup, eliminate RestyleResult, and drop data for display:none subtrees (from bholley:element_data_management); r=emilio 2016-11-01 13:05:46 -05:00
sink.rs servo: Merge #12224 - Remove some stuff from util (from nox:die-util-die); r=Ms2ger 2016-07-04 12:57:00 -07:00
str.rs servo: Merge #12256 - Move some stuff from util to style (from nox:die-util-die); r=Ms2ger 2016-07-05 02:04:42 -07:00
stylesheets.rs servo: Merge #14159 - Allow empty media query list (from upsuper:media-query); r=Wafflespeanut 2016-11-10 01:37:57 -06:00
thread_state.rs servo: Merge #13202 - Rule tree, v1 (from emilio:rule-tree); r=SimonSapin,Manishearth,emilio 2016-11-05 17:11:24 -05:00
tid.rs servo: Merge #12256 - Move some stuff from util to style (from nox:die-util-die); r=Ms2ger 2016-07-05 02:04:42 -07:00
timer.rs servo: Merge #12392 - style: Add support to test animations programatically (from emilio:test-animations); r=SimonSapin 2016-07-20 13:38:31 -05:00
traversal.rs servo: Merge #13202 - Rule tree, v1 (from emilio:rule-tree); r=SimonSapin,Manishearth,emilio 2016-11-05 17:11:24 -05:00
viewport.rs servo: Merge #14089 - Make use of Servo-specific ToCss everywhere! (from Wafflespeanut:tocss); r=SimonSapin 2016-11-06 23:26:08 -06:00
workqueue.rs servo: Merge #13041 - style: Make WorkQueue creation fallible (from emilio:fallible-threadpool); r=bholley 2016-08-26 01:46:16 -05:00

servo-style

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