mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Make a bool for display: list-item
available to flow box construction
This commit is contained in:
parent
9261cf6ead
commit
82e274aec9
5 changed files with 63 additions and 25 deletions
|
@ -219,7 +219,9 @@ fn traverse_pseudo_element_contents<'dom, Node>(
|
|||
});
|
||||
let display_inline = DisplayGeneratingBox::OutsideInside {
|
||||
outside: DisplayOutside::Inline,
|
||||
inside: DisplayInside::Flow,
|
||||
inside: DisplayInside::Flow {
|
||||
is_list_item: false,
|
||||
},
|
||||
};
|
||||
// `display` is not inherited, so we get the initial value
|
||||
debug_assert!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue