Coverage Report

Created: 2026-09-14 07:15

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/serenity/Userland/Libraries/LibWeb/DOM/CDATASection.h
Line
Count
Source
1
/*
2
 * Copyright (c) 2022, Luke Wilde <lukew@serenityos.org>
3
 *
4
 * SPDX-License-Identifier: BSD-2-Clause
5
 */
6
7
#pragma once
8
9
#include <AK/RefCounted.h>
10
#include <LibWeb/DOM/Text.h>
11
12
namespace Web::DOM {
13
14
class CDATASection final : public Text {
15
    WEB_PLATFORM_OBJECT(CDATASection, Text);
16
    JS_DECLARE_ALLOCATOR(CDATASection);
17
18
public:
19
    virtual ~CDATASection() override;
20
21
    // ^Node
22
0
    virtual FlyString node_name() const override { return "#cdata-section"_fly_string; }
23
24
private:
25
    CDATASection(Document&, String const&);
26
27
    virtual void initialize(JS::Realm&) override;
28
};
29
30
template<>
31
0
inline bool Node::fast_is<CDATASection>() const { return is_cdata_section(); }
32
33
}