mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -520,9 +520,7 @@ fn is_valid_inside_for_list_item<'i>(inside: &Result<DisplayInside, ParseError<'
|
|||
|
||||
/// Parse `list-item`.
|
||||
fn parse_list_item<'i, 't>(input: &mut Parser<'i, 't>) -> Result<(), ParseError<'i>> {
|
||||
Ok(try_match_ident_ignore_ascii_case! { input,
|
||||
"list-item" => (),
|
||||
})
|
||||
Ok(input.expect_ident_matching("list-item")?)
|
||||
}
|
||||
|
||||
impl Parse for Display {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue