servo/components/layout
bors-servo 27542e4165 Auto merge of #12371 - stshine:flex-block-flow, r=notriddle
Treat flex flow as block in float calculation

<!-- Please describe your changes on the following line: -->
This is on of my pull requests that implement basic flexible box layout.
Currently call `is_block_like()` on flex flow returns false. This would fix some errors in tests, for example 'flexbox-justify-content-horiz-001b.htm'.

---
<!-- 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 flexbox is not implemented yet.

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

<!-- 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/12371)
<!-- Reviewable:end -->
2016-07-11 09:31:03 -07:00
..
animation.rs style: Fix parsing and add generated keyframes 2016-06-28 15:20:59 +00:00
block.rs Move util::print_tree to gfx_traits 2016-07-04 15:47:06 +02:00
Cargo.toml Upgrade rust-selectors. 2016-07-05 18:03:40 -07:00
construct.rs Auto merge of #11930 - nox:die-util-die, r=SimonSapin 2016-06-29 15:37:42 -05:00
context.rs style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext. 2016-07-01 13:48:06 -07:00
data.rs Introduce a script_layout_interface crate and move RestyleDamage to it. 2016-06-20 19:02:36 +02:00
display_list_builder.rs Make text decorations have the same color as the text if no shadows are present 2016-07-05 14:56:50 +08:00
flex.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
floats.rs layout: Take margins in the inline direction into account when 2016-05-10 17:11:28 -07:00
flow.rs Treat flex flow as block in float calculation 2016-07-10 16:34:12 +08:00
flow_list.rs Added DoubleEndedIterator for MutFlowListIterator 2016-06-17 14:57:41 +01:00
flow_ref.rs Correct the signature of flow_ref::deref_mut. 2016-06-06 15:14:23 +02:00
fragment.rs Move arc_ptr_eq to style. 2016-07-11 12:13:12 +02:00
generated_content.rs Move LayoutNode and related traits to script_layout_interface. 2016-06-20 19:07:54 +02:00
incremental.rs Introduce a script_layout_interface crate and move RestyleDamage to it. 2016-06-20 19:02:36 +02:00
inline.rs Move arc_ptr_eq to style. 2016-07-11 12:13:12 +02:00
layout_debug.rs Fragment debug_id u16 only exists in debug, prod will format mem address 2016-06-04 19:19:42 +02:00
lib.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
model.rs Add support for vertical alignment within table cells. 2016-04-20 14:40:02 -07:00
multicol.rs Move util::print_tree to gfx_traits 2016-07-04 15:47:06 +02:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Move util::workqueue to style 2016-07-04 21:56:09 +02:00
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs Avoid the Vec reversal in DisplayList::hit_test. 2016-06-29 09:46:45 +02:00
sequential.rs Store SharedStyleContext in AssignISizes. 2016-06-22 15:02:06 +02:00
table.rs Move util::print_tree to gfx_traits 2016-07-04 15:47:06 +02:00
table_caption.rs Move util::print_tree to gfx_traits 2016-07-04 15:47:06 +02:00
table_cell.rs Correct negative margins in centered table cells 2016-07-06 10:02:33 -07:00
table_colgroup.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
table_row.rs Move util::print_tree to gfx_traits 2016-07-04 15:47:06 +02:00
table_rowgroup.rs Move util::print_tree to gfx_traits 2016-07-04 15:47:06 +02:00
table_wrapper.rs Move util::print_tree to gfx_traits 2016-07-04 15:47:06 +02:00
text.rs layout: text: Don't consider the REQUIRES_LINE_BREAK_AFTERWARD_IF_WRAPPING_ON_NEWLINES if the fragment can wrap text. 2016-07-10 15:34:57 -07:00
traversal.rs Upgrade rust-selectors. 2016-07-05 18:03:40 -07:00
webrender_helpers.rs script: Keep the DOM-side viewport up to date when scrolling happens in 2016-05-31 14:12:51 -07:00
wrapper.rs Use our copy of RefCell for style data. 2016-06-23 16:13:49 +02:00