mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
New reference frames should create containing blocks
Transforms should always create containing blocks. This bug already existed in Servo, but was covered up by the reference frame id replacement feature in WebRender. Now that we create reference frames manually we need to fix it.
This commit is contained in:
parent
d41c512e98
commit
253117ece6
3 changed files with 16 additions and 6 deletions
|
@ -464,7 +464,7 @@ impl Flow for TableWrapperFlow {
|
|||
fn collect_stacking_contexts(&mut self, state: &mut StackingContextCollectionState) {
|
||||
self.block_flow.collect_stacking_contexts_for_block(
|
||||
state,
|
||||
StackingContextCollectionFlags::NEVER_CREATES_CONTAINING_BLOCK |
|
||||
StackingContextCollectionFlags::POSITION_NEVER_CREATES_CONTAINING_BLOCK |
|
||||
StackingContextCollectionFlags::NEVER_CREATES_CLIP_SCROLL_NODE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue