Skip to content

Commit

Permalink
style: Inlinify display:list-item to display:inline for now, until we…
Browse files Browse the repository at this point in the history
… support 'display:inline list-item' properly.

Bug: 1461039
Reviewed-by: xidorn
  • Loading branch information
Mats Palmgren authored and emilio committed May 20, 2018
1 parent 514aba5 commit 34722c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/style/values/specified/box.rs
Expand Up @@ -212,6 +212,8 @@ impl Display {
Display::Table => Display::InlineTable,
Display::Flex => Display::InlineFlex,
Display::Grid => Display::InlineGrid,
// XXX bug 1105868 this should probably be InlineListItem:
Display::ListItem => Display::Inline,
Display::MozBox => Display::MozInlineBox,
Display::MozStack => Display::MozInlineStack,
Display::WebkitBox => Display::WebkitInlineBox,
Expand Down

0 comments on commit 34722c3

Please sign in to comment.