-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #7891 - mrobinson:display-list-paint-layer, r=pcwalton
Properly size synthesized layers Layers that are composed of several stacking contexts that need to be rendered on top of other layered content need synthesized layers. Previously, these layers were placed into a stacking context that was the same size as their parent. This patch creates a new type of PaintLayer which simply holds a display list. The layer is sized to the bounds of the DisplayList and its children are positioned relative to the parent stacking context. This will also be useful in the future, when items outside of StackingContexts are given their own layer for render order purposes. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7891) <!-- Reviewable:end -->
- Loading branch information
Showing
2 changed files
with
226 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.