mirror of
https://github.com/servo/servo.git
synced 2025-07-30 10:40:27 +01:00
layout: Eliminate extra stored style on outside markers (#36471)
This is a duplicate of the style stored on the marker's `LayoutBoxBase`. Testing: This is covered by existings WPT tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
601517e3aa
commit
0c8bb8287a
2 changed files with 3 additions and 5 deletions
|
@ -705,7 +705,6 @@ where
|
|||
false, /* is_list_item */
|
||||
);
|
||||
ArcRefCell::new(BlockLevelBox::OutsideMarker(OutsideMarker {
|
||||
marker_style: info.style.clone(),
|
||||
base: LayoutBoxBase::new(info.into(), info.style.clone()),
|
||||
block_container,
|
||||
list_item_style,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue