servo/components/layout
bors-servo dcaf66397a Auto merge of #7313 - pcwalton:position-relative-percentage-overflow, r=mbrubeck
layout: Make overflow calculation take relative percentages into account.

This necessitated changing overflow to be calculated by the parent flow
if relatively positioned children are present. That is because the
overflow regions cannot be calculated without knowing relative offsets,
which themselves cannot be calculated without knowing the parent size
(because of percentages). To accomplish this without sacrificing
parallelism in the non-relative case, this patch splits overflow into
"early" and "late" computation. Late overflow computation cannot be
parallelized across children, while early overflow computation can.

Makes the "Apple Music" text show up over the full-bleed promotional
background on apple.com.

r? @SimonSapin -- would appreciate a look over the iframe test case that was changed.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7313)
<!-- Reviewable:end -->
2015-09-01 12:33:07 -06:00
..
css sort all uses 2015-08-20 20:47:12 +08:00
animation.rs Replace uses of for foo in bar.iter(), 2015-08-18 01:46:11 +01:00
block.rs Auto merge of #7313 - pcwalton:position-relative-percentage-overflow, r=mbrubeck 2015-09-01 12:33:07 -06:00
Cargo.toml servo: Update ipc-channel to pick up bincode support. 2015-08-08 09:43:53 -07:00
construct.rs layout: Fix merge fallout. 2015-08-21 16:08:13 -07:00
context.rs sort all uses 2015-08-20 20:47:12 +08:00
data.rs make test-tidy check that = have space after them 2015-09-01 07:18:19 -04:00
display_list_builder.rs layout: Make overflow calculation take relative percentages into 2015-08-31 16:50:56 -07:00
flex.rs implemented a pass-through mark_as_root for FlexFlow 2015-08-31 12:56:29 +05:30
floats.rs sort all uses 2015-08-20 20:47:12 +08:00
flow.rs layout: Make overflow calculation take relative percentages into 2015-08-31 16:50:56 -07:00
flow_list.rs Don’t mark flow_ref::deref_mut as unsafe. 2015-08-21 21:16:25 +02:00
flow_ref.rs Don’t mark flow_ref::deref_mut as unsafe. 2015-08-21 21:16:25 +02:00
fragment.rs Auto merge of #7313 - pcwalton:position-relative-percentage-overflow, r=mbrubeck 2015-09-01 12:33:07 -06:00
generated_content.rs layout: Don't crash if quotes: none is specified and generated content 2015-08-24 17:00:23 -07:00
incremental.rs make test-tidy check that = have space after them 2015-09-01 07:18:19 -04:00
inline.rs Auto merge of #7313 - pcwalton:position-relative-percentage-overflow, r=mbrubeck 2015-09-01 12:33:07 -06:00
layout_debug.rs sort all uses 2015-08-20 20:47:12 +08:00
layout_task.rs Don’t mark flow_ref::deref_mut as unsafe. 2015-08-21 21:16:25 +02:00
lib.rs Create FlexFlow's for 'display: flex' nodes. 2015-08-21 15:59:18 -07:00
list_item.rs layout: Make overflow calculation take relative percentages into 2015-08-31 16:50:56 -07:00
model.rs layout: Take inline margins into account when determining the intrinsic 2015-08-05 12:29:16 -07:00
multicol.rs sort all uses 2015-08-20 20:47:12 +08:00
opaque_node.rs Replace OpaqueNodeMethods::from_{threadsafe_,}layout_node by opaque methods. 2015-06-24 14:55:43 +02:00
parallel.rs Don’t mark flow_ref::deref_mut as unsafe. 2015-08-21 21:16:25 +02:00
query.rs sort all uses 2015-08-20 20:47:12 +08:00
sequential.rs Don’t mark flow_ref::deref_mut as unsafe. 2015-08-21 21:16:25 +02:00
table.rs layout: Fix tidy failures. 2015-09-01 08:37:41 -07:00
table_caption.rs sort all uses 2015-08-20 20:47:12 +08:00
table_cell.rs sort all uses 2015-08-20 20:47:12 +08:00
table_colgroup.rs sort all uses 2015-08-20 20:47:12 +08:00
table_row.rs layout: Make overflow calculation take relative percentages into 2015-08-31 16:50:56 -07:00
table_rowgroup.rs flow::Flow should follow *_mut naming conventions 2015-08-18 09:12:01 -04:00
table_wrapper.rs Inline constraint resolver for absolutely positioned tables. 2015-08-31 16:45:17 -07:00
text.rs Correctly handle length-changing mappings in text-transform 2015-08-19 12:05:31 +02:00
traversal.rs layout: Fix tidy failures. 2015-09-01 08:37:41 -07:00
wrapper.rs Auto merge of #7334 - servo:active, r=SimonSapin 2015-08-24 04:23:13 -06:00