1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +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:
Luke Wilde 2022-06-27 21:20:59 +01:00 committed by Linus Groh
parent 2916b3bebf
commit 1ceba560f4
10 changed files with 68 additions and 1 deletions

View file

@ -12,7 +12,7 @@
namespace Web::DOM {
class Text final : public CharacterData {
class Text : public CharacterData {
public:
using WrapperType = Bindings::TextWrapper;
@ -32,6 +32,9 @@ public:
ExceptionOr<NonnullRefPtr<Text>> split_text(size_t offset);
protected:
Text(Document&, NodeType, String const&);
private:
WeakPtr<HTML::HTMLInputElement> m_owner_input_element;