servo/components
bors-servo d16f312464 Auto merge of #14136 - stshine:orthogonal-symmetry, r=SimonSapin
style: Add a "start_end()" method to LogicalMargin

<!-- 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

<!-- 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/14136)
<!-- Reviewable:end -->
2016-11-10 11:53:05 -06:00
..
atoms Add more event names to atom list; use more atom macros. 2016-11-06 11:03:14 -05:00
bluetooth Webbluetooth Async behaviour 2016-11-08 13:27:56 +01:00
bluetooth_traits Webbluetooth Async behaviour 2016-11-08 13:27:56 +01:00
canvas canvas: Cleanup CanvasData and layout and script messages. 2016-11-07 11:28:40 +01:00
canvas_traits canvas: Cleanup CanvasData and layout and script messages. 2016-11-07 11:28:40 +01:00
compositing Remove CollectMemoryReports from compositor (fixes #13735) 2016-11-06 01:43:09 +01:00
constellation Script thread lifetime is now managed by the constellation. 2016-11-09 01:29:25 +00:00
debugger Replace rust-websocket with ws-rs in the debugger server. 2016-11-07 11:49:10 +01:00
devtools Remove #![feature(custom_attribute)] 2016-11-03 11:24:13 +01:00
devtools_traits Derive Debug on devtools_traits types. 2016-11-09 00:02:00 +01:00
gfx Don't promote all scrollable regions to stacking contexts 2016-11-05 18:36:45 +01:00
gfx_traits Don't promote all scrollable regions to stacking contexts 2016-11-05 18:36:45 +01:00
jstraceable_derive Make #[derive(JSTraceable)] a procedural macro 2016-11-03 01:10:35 +01:00
layout Auto merge of #14136 - stshine:orthogonal-symmetry, r=SimonSapin 2016-11-10 11:53:05 -06:00
layout_thread Auto merge of #14084 - mrobinson:scroll_root_2, r=glennw 2016-11-07 18:49:53 -06:00
layout_traits Remove old rendering backend. 2016-10-18 10:21:27 +10:00
msg Move ReferrerPolicy to net_traits. 2016-11-04 10:43:37 +01:00
net Make Response::url private. 2016-11-10 13:18:43 +01:00
net_traits Make Response::url private. 2016-11-10 13:18:43 +01:00
plugins Fix ./mach clippy. 2016-11-08 09:28:30 -05:00
profile Remove #![feature(custom_derive)] 2016-11-03 10:14:21 +01:00
profile_traits Silently ignore errors sending memory profiling data. 2016-11-07 15:34:16 -05:00
range Remove #![feature(rustc_attrs)] 2016-11-03 11:24:19 +01:00
script style: Centralize specified url value handling, and refcount urls. 2016-11-10 13:15:21 +01:00
script_layout_interface Stop using associated types for the concrete TRestyleDamage implementation. 2016-11-07 11:10:48 -08:00
script_traits Script thread lifetime is now managed by the constellation. 2016-11-09 01:29:25 +00:00
servo style: Centralize specified url value handling, and refcount urls. 2016-11-10 13:15:21 +01:00
style Auto merge of #14136 - stshine:orthogonal-symmetry, r=SimonSapin 2016-11-10 11:53:05 -06:00
style_traits style: Centralize specified url value handling, and refcount urls. 2016-11-10 13:15:21 +01:00
util Update WR and shaders (initial subpixel AA work). 2016-11-08 16:46:25 +10:00
webdriver_server Move Image and PixelFormat to net_traits. 2016-10-21 16:12:39 +02:00