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:
parent
2916b3bebf
commit
1ceba560f4
10 changed files with 68 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue