mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 20:45:08 +00:00
LibWeb: Rename LayoutNode::node() => LayoutNode::dom_node()
This commit is contained in:
parent
85859544fa
commit
f358f2255f
30 changed files with 92 additions and 92 deletions
|
@ -133,10 +133,10 @@ GUI::Variant LayoutTreeModel::data(const GUI::ModelIndex& index, GUI::ModelRole
|
|||
builder.append(' ');
|
||||
if (node.is_anonymous()) {
|
||||
builder.append("[anonymous]");
|
||||
} else if (!node.node()->is_element()) {
|
||||
builder.append(node.node()->node_name());
|
||||
} else if (!node.dom_node()->is_element()) {
|
||||
builder.append(node.dom_node()->node_name());
|
||||
} else {
|
||||
auto& element = downcast<DOM::Element>(*node.node());
|
||||
auto& element = downcast<DOM::Element>(*node.dom_node());
|
||||
builder.append('<');
|
||||
builder.append(element.local_name());
|
||||
element.for_each_attribute([&](auto& name, auto& value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue