mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:17:35 +00:00
LibWeb: Fall back to block layout for unimplemented CSS display values
This seems to have a higher chance of generating somewhat recognizable content compared to inline layout. This problem will gradually go away as we implement more display values.
This commit is contained in:
parent
3d09bac888
commit
0e777c0ac6
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ RefPtr<LayoutNode> Element::create_layout_node(const StyleProperties* parent_sty
|
|||
}
|
||||
|
||||
dbg() << "Unknown display type: _" << display << "_";
|
||||
return adopt(*new LayoutInline(*this, move(style)));
|
||||
return adopt(*new LayoutBlock(this, move(style)));
|
||||
}
|
||||
|
||||
void Element::parse_attribute(const FlyString& name, const String& value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue