servo/components/layout
bors-servo b374582e23 Auto merge of #12593 - adamncasey:table-row-cell-height, r=pcwalton
Fix table vertical alignment (middle, bottom)

<!-- Please describe your changes on the following line: -->
Fixes table cell vertical alignment (middle, bottom, not yet baseline) when the row contains cells of differing heights.

Moved the work done earlier by @notriddle into a separate public function on TableCellFlow. This function is then called by TableRowFlow once the cell's block size has been calculator.

---

<!-- 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
- [X] These changes fix #12531 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes

<!-- 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/12593)
<!-- Reviewable:end -->
2016-07-26 20:17:02 -05:00
..
animation.rs style: Add a new Timer structure to the shared style context, and basic infrastructure for controlling animations. 2016-07-20 09:05:53 -07:00
block.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
Cargo.toml Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
construct.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
context.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
data.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
display_list_builder.rs Auto merge of #12388 - kilobtye:textarea2, r=pcwalton 2016-07-26 08:31:49 -05:00
flex.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
floats.rs layout: Take margins in the inline direction into account when 2016-05-10 17:11:28 -07:00
flow.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02: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 Auto merge of #12388 - kilobtye:textarea2, r=pcwalton 2016-07-26 08:31:49 -05:00
generated_content.rs Remove the ComputedValue traits and style_struct_traits 2016-07-20 08:42:40 +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 Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +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 style: Add a new Timer structure to the shared style context, and basic infrastructure for controlling animations. 2016-07-20 09:05:53 -07:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
model.rs Remove the ComputedValue traits and style_struct_traits 2016-07-20 08:42:40 +02:00
multicol.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +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 Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
sequential.rs Store SharedStyleContext in AssignISizes. 2016-06-22 15:02:06 +02:00
table.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
table_caption.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
table_cell.rs Fix table vertical alignment (middle, bottom, not yet baseline) with differing height cells 2016-07-26 13:05:10 +01:00
table_colgroup.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
table_row.rs Fix table vertical alignment (middle, bottom, not yet baseline) with differing height cells 2016-07-26 13:05:10 +01:00
table_rowgroup.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
table_wrapper.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
text.rs Remove the ComputedValue traits and style_struct_traits 2016-07-20 08:42:40 +02:00
traversal.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02: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 Remove the ComputedValue traits and style_struct_traits 2016-07-20 08:42:40 +02:00