mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 01:26:22 +00:00
LibWeb: Parse "display: flex" and create BlockBox layout nodes for them
I'm not 100% sure that BlockBox is the right layout node for flex containers, but it's the most obviously fitting one we already have.
This commit is contained in:
parent
6715ca3e16
commit
140463e833
Notes:
sideshowbarker
2024-07-18 23:07:15 +09:00
Author: https://github.com/awesomekling
Commit: 140463e833
5 changed files with 10 additions and 0 deletions
|
@ -410,6 +410,8 @@ CSS::Display StyleProperties::display() const
|
|||
return CSS::Display::TableHeaderGroup;
|
||||
case CSS::ValueID::TableFooterGroup:
|
||||
return CSS::Display::TableFooterGroup;
|
||||
case CSS::ValueID::Flex:
|
||||
return CSS::Display::Flex;
|
||||
default:
|
||||
return CSS::Display::Block;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue