mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Layerize StackingContexts that are on top of layers
StackingContexts that should be painted on top of StackingContexts that are already layerized should automatically get their own layer. This will ensure proper painting order.
This commit is contained in:
parent
c442132196
commit
184238c348
8 changed files with 171 additions and 14 deletions
|
@ -2058,7 +2058,7 @@ impl Flow for BlockFlow {
|
|||
// FIXME(#2010, pcwalton): This is a hack and is totally bogus in the presence of pseudo-
|
||||
// elements. But until we have incremental reflow we can't do better--we recreate the flow
|
||||
// for every DOM node so otherwise we nuke layers on every reflow.
|
||||
LayerId(self.fragment.node.id() as usize, fragment_index)
|
||||
LayerId(self.fragment.node.id() as usize, fragment_index, 0)
|
||||
}
|
||||
|
||||
fn is_absolute_containing_block(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue