mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:17:35 +00:00
LibWeb: Parse display: inline-flex
This was already handled in the CSS machinery, we just never parsed it.
This commit is contained in:
parent
48c6cf92e3
commit
6df0b8e889
3 changed files with 4 additions and 0 deletions
|
@ -631,6 +631,8 @@ CSS::Display StyleProperties::display() const
|
|||
return CSS::Display { CSS::Display::Internal::TableFooterGroup };
|
||||
case CSS::ValueID::Flex:
|
||||
return CSS::Display::from_short(CSS::Display::Short::Flex);
|
||||
case CSS::ValueID::InlineFlex:
|
||||
return CSS::Display::from_short(CSS::Display::Short::InlineFlex);
|
||||
default:
|
||||
return CSS::Display::from_short(CSS::Display::Short::Block);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue