summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/NodeOperations.h
blob: 251a320104f6c1abd4f042a9e0c0725f9e97c2de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (c) 2022, Luke Wilde <lukew@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/NonnullRefPtr.h>
#include <LibWeb/Forward.h>

namespace Web::DOM {

ExceptionOr<NonnullRefPtr<Node>> convert_nodes_to_single_node(Vector<Variant<NonnullRefPtr<Node>, String>> const& nodes, DOM::Document& document);

}