mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Create HoistedSharedFragment
This commit is contained in:
parent
96c0c50874
commit
d476a10773
3 changed files with 23 additions and 8 deletions
|
@ -916,7 +916,7 @@ impl AbsoluteOrFixedPositionedFragment {
|
|||
stacking_context: &mut StackingContext,
|
||||
) {
|
||||
let hoisted_fragment = self.hoisted_fragment.borrow();
|
||||
let fragment_ref = match hoisted_fragment.as_ref() {
|
||||
let fragment_ref = match hoisted_fragment.fragment.as_ref() {
|
||||
Some(fragment_ref) => fragment_ref,
|
||||
None => unreachable!("Found hoisted box with missing fragment."),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue