mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01: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
|
@ -71,13 +71,15 @@ impl IndependentFormattingContext {
|
|||
match contents.try_into() {
|
||||
Ok(non_replaced) => {
|
||||
let contents = match display_inside {
|
||||
DisplayInside::Flow | DisplayInside::FlowRoot => {
|
||||
DisplayInside::Flow { is_list_item } |
|
||||
DisplayInside::FlowRoot { is_list_item } => {
|
||||
NonReplacedFormattingContextContents::Flow(
|
||||
BlockFormattingContext::construct(
|
||||
context,
|
||||
info,
|
||||
non_replaced,
|
||||
propagated_text_decoration_line,
|
||||
is_list_item,
|
||||
),
|
||||
)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue