mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
LibWeb: Fall back to LayoutInline for any unrecognized CSS display
Let's at least try to keep going and see what we can render.
This commit is contained in:
parent
d677d23da1
commit
493cbb7956
Notes:
sideshowbarker
2024-07-19 06:57:15 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/493cbb79560
@ -133,7 +133,8 @@ RefPtr<LayoutNode> Element::create_layout_node(const StyleProperties* parent_sty
|
||||
if (display == "inline-block")
|
||||
return adopt(*new LayoutBlock(this, move(style)));
|
||||
|
||||
ASSERT_NOT_REACHED();
|
||||
dbg() << "Unknown display type: _" << display << "_";
|
||||
return adopt(*new LayoutInline(*this, move(style)));
|
||||
}
|
||||
|
||||
void Element::parse_attribute(const FlyString&, const String&)
|
||||
|
Loading…
Reference in New Issue
Block a user