diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-29 19:26:49 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-29 19:26:49 -0600 |
commit | a0cb657fe80859dd8862361631268479d1045432 (patch) | |
tree | dd83925f5a47504e9693691ed8edd885319fcd1c /python/servo/testing_commands.py | |
parent | 2049357d1453a43bb8ee31a4ba70d2610b93ff20 (diff) | |
parent | c72d0c2ed04f6c5f9fa22a3f576e1df5878f941d (diff) | |
download | servo-a0cb657fe80859dd8862361631268479d1045432.tar.gz servo-a0cb657fe80859dd8862361631268479d1045432.zip |
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 -->
Diffstat (limited to 'python/servo/testing_commands.py')
0 files changed, 0 insertions, 0 deletions