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