mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibWeb: Add CDATASection
Not used for anything currently other than exposing it on the Window object. This allows Web Components Polyfills to patch its prototype.
This commit is contained in:
parent
2916b3bebf
commit
1ceba560f4
Notes:
sideshowbarker
2024-07-17 09:56:12 +09:00
Author: https://github.com/Lubrsi
Commit: 1ceba560f4
Pull-request: https://github.com/SerenityOS/serenity/pull/14407
10 changed files with 68 additions and 1 deletions
|
@ -72,6 +72,7 @@ public:
|
|||
bool is_parent_node() const { return is_element() || is_document() || is_document_fragment(); }
|
||||
bool is_slottable() const { return is_element() || is_text(); }
|
||||
bool is_attribute() const { return type() == NodeType::ATTRIBUTE_NODE; }
|
||||
bool is_cdata_section() const { return type() == NodeType::CDATA_SECTION_NODE; }
|
||||
virtual bool is_shadow_root() const { return false; }
|
||||
|
||||
virtual bool requires_svg_container() const { return false; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue