Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport multiple layers per stacking context #6142
Closed
Labels
Comments
emilio
added a commit
to emilio/servo
that referenced
this issue
May 19, 2015
Note that this keeps using readback right now, `NativeSurface` painting will be implemented soon. Also see servo#6142
emilio
added a commit
to emilio/servo
that referenced
this issue
May 20, 2015
Note that this keeps using readback right now, `NativeSurface` painting will be implemented soon. Also see servo#6142
emilio
added a commit
to emilio/servo
that referenced
this issue
May 20, 2015
Note that this keeps using readback right now, `NativeSurface` painting will be implemented soon. Also see servo#6142
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should change stacking contexts and layers to be 1:N instead of 1:1/1:0 as they are today in order to match the CSS spec. Possibly the best way to do this would be to add layer IDs to every display item; after flattening and shuffling the items into the proper order, we'd instantiate the layers, creating front and back layers as necessary. For example, if display items have layer IDs 1, 1, 1, 1, 2, 2, 1, 1, 1 we'd create three layers for layer IDs as follows: 1, 2, 1.
This would in effect be a very simple version of Gecko's
FrameLayerBuilder.cc @rocallahan