diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-04 17:31:54 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-04 17:31:54 -0600 |
commit | 8e0b010117889550effa3ad793e7ee8f9b692b40 (patch) | |
tree | 1bfd517bd2d57b6cdf07f38fc1c8289383d1f6e4 /components/script/script_task.rs | |
parent | 7df4ff7572bf131aca3643d078dfe7823b3fc347 (diff) | |
parent | 4ca93c39d6f1458c740c000ee4b814d91891bda4 (diff) | |
download | servo-8e0b010117889550effa3ad793e7ee8f9b692b40.tar.gz servo-8e0b010117889550effa3ad793e7ee8f9b692b40.zip |
Auto merge of #7487 - mrobinson:paint-layer-upgrade, r=pcwalton
Have PaintLayers own StackingContexts instead of the opposite
Previously, StackingContexts might have a PaintLayer. We switch the
ownership, for several reasons:
* We want PaintLayers to potentially contain something other
than a StackingContext soon.
* We want to delay the creation of PaintLayers until the last
minute, so that we can synthesize new layers for sandwiched
content.
This commit also implements the second goal. Instead of creating
PaintLayers during layout itself, wait until we are sorting and
layerizing a completed DisplayList.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7487)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/script_task.rs')
0 files changed, 0 insertions, 0 deletions