mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:07:46 +00:00
LibWeb: Stop polluting layout tree dumps with TextNode memory addresses
I've never actually used this for anything, and it's pretty noisy.
This commit is contained in:
parent
633006926f
commit
6960a1bb45
1 changed files with 0 additions and 4 deletions
|
@ -151,8 +151,6 @@ void dump_tree(StringBuilder& builder, Layout::Node const& layout_node, bool sho
|
||||||
nonbox_color_on,
|
nonbox_color_on,
|
||||||
identifier,
|
identifier,
|
||||||
color_off);
|
color_off);
|
||||||
if (interactive)
|
|
||||||
builder.appendff(" @{:p}", &layout_node);
|
|
||||||
builder.append("\n"sv);
|
builder.append("\n"sv);
|
||||||
} else {
|
} else {
|
||||||
auto& box = verify_cast<Layout::Box>(layout_node);
|
auto& box = verify_cast<Layout::Box>(layout_node);
|
||||||
|
@ -263,8 +261,6 @@ void dump_tree(StringBuilder& builder, Layout::Node const& layout_node, bool sho
|
||||||
fragment_index,
|
fragment_index,
|
||||||
color_off,
|
color_off,
|
||||||
fragment.layout_node().class_name());
|
fragment.layout_node().class_name());
|
||||||
if (interactive)
|
|
||||||
builder.appendff("@{:p}, ", &fragment.layout_node());
|
|
||||||
builder.appendff("start: {}, length: {}, rect: {}\n",
|
builder.appendff("start: {}, length: {}, rect: {}\n",
|
||||||
fragment.start(),
|
fragment.start(),
|
||||||
fragment.length(),
|
fragment.length(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue