2020: parse display: contents

This commit is contained in:
Simon Sapin 2019-10-23 17:28:03 +02:00
parent 13e494d74f
commit 8f89f59329

View file

@ -619,7 +619,7 @@ impl Parse for Display {
// Now parse the single-keyword `display` values.
Ok(try_match_ident_ignore_ascii_case! { input,
"none" => Display::None,
#[cfg(feature = "gecko")]
#[cfg(any(feature = "servo-layout-2020", feature = "gecko"))]
"contents" => Display::Contents,
"inline-block" => Display::InlineBlock,
#[cfg(any(feature = "servo-layout-2013", feature = "gecko"))]