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
Notes:
sideshowbarker
2024-07-17 19:38:30 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/6df0b8e889f Pull-request: https://github.com/SerenityOS/serenity/pull/12349
3 changed files with 4 additions and 0 deletions
|
@ -116,6 +116,7 @@
|
|||
"hidden",
|
||||
"inline",
|
||||
"inline-block",
|
||||
"inline-flex",
|
||||
"inline-table",
|
||||
"inset",
|
||||
"inside",
|
||||
|
|
|
@ -571,6 +571,7 @@
|
|||
"flex",
|
||||
"inline",
|
||||
"inline-block",
|
||||
"inline-flex",
|
||||
"inline-table",
|
||||
"list-item",
|
||||
"none",
|
||||
|
|
|
@ -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
Reference in a new issue