mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:55:08 +00:00
LibWeb: Use Layout::Node::display() everywhere
This commit is contained in:
parent
49eb324535
commit
13834cfdff
6 changed files with 24 additions and 33 deletions
|
@ -182,7 +182,7 @@ void dump_tree(StringBuilder& builder, Layout::Node const& layout_node, bool sho
|
|||
builder.appendff(" {}floating{}", floating_color_on, color_off);
|
||||
if (box.is_inline_block())
|
||||
builder.appendff(" {}inline-block{}", inline_block_color_on, color_off);
|
||||
if (box.computed_values().display().is_flex_inside()) {
|
||||
if (box.display().is_flex_inside()) {
|
||||
StringView direction;
|
||||
switch (box.computed_values().flex_direction()) {
|
||||
case CSS::FlexDirection::Column:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue