2022-06-27 21:20:59 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2022, Luke Wilde <lukew@serenityos.org>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
2022-09-30 17:16:16 -06:00
|
|
|
#include <LibWeb/Bindings/Intrinsics.h>
|
2022-06-27 21:20:59 +01:00
|
|
|
#include <LibWeb/DOM/CDATASection.h>
|
|
|
|
|
|
|
|
namespace Web::DOM {
|
|
|
|
|
2022-12-04 18:02:33 +00:00
|
|
|
CDATASection::CDATASection(Document& document, DeprecatedString const& data)
|
2022-06-27 21:20:59 +01:00
|
|
|
: Text(document, NodeType::CDATA_SECTION_NODE, data)
|
|
|
|
{
|
2022-09-25 16:15:49 -06:00
|
|
|
set_prototype(&Bindings::cached_web_prototype(realm(), "CDATASection"));
|
2022-06-27 21:20:59 +01:00
|
|
|
}
|
|
|
|
|
2022-08-28 13:42:07 +02:00
|
|
|
CDATASection::~CDATASection() = default;
|
2022-06-27 21:20:59 +01:00
|
|
|
|
|
|
|
}
|