servo/components/layout
bors-servo 2477cfc9b4 Auto merge of #10330 - danlrobertson:flex-axes, r=SimonSapin
Compute available main and cross size of flex containers

Compute the available main and cross size of flex containers, and add a helper for min/main constraints. Currently, this should only impact inline sizing. I wanted to get some feedback before I made more changes. Will probably need to be rebased if #10178 is merged first or visa versa.

Specs:
https://drafts.csswg.org/css-flexbox/#line-sizing
https://drafts.csswg.org/css2/visudet.html#min-max-widths
https://drafts.csswg.org/css2/visudet.html#min-max-heights

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10330)
<!-- Reviewable:end -->
2016-04-04 21:18:45 +05:30
..
animation.rs Move AnimationState to script_traits 2016-01-13 18:14:12 -05:00
block.rs Auto merge of #10279 - notriddle:issue_10258, r=mbrubeck 2016-03-30 12:48:40 +05:30
Cargo.toml layout: Drop "canvas" dependency 2016-03-23 18:12:38 +01:00
construct.rs layout: Propagate selected_style to InlineFragmentNodeInfo 2016-03-30 14:28:13 +02:00
context.rs ComputedValues is now ServoComputedValues 2016-03-27 10:55:43 +03:00
data.rs Get the fundamentals of the HTMLDetailsElement rendering stuff working. 2016-03-19 16:02:11 -07:00
display_list_builder.rs Implement ::selection pseudo-element 2016-03-30 14:28:11 +02:00
flex.rs Compute size of the axes of flex containers 2016-03-31 22:53:48 -04:00
floats.rs layout: Only take nonnegative margins into account when estimating 2016-03-28 17:37:57 -07:00
flow.rs Implement ::selection pseudo-element 2016-03-30 14:28:11 +02:00
flow_list.rs Add Multicolumn support block fragmentation. 2016-01-28 09:43:14 +01:00
flow_ref.rs Remove explicit lifetimes which can be elided. 2015-10-21 01:27:48 +02:00
fragment.rs Implement ::selection pseudo-element 2016-03-30 14:28:11 +02:00
generated_content.rs Implement ::selection pseudo-element 2016-03-30 14:28:11 +02:00
incremental.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
inline.rs layout: Propagate selected_style to InlineFragmentNodeInfo 2016-03-30 14:28:13 +02:00
layout_debug.rs Update to rustc 1.7.0-nightly (b4707ebca 2015-12-27) 2016-01-14 14:56:18 -06:00
layout_thread.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
lib.rs Add a unit test for Fragment size 2016-03-29 08:37:58 -07:00
list_item.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
model.rs Compute size of the axes of flex containers 2016-03-31 22:53:48 -04:00
multicol.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
opaque_node.rs use self.0 instead of destructing single item tuple structs 2016-03-27 11:50:08 +01:00
parallel.rs Removed overflow references on AssignBSizesAndStoreOverflow code 2016-03-17 21:14:50 +01:00
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs Implement Document#elementsFromPoint 2016-04-03 21:44:01 +07:00
sequential.rs layout: Rewrite the block formatting context/float inline-size 2016-03-25 18:39:16 -07:00
table.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
table_caption.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
table_cell.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
table_colgroup.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
table_row.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
table_rowgroup.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
table_wrapper.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
text.rs Implement ::selection pseudo-element 2016-03-30 14:28:11 +02:00
traversal.rs layout: Rewrite the block formatting context/float inline-size 2016-03-25 18:39:16 -07:00
webrender_helpers.rs gfx: Allow images to be shipped to the WebRender thread without shipping 2016-03-22 14:49:47 -07:00
wrapper.rs Implement ::selection pseudo-element 2016-03-30 14:28:11 +02:00