mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Implement document.createCDATASection()
This commit is contained in:
parent
ee6b0e144a
commit
02c2b1e67e
Notes:
sideshowbarker
2024-07-17 02:42:21 +09:00
Author: https://github.com/tcl3
Commit: 02c2b1e67e
Pull-request: https://github.com/SerenityOS/serenity/pull/23243
Reviewed-by: https://github.com/gmta ✅
6 changed files with 45 additions and 1 deletions
|
@ -242,6 +242,7 @@ public:
|
|||
WebIDL::ExceptionOr<JS::NonnullGCPtr<Element>> create_element_ns(Optional<FlyString> const& namespace_, String const& qualified_name, Variant<String, ElementCreationOptions> const& options);
|
||||
JS::NonnullGCPtr<DocumentFragment> create_document_fragment();
|
||||
JS::NonnullGCPtr<Text> create_text_node(String const& data);
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<CDATASection>> create_cdata_section(String const& data);
|
||||
JS::NonnullGCPtr<Comment> create_comment(String const& data);
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<ProcessingInstruction>> create_processing_instruction(String const& target, String const& data);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue