Make a bool for display: list-item available to flow box construction

This commit is contained in:
Simon Sapin 2020-07-23 16:43:57 +02:00
parent 9261cf6ead
commit 82e274aec9
5 changed files with 63 additions and 25 deletions

View file

@ -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!(