mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 06:40:05 +00:00
LibWeb: Use Layout::Node::display() everywhere
This commit is contained in:
parent
49eb324535
commit
13834cfdff
Notes:
sideshowbarker
2024-07-17 07:16:27 +09:00
Author: https://github.com/awesomekling
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