1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:27:44 +00:00

LibWeb: Port CSS::Display to new Strings

This commit is contained in:
Sam Atkins 2023-02-15 11:36:09 +00:00 committed by Tim Flynn
parent 41c4cc95e4
commit dca19b764b
4 changed files with 31 additions and 31 deletions

View file

@ -318,7 +318,7 @@ JS::GCPtr<Layout::Node> Element::create_layout_node_for_display_type(DOM::Docume
return document.heap().allocate_without_realm<Layout::InlineNode>(document, element, move(style));
if (display.is_flex_inside())
return document.heap().allocate_without_realm<Layout::Box>(document, element, move(style));
dbgln_if(LIBWEB_CSS_DEBUG, "FIXME: Support display: {}", display.to_deprecated_string());
dbgln_if(LIBWEB_CSS_DEBUG, "FIXME: Support display: {}", MUST(display.to_string()));
return document.heap().allocate_without_realm<Layout::InlineNode>(document, element, move(style));
}