diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-10-20 16:01:38 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-10-20 16:01:38 -0600 |
commit | 11d23a41b31c2b2846d1e9c6b40e87ba7e2a095f (patch) | |
tree | b4476c6acf563aaf5b980ec9694fc9b1c7d98cf2 /components/script/dom/htmlfontelement.rs | |
parent | c3ab71109ee2ffcc31b40890f4c6739d8f5b1333 (diff) | |
parent | ac5525aeeb3df60a99b503fa75f919c93c50b43b (diff) | |
download | servo-11d23a41b31c2b2846d1e9c6b40e87ba7e2a095f.tar.gz servo-11d23a41b31c2b2846d1e9c6b40e87ba7e2a095f.zip |
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 -->
Diffstat (limited to 'components/script/dom/htmlfontelement.rs')
0 files changed, 0 insertions, 0 deletions