mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
parent
15d8c6058b
commit
3258bcaa8b
3 changed files with 9 additions and 6 deletions
|
@ -186,7 +186,7 @@ impl DisplayItem {
|
|||
);
|
||||
IsContentful(false)
|
||||
},
|
||||
DisplayItem::PushStackingContext(ref mut item) => {
|
||||
DisplayItem::PushStackingContext(ref item) => {
|
||||
let stacking_context = &item.stacking_context;
|
||||
debug_assert_eq!(stacking_context.context_type, StackingContextType::Real);
|
||||
|
||||
|
@ -252,8 +252,11 @@ impl DisplayItem {
|
|||
builder.push_item(&WrDisplayItem::PushStackingContext(wr_item));
|
||||
IsContentful(false)
|
||||
},
|
||||
DisplayItem::PopStackingContext(_) => {
|
||||
DisplayItem::PopStackingContext(ref item) => {
|
||||
builder.pop_stacking_context();
|
||||
if item.established_reference_frame {
|
||||
builder.pop_reference_frame();
|
||||
}
|
||||
IsContentful(false)
|
||||
},
|
||||
DisplayItem::DefineClipScrollNode(ref mut item) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue