servo/components/gfx
bors-servo 11d23a41b3 Auto merge of #7950 - mrobinson:layerize-iframes, r=pcwalton
Integrate iframes into the display list

Instead of always promoting iframes to StackingContexts, integrate them
into the display list. This prevents stacking bugs when
non-stacking-context elements should be drawn on top of iframes.

To accomplish this, we add another step to ordering layer creation,
where LayeredItems in the DisplayList are added to layers described by
the LayerInfo structures collected at the end of the DisplayList.
Unlayered items that follow these layered items are added to
synthesized layers.

Another result of this change is that iframe layers can be positioned
directly at the location of the iframe fragment, eliminating the need
for the SubpageLayerInfo struct entirely.

Iframes are the first type of content treated this way, but this change
opens up the possibility to properly order canvas and all other layered
content that does not create a stacking context.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7950)
<!-- Reviewable:end -->
2015-10-20 16:01:38 -06:00
..
display_list Integrate iframes into the display list 2015-10-20 07:29:06 -07:00
platform Fix issues found by rust-clippy 2015-10-12 20:21:49 -04:00
text Add support for pre-wrap and pre-line values for white-space. 2015-10-20 10:44:51 -07:00
Cargo.toml Update servo to use published app units crate 2015-10-01 11:45:35 +10:00
filters.rs Split Au type into separate crate, with minimal dependencies. 2015-10-01 07:16:11 +10:00
font.rs Split Au type into separate crate, with minimal dependencies. 2015-10-01 07:16:11 +10:00
font_cache_task.rs layout: Load Web fonts asynchronously. 2015-09-27 15:38:20 -07:00
font_context.rs Derive PartialEq on the style Font structure 2015-10-08 00:32:58 +02:00
font_template.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
lib.rs Split Au type into separate crate, with minimal dependencies. 2015-10-01 07:16:11 +10:00
paint_context.rs Handle zero-sized source surfaces properly, and upgrade ipc-channel to 2015-09-30 23:09:36 -07:00
paint_task.rs Integrate iframes into the display list 2015-10-20 07:29:06 -07:00