servo/components/layout
bors-servo a0cb657fe8 Auto merge of #7423 - pcwalton:iframe-stacking-context-position, r=glennw
layout: Make the compositor rather than layout determine the position of each iframe.

The old code that attempted to do this during layout wasn't able to work
for multiple reasons: it couldn't know where the iframe was going to be
on the page (because of nested iframes), and at the time it was building
the display list for a fragment it couldn't know where that fragment was
going to be in page coordinates.

This patch rewrites that code so that only the size of an iframe is
determined during layout, and the position is determined by the
compositor. Layout layerizes iframes and marks the iframe layers with
the appropriate subpage ID so that the compositor can place them
correctly.

Closes #7377.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7423)
<!-- Reviewable:end -->
2015-09-29 19:26:49 -06:00
..
css sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
animation.rs layout: Do a couple of minor style cleanups. 2015-09-27 15:38:22 -07:00
block.rs layout: Make the compositor rather than layout determine the position of 2015-09-29 09:47:28 -07:00
Cargo.toml Break text runs by unicode script 2015-09-29 14:34:49 -07:00
construct.rs layout: Make the compositor rather than layout determine the position of 2015-09-29 09:47:28 -07:00
context.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
data.rs layout: Make the compositor rather than layout determine the position of 2015-09-29 09:47:28 -07:00
display_list_builder.rs layout: Make the compositor rather than layout determine the position of 2015-09-29 09:47:28 -07:00
flex.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
floats.rs sort all uses 2015-08-20 20:47:12 +08:00
flow.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
flow_list.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
flow_ref.rs Don’t mark flow_ref::deref_mut as unsafe. 2015-08-21 21:16:25 +02:00
fragment.rs layout: Make the compositor rather than layout determine the position of 2015-09-29 09:47:28 -07:00
generated_content.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
incremental.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
inline.rs layout: Make the compositor rather than layout determine the position of 2015-09-29 09:47:28 -07:00
layout_debug.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
layout_task.rs layout: Make the compositor rather than layout determine the position of 2015-09-29 09:47:28 -07:00
lib.rs Break text runs by unicode script 2015-09-29 14:34:49 -07:00
list_item.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
model.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
multicol.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
opaque_node.rs Replace OpaqueNodeMethods::from_{threadsafe_,}layout_node by opaque methods. 2015-06-24 14:55:43 +02:00
parallel.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
query.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
sequential.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
table.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
table_caption.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
table_cell.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
table_colgroup.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
table_row.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
table_rowgroup.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
table_wrapper.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
text.rs Fix text-transform:capitalize across text runs 2015-09-29 14:34:50 -07:00
traversal.rs Delete dead code. 2015-09-26 00:23:03 -07:00
wrapper.rs Only display text carets in text inputs 2015-09-27 19:23:20 -04:00