webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
WebCore::CharacterData Class Reference

#include <CharacterData.h>

Inheritance diagram for WebCore::CharacterData:
WebCore::Node WebCore::Node WebCore::EventTarget WebCore::EventTarget WebCore::EventTarget WebCore::EventTarget WebCore::ScriptWrappable WebCore::ScriptWrappable WebCore::ScriptWrappable WebCore::ScriptWrappable WebCore::ScriptWrappable WebCore::ScriptWrappable WebCore::ScriptWrappable WebCore::ScriptWrappable WebCore::Comment WebCore::Comment WebCore::ProcessingInstruction WebCore::ProcessingInstruction WebCore::Text WebCore::Text WebCore::CDATASection WebCore::CDATASection WebCore::CDATASection WebCore::CDATASection

Public Member Functions

const Stringdata () const
 
WEBCORE_EXPORT void setData (const String &)
 
unsigned length () const
 
WEBCORE_EXPORT ExceptionOr< StringsubstringData (unsigned offset, unsigned count)
 
WEBCORE_EXPORT void appendData (const String &)
 
WEBCORE_EXPORT ExceptionOr< voidinsertData (unsigned offset, const String &)
 
WEBCORE_EXPORT ExceptionOr< voiddeleteData (unsigned offset, unsigned count)
 
WEBCORE_EXPORT ExceptionOr< voidreplaceData (unsigned offset, unsigned count, const String &)
 
bool containsOnlyWhitespace () const
 
unsigned parserAppendData (const String &string, unsigned offset, unsigned lengthLimit)
 
const Stringdata () const
 
WEBCORE_EXPORT void setData (const String &)
 
unsigned length () const
 
WEBCORE_EXPORT ExceptionOr< StringsubstringData (unsigned offset, unsigned count)
 
WEBCORE_EXPORT void appendData (const String &)
 
WEBCORE_EXPORT ExceptionOr< voidinsertData (unsigned offset, const String &)
 
WEBCORE_EXPORT ExceptionOr< voiddeleteData (unsigned offset, unsigned count)
 
WEBCORE_EXPORT ExceptionOr< voidreplaceData (unsigned offset, unsigned count, const String &)
 
bool containsOnlyWhitespace () const
 
unsigned parserAppendData (const String &string, unsigned offset, unsigned lengthLimit)
 
- Public Member Functions inherited from WebCore::Node
virtual ~Node ()
 
void willBeDeletedFrom (Document &)
 
bool hasTagName (const HTMLQualifiedName &) const
 
bool hasTagName (const MathMLQualifiedName &) const
 
bool hasTagName (const SVGQualifiedName &) const
 
virtual String nodeName () const =0
 
virtual NodeType nodeType () const =0
 
virtual size_t approximateMemoryCost () const
 
ContainerNodeparentNode () const
 
ElementparentElement () const
 
NodepreviousSibling () const
 
NodenextSibling () const
 
WEBCORE_EXPORT RefPtr< NodeListchildNodes ()
 
NodefirstChild () const
 
NodelastChild () const
 
bool hasAttributes () const
 
NamedNodeMapattributes () const
 
NodepseudoAwareNextSibling () const
 
NodepseudoAwarePreviousSibling () const
 
NodepseudoAwareFirstChild () const
 
NodepseudoAwareLastChild () const
 
WEBCORE_EXPORT const URLbaseURI () const
 
void getSubresourceURLs (ListHashSet< URL > &) const
 
WEBCORE_EXPORT ExceptionOr< voidinsertBefore (Node &newChild, Node *refChild)
 
WEBCORE_EXPORT ExceptionOr< voidreplaceChild (Node &newChild, Node &oldChild)
 
WEBCORE_EXPORT ExceptionOr< voidremoveChild (Node &child)
 
WEBCORE_EXPORT ExceptionOr< voidappendChild (Node &newChild)
 
bool hasChildNodes () const
 
virtual Ref< NodecloneNodeInternal (Document &, CloningOperation)=0
 
Ref< NodecloneNode (bool deep)
 
WEBCORE_EXPORT ExceptionOr< Ref< Node > > cloneNodeForBindings (bool deep)
 
virtual const AtomicStringlocalName () const
 
virtual const AtomicStringnamespaceURI () const
 
virtual const AtomicStringprefix () const
 
virtual ExceptionOr< voidsetPrefix (const AtomicString &)
 
WEBCORE_EXPORT void normalize ()
 
bool isSameNode (Node *other) const
 
WEBCORE_EXPORT bool isEqualNode (Node *) const
 
WEBCORE_EXPORT bool isDefaultNamespace (const AtomicString &namespaceURI) const
 
WEBCORE_EXPORT const AtomicStringlookupPrefix (const AtomicString &namespaceURI) const
 
WEBCORE_EXPORT const AtomicStringlookupNamespaceURI (const AtomicString &prefix) const
 
WEBCORE_EXPORT String textContent (bool convertBRsToNewlines=false) const
 
WEBCORE_EXPORT ExceptionOr< voidsetTextContent (const String &)
 
NodelastDescendant () const
 
NodefirstDescendant () const
 
WEBCORE_EXPORT ElementpreviousElementSibling () const
 
WEBCORE_EXPORT ElementnextElementSibling () const
 
ExceptionOr< voidbefore (Vector< NodeOrString > &&)
 
ExceptionOr< voidafter (Vector< NodeOrString > &&)
 
ExceptionOr< voidreplaceWith (Vector< NodeOrString > &&)
 
WEBCORE_EXPORT ExceptionOr< voidremove ()
 
bool isElementNode () const
 
bool isContainerNode () const
 
bool isTextNode () const
 
bool isHTMLElement () const
 
bool isSVGElement () const
 
bool isMathMLElement () const
 
bool isPseudoElement () const
 
bool isBeforePseudoElement () const
 
bool isAfterPseudoElement () const
 
PseudoId pseudoId () const
 
virtual bool isMediaControlElement () const
 
virtual bool isMediaControls () const
 
bool isStyledElement () const
 
virtual bool isAttributeNode () const
 
virtual bool isFrameOwnerElement () const
 
virtual bool isPluginElement () const
 
bool isDocumentNode () const
 
bool isTreeScope () const
 
bool isDocumentFragment () const
 
bool isShadowRoot () const
 
bool hasCustomStyleResolveCallbacks () const
 
bool hasSyntheticAttrChildNodes () const
 
void setHasSyntheticAttrChildNodes (bool flag)
 
WEBCORE_EXPORT ElementshadowHost () const
 
WEBCORE_EXPORT NodedeprecatedShadowAncestorNode () const
 
ShadowRootcontainingShadowRoot () const
 
ShadowRootshadowRoot () const
 
bool isClosedShadowHidden (const Node &) const
 
HTMLSlotElementassignedSlot () const
 
HTMLSlotElementassignedSlotForBindings () const
 
bool isUndefinedCustomElement () const
 
bool isCustomElementUpgradeCandidate () const
 
bool isDefinedCustomElement () const
 
bool isFailedCustomElement () const
 
NodenonBoundaryShadowTreeRootNode ()
 
ContainerNodeparentOrShadowHostNode () const
 
ContainerNodeparentInComposedTree () const
 
ElementparentElementInComposedTree () const
 
ElementparentOrShadowHostElement () const
 
void setParentNode (ContainerNode *)
 
NoderootNode () const
 
NodeshadowIncludingRoot () const
 
NodegetRootNode (const GetRootNodeOptions &) const
 
voidopaqueRoot () const
 
ContainerNodeparentNodeGuaranteedHostFree () const
 
ContainerNodenonShadowBoundaryParentNode () const
 
bool selfOrAncestorHasDirAutoAttribute () const
 
void setSelfOrAncestorHasDirAutoAttribute (bool flag)
 
ElementenclosingLinkEventParentOrSelf ()
 
void setPreviousSibling (Node *previous)
 
void setNextSibling (Node *next)
 
virtual bool canContainRangeEndPoint () const
 
bool isRootEditableElement () const
 
WEBCORE_EXPORT ElementrootEditableElement () const
 
virtual void finishParsingChildren ()
 
virtual void beginParsingChildren ()
 
virtual bool sheetLoaded ()
 
virtual void notifyLoadedSheetAndAllCriticalSubresources (bool)
 
virtual void startLoadingDynamicSheet ()
 
bool isUserActionElement () const
 
void setUserActionElement (bool flag)
 
bool inRenderedDocument () const
 
bool needsStyleRecalc () const
 
Style::Validity styleValidity () const
 
bool styleResolutionShouldRecompositeLayer () const
 
bool childNeedsStyleRecalc () const
 
bool styleIsAffectedByPreviousSibling () const
 
bool isEditingText () const
 
void setChildNeedsStyleRecalc ()
 
void clearChildNeedsStyleRecalc ()
 
void setHasValidStyle ()
 
bool isLink () const
 
void setIsLink (bool flag)
 
bool hasEventTargetData () const
 
void setHasEventTargetData (bool flag)
 
WEBCORE_EXPORT bool isContentEditable ()
 
bool isContentRichlyEditable ()
 
WEBCORE_EXPORT void inspect ()
 
bool hasEditableStyle (UserSelectAllTreatment treatment=UserSelectAllIsAlwaysNonEditable) const
 
bool hasRichlyEditableStyle () const
 
WEBCORE_EXPORT Editability computeEditability (UserSelectAllTreatment, ShouldUpdateStyle) const
 
WEBCORE_EXPORT LayoutRect renderRect (bool *isReplaced)
 
IntRect pixelSnappedRenderRect (bool *isReplaced)
 
WEBCORE_EXPORT unsigned computeNodeIndex () const
 
WEBCORE_EXPORT DocumentownerDocument () const
 
Documentdocument () const
 
TreeScopetreeScope () const
 
bool isConnected () const
 
bool isInUserAgentShadowTree () const
 
bool isInShadowTree () const
 
bool isInTreeScope () const
 
bool isDocumentTypeNode () const
 
virtual bool childTypeAllowed (NodeType) const
 
unsigned countChildNodes () const
 
NodetraverseToChildAt (unsigned) const
 
ExceptionOr< voidcheckSetPrefix (const AtomicString &prefix)
 
WEBCORE_EXPORT bool isDescendantOf (const Node &) const
 
bool isDescendantOf (const Node *other) const
 
bool isDescendantOrShadowDescendantOf (const Node *) const
 
WEBCORE_EXPORT bool contains (const Node *) const
 
bool containsIncludingShadowDOM (const Node *) const
 
bool containsIncludingHostElements (const Node *) const
 
virtual bool canStartSelection () const
 
virtual bool shouldSelectOnMouseDown ()
 
FloatPoint convertToPage (const FloatPoint &) const
 
FloatPoint convertFromPage (const FloatPoint &) const
 
RenderObjectrenderer () const
 
void setRenderer (RenderObject *renderer)
 
WEBCORE_EXPORT RenderBoxrenderBox () const
 
RenderBoxModelObjectrenderBoxModelObject () const
 
const RenderStylerenderStyle () const
 
virtual const RenderStylecomputedStyle (PseudoId pseudoElementSpecifier=NOPSEUDO)
 
virtual InsertionNotificationRequest insertedInto (ContainerNode &insertionPoint)
 
virtual void finishedInsertingSubtree ()
 
virtual void removedFrom (ContainerNode &insertionPoint)
 
void invalidateNodeListAndCollectionCachesInAncestors (const QualifiedName *attrName=nullptr, Element *attributeOwnerElement=nullptr)
 
NodeListsNodeDatanodeLists ()
 
void clearNodeLists ()
 
virtual bool willRespondToMouseMoveEvents ()
 
virtual bool willRespondToMouseClickEvents ()
 
virtual bool willRespondToMouseWheelEvents ()
 
WEBCORE_EXPORT unsigned short compareDocumentPosition (Node &)
 
NodetoNode () override
 
EventTargetInterface eventTargetInterface () const override
 
ScriptExecutionContextscriptExecutionContext () const final
 
bool addEventListener (const AtomicString &eventType, Ref< EventListener > &&, const AddEventListenerOptions &) override
 
bool removeEventListener (const AtomicString &eventType, EventListener &, const ListenerOptions &) override
 
bool dispatchEvent (Event &) override
 
void dispatchScopedEvent (Event &)
 
virtual void handleLocalEvents (Event &)
 
void dispatchSubtreeModifiedEvent ()
 
bool dispatchDOMActivateEvent (int detail, Event &underlyingEvent)
 
bool dispatchBeforeLoadEvent (const String &sourceURL)
 
void dispatchInputEvent ()
 
virtual void defaultEventHandler (Event &)
 
void ref ()
 
void deref ()
 
bool hasOneRef () const
 
int refCount () const
 
EventTargetDataeventTargetData () final
 
EventTargetDataeventTargetDataConcurrently () final
 
EventTargetDataensureEventTargetData () final
 
HashMap< MutationObserver *, MutationRecordDeliveryOptionsregisteredMutationObservers (MutationObserver::MutationType, const QualifiedName *attributeName)
 
void registerMutationObserver (MutationObserver &, MutationObserverOptions, const HashSet< AtomicString > &attributeFilter)
 
void unregisterMutationObserver (MutationObserverRegistration &)
 
void registerTransientMutationObserver (MutationObserverRegistration &)
 
void unregisterTransientMutationObserver (MutationObserverRegistration &)
 
void notifyMutationObserversNodeWillDetach ()
 
WEBCORE_EXPORT void textRects (Vector< IntRect > &) const
 
unsigned connectedSubframeCount () const
 
void incrementConnectedSubframeCount (unsigned amount=1)
 
void decrementConnectedSubframeCount (unsigned amount=1)
 
void updateAncestorConnectedSubframeCountForRemoval () const
 
void updateAncestorConnectedSubframeCountForInsertion () const
 
virtual ~Node ()
 
void willBeDeletedFrom (Document &)
 
bool hasTagName (const HTMLQualifiedName &) const
 
bool hasTagName (const MathMLQualifiedName &) const
 
bool hasTagName (const SVGQualifiedName &) const
 
virtual String nodeName () const =0
 
virtual NodeType nodeType () const =0
 
virtual size_t approximateMemoryCost () const
 
ContainerNodeparentNode () const
 
ElementparentElement () const
 
NodepreviousSibling () const
 
NodenextSibling () const
 
WEBCORE_EXPORT RefPtr< NodeListchildNodes ()
 
NodefirstChild () const
 
NodelastChild () const
 
bool hasAttributes () const
 
NamedNodeMapattributes () const
 
NodepseudoAwareNextSibling () const
 
NodepseudoAwarePreviousSibling () const
 
NodepseudoAwareFirstChild () const
 
NodepseudoAwareLastChild () const
 
WEBCORE_EXPORT const URLbaseURI () const
 
void getSubresourceURLs (ListHashSet< URL > &) const
 
WEBCORE_EXPORT ExceptionOr< voidinsertBefore (Node &newChild, Node *refChild)
 
WEBCORE_EXPORT ExceptionOr< voidreplaceChild (Node &newChild, Node &oldChild)
 
WEBCORE_EXPORT ExceptionOr< voidremoveChild (Node &child)
 
WEBCORE_EXPORT ExceptionOr< voidappendChild (Node &newChild)
 
bool hasChildNodes () const
 
virtual Ref< NodecloneNodeInternal (Document &, CloningOperation)=0
 
Ref< NodecloneNode (bool deep)
 
WEBCORE_EXPORT ExceptionOr< Ref< Node > > cloneNodeForBindings (bool deep)
 
virtual const AtomicStringlocalName () const
 
virtual const AtomicStringnamespaceURI () const
 
virtual const AtomicStringprefix () const
 
virtual ExceptionOr< voidsetPrefix (const AtomicString &)
 
WEBCORE_EXPORT void normalize ()
 
bool isSameNode (Node *other) const
 
WEBCORE_EXPORT bool isEqualNode (Node *) const
 
WEBCORE_EXPORT bool isDefaultNamespace (const AtomicString &namespaceURI) const
 
WEBCORE_EXPORT const AtomicStringlookupPrefix (const AtomicString &namespaceURI) const
 
WEBCORE_EXPORT const AtomicStringlookupNamespaceURI (const AtomicString &prefix) const
 
WEBCORE_EXPORT String textContent (bool convertBRsToNewlines=false) const
 
WEBCORE_EXPORT ExceptionOr< voidsetTextContent (const String &)
 
NodelastDescendant () const
 
NodefirstDescendant () const
 
WEBCORE_EXPORT ElementpreviousElementSibling () const
 
WEBCORE_EXPORT ElementnextElementSibling () const
 
ExceptionOr< voidbefore (Vector< NodeOrString > &&)
 
ExceptionOr< voidafter (Vector< NodeOrString > &&)
 
ExceptionOr< voidreplaceWith (Vector< NodeOrString > &&)
 
WEBCORE_EXPORT ExceptionOr< voidremove ()
 
bool isElementNode () const
 
bool isContainerNode () const
 
bool isTextNode () const
 
bool isHTMLElement () const
 
bool isSVGElement () const
 
bool isMathMLElement () const
 
bool isPseudoElement () const
 
bool isBeforePseudoElement () const
 
bool isAfterPseudoElement () const
 
PseudoId pseudoId () const
 
virtual bool isMediaControlElement () const
 
virtual bool isMediaControls () const
 
bool isStyledElement () const
 
virtual bool isAttributeNode () const
 
virtual bool isFrameOwnerElement () const
 
virtual bool isPluginElement () const
 
bool isDocumentNode () const
 
bool isTreeScope () const
 
bool isDocumentFragment () const
 
bool isShadowRoot () const
 
bool hasCustomStyleResolveCallbacks () const
 
bool hasSyntheticAttrChildNodes () const
 
void setHasSyntheticAttrChildNodes (bool flag)
 
WEBCORE_EXPORT ElementshadowHost () const
 
WEBCORE_EXPORT NodedeprecatedShadowAncestorNode () const
 
ShadowRootcontainingShadowRoot () const
 
ShadowRootshadowRoot () const
 
bool isClosedShadowHidden (const Node &) const
 
HTMLSlotElementassignedSlot () const
 
HTMLSlotElementassignedSlotForBindings () const
 
bool isUndefinedCustomElement () const
 
bool isCustomElementUpgradeCandidate () const
 
bool isDefinedCustomElement () const
 
bool isFailedCustomElement () const
 
NodenonBoundaryShadowTreeRootNode ()
 
ContainerNodeparentOrShadowHostNode () const
 
ContainerNodeparentInComposedTree () const
 
ElementparentElementInComposedTree () const
 
ElementparentOrShadowHostElement () const
 
void setParentNode (ContainerNode *)
 
NoderootNode () const
 
NodeshadowIncludingRoot () const
 
NodegetRootNode (const GetRootNodeOptions &) const
 
voidopaqueRoot () const
 
ContainerNodeparentNodeGuaranteedHostFree () const
 
ContainerNodenonShadowBoundaryParentNode () const
 
bool selfOrAncestorHasDirAutoAttribute () const
 
void setSelfOrAncestorHasDirAutoAttribute (bool flag)
 
ElementenclosingLinkEventParentOrSelf ()
 
void setPreviousSibling (Node *previous)
 
void setNextSibling (Node *next)
 
virtual bool canContainRangeEndPoint () const
 
bool isRootEditableElement () const
 
WEBCORE_EXPORT ElementrootEditableElement () const
 
virtual void finishParsingChildren ()
 
virtual void beginParsingChildren ()
 
virtual bool sheetLoaded ()
 
virtual void notifyLoadedSheetAndAllCriticalSubresources (bool)
 
virtual void startLoadingDynamicSheet ()
 
bool isUserActionElement () const
 
void setUserActionElement (bool flag)
 
bool inRenderedDocument () const
 
bool needsStyleRecalc () const
 
Style::Validity styleValidity () const
 
bool styleResolutionShouldRecompositeLayer () const
 
bool childNeedsStyleRecalc () const
 
bool styleIsAffectedByPreviousSibling () const
 
bool isEditingText () const
 
void setChildNeedsStyleRecalc ()
 
void clearChildNeedsStyleRecalc ()
 
void setHasValidStyle ()
 
bool isLink () const
 
void setIsLink (bool flag)
 
bool hasEventTargetData () const
 
void setHasEventTargetData (bool flag)
 
WEBCORE_EXPORT bool isContentEditable ()
 
bool isContentRichlyEditable ()
 
WEBCORE_EXPORT void inspect ()
 
bool hasEditableStyle (UserSelectAllTreatment treatment=UserSelectAllIsAlwaysNonEditable) const
 
bool hasRichlyEditableStyle () const
 
WEBCORE_EXPORT Editability computeEditability (UserSelectAllTreatment, ShouldUpdateStyle) const
 
WEBCORE_EXPORT LayoutRect renderRect (bool *isReplaced)
 
IntRect pixelSnappedRenderRect (bool *isReplaced)
 
WEBCORE_EXPORT unsigned computeNodeIndex () const
 
WEBCORE_EXPORT DocumentownerDocument () const
 
Documentdocument () const
 
TreeScopetreeScope () const
 
bool isConnected () const
 
bool isInUserAgentShadowTree () const
 
bool isInShadowTree () const
 
bool isInTreeScope () const
 
bool isDocumentTypeNode () const
 
virtual bool childTypeAllowed (NodeType) const
 
unsigned countChildNodes () const
 
NodetraverseToChildAt (unsigned) const
 
ExceptionOr< voidcheckSetPrefix (const AtomicString &prefix)
 
WEBCORE_EXPORT bool isDescendantOf (const Node &) const
 
bool isDescendantOf (const Node *other) const
 
bool isDescendantOrShadowDescendantOf (const Node *) const
 
WEBCORE_EXPORT bool contains (const Node *) const
 
bool containsIncludingShadowDOM (const Node *) const
 
bool containsIncludingHostElements (const Node *) const
 
virtual bool canStartSelection () const
 
virtual bool shouldSelectOnMouseDown ()
 
FloatPoint convertToPage (const FloatPoint &) const
 
FloatPoint convertFromPage (const FloatPoint &) const
 
RenderObjectrenderer () const
 
void setRenderer (RenderObject *renderer)
 
WEBCORE_EXPORT RenderBoxrenderBox () const
 
RenderBoxModelObjectrenderBoxModelObject () const
 
const RenderStylerenderStyle () const
 
virtual const RenderStylecomputedStyle (PseudoId pseudoElementSpecifier=NOPSEUDO)
 
virtual InsertionNotificationRequest insertedInto (ContainerNode &insertionPoint)
 
virtual void finishedInsertingSubtree ()
 
virtual void removedFrom (ContainerNode &insertionPoint)
 
void invalidateNodeListAndCollectionCachesInAncestors (const QualifiedName *attrName=nullptr, Element *attributeOwnerElement=nullptr)
 
NodeListsNodeDatanodeLists ()
 
void clearNodeLists ()
 
virtual bool willRespondToMouseMoveEvents ()
 
virtual bool willRespondToMouseClickEvents ()
 
virtual bool willRespondToMouseWheelEvents ()
 
WEBCORE_EXPORT unsigned short compareDocumentPosition (Node &)
 
NodetoNode () override
 
EventTargetInterface eventTargetInterface () const override
 
ScriptExecutionContextscriptExecutionContext () const final
 
bool addEventListener (const AtomicString &eventType, Ref< EventListener > &&, const AddEventListenerOptions &) override
 
bool removeEventListener (const AtomicString &eventType, EventListener &, const ListenerOptions &) override
 
bool dispatchEvent (Event &) override
 
void dispatchScopedEvent (Event &)
 
virtual void handleLocalEvents (Event &)
 
void dispatchSubtreeModifiedEvent ()
 
bool dispatchDOMActivateEvent (int detail, Event &underlyingEvent)
 
bool dispatchBeforeLoadEvent (const String &sourceURL)
 
void dispatchInputEvent ()
 
virtual void defaultEventHandler (Event &)
 
void ref ()
 
void deref ()
 
bool hasOneRef () const
 
int refCount () const
 
EventTargetDataeventTargetData () final
 
EventTargetDataeventTargetDataConcurrently () final
 
EventTargetDataensureEventTargetData () final
 
HashMap< MutationObserver *, MutationRecordDeliveryOptionsregisteredMutationObservers (MutationObserver::MutationType, const QualifiedName *attributeName)
 
void registerMutationObserver (MutationObserver &, MutationObserverOptions, const HashSet< AtomicString > &attributeFilter)
 
void unregisterMutationObserver (MutationObserverRegistration &)
 
void registerTransientMutationObserver (MutationObserverRegistration &)
 
void unregisterTransientMutationObserver (MutationObserverRegistration &)
 
void notifyMutationObserversNodeWillDetach ()
 
WEBCORE_EXPORT void textRects (Vector< IntRect > &) const
 
unsigned connectedSubframeCount () const
 
void incrementConnectedSubframeCount (unsigned amount=1)
 
void decrementConnectedSubframeCount (unsigned amount=1)
 
void updateAncestorConnectedSubframeCountForRemoval () const
 
void updateAncestorConnectedSubframeCountForInsertion () const
 
- Public Member Functions inherited from WebCore::EventTarget
void ref ()
 
void deref ()
 
virtual DOMWindowtoDOMWindow ()
 
virtual bool isMessagePort () const
 
WEBCORE_EXPORT void addEventListenerForBindings (const AtomicString &eventType, RefPtr< EventListener > &&, AddEventListenerOptionsOrBoolean &&)
 
WEBCORE_EXPORT void removeEventListenerForBindings (const AtomicString &eventType, RefPtr< EventListener > &&, ListenerOptionsOrBoolean &&)
 
WEBCORE_EXPORT ExceptionOr< bool > dispatchEventForBindings (Event &)
 
virtual void removeAllEventListeners ()
 
virtual void uncaughtExceptionInEventHandler ()
 
bool setAttributeEventListener (const AtomicString &eventType, RefPtr< EventListener > &&)
 
EventListenerattributeEventListener (const AtomicString &eventType)
 
bool hasEventListeners () const
 
bool hasEventListeners (const AtomicString &eventType) const
 
bool hasCapturingEventListeners (const AtomicString &eventType)
 
bool hasActiveEventListeners (const AtomicString &eventType) const
 
const EventListenerVectoreventListeners (const AtomicString &eventType)
 
bool fireEventListeners (Event &)
 
bool isFiringEventListeners () const
 
void visitJSEventListeners (JSC::SlotVisitor &)
 
void invalidateJSEventListeners (JSC::JSObject *)
 
void ref ()
 
void deref ()
 
virtual DOMWindowtoDOMWindow ()
 
virtual bool isMessagePort () const
 
WEBCORE_EXPORT void addEventListenerForBindings (const AtomicString &eventType, RefPtr< EventListener > &&, AddEventListenerOptionsOrBoolean &&)
 
WEBCORE_EXPORT void removeEventListenerForBindings (const AtomicString &eventType, RefPtr< EventListener > &&, ListenerOptionsOrBoolean &&)
 
WEBCORE_EXPORT ExceptionOr< bool > dispatchEventForBindings (Event &)
 
virtual void removeAllEventListeners ()
 
virtual void uncaughtExceptionInEventHandler ()
 
bool setAttributeEventListener (const AtomicString &eventType, RefPtr< EventListener > &&)
 
EventListenerattributeEventListener (const AtomicString &eventType)
 
bool hasEventListeners () const
 
bool hasEventListeners (const AtomicString &eventType) const
 
bool hasCapturingEventListeners (const AtomicString &eventType)
 
bool hasActiveEventListeners (const AtomicString &eventType) const
 
const EventListenerVectoreventListeners (const AtomicString &eventType)
 
bool fireEventListeners (Event &)
 
bool isFiringEventListeners () const
 
void visitJSEventListeners (JSC::SlotVisitor &)
 
void invalidateJSEventListeners (JSC::JSObject *)
 
- Public Member Functions inherited from WebCore::ScriptWrappable
JSDOMObjectwrapper () const
 
void setWrapper (JSDOMObject *, JSC::WeakHandleOwner *, void *)
 
void clearWrapper (JSDOMObject *)
 
JSDOMObjectwrapper () const
 
void setWrapper (JSDOMObject *, JSC::WeakHandleOwner *, void *)
 
void clearWrapper (JSDOMObject *)
 

Static Public Member Functions

static ptrdiff_t dataMemoryOffset ()
 
static ptrdiff_t dataMemoryOffset ()
 
- Static Public Member Functions inherited from WebCore::Node
static WEBCORE_EXPORT void startIgnoringLeaks ()
 
static WEBCORE_EXPORT void stopIgnoringLeaks ()
 
static void dumpStatistics ()
 
static ptrdiff_t parentNodeMemoryOffset ()
 
static ptrdiff_t previousSiblingMemoryOffset ()
 
static ptrdiff_t nextSiblingMemoryOffset ()
 
static ptrdiff_t treeScopeMemoryOffset ()
 
static WEBCORE_EXPORT void startIgnoringLeaks ()
 
static WEBCORE_EXPORT void stopIgnoringLeaks ()
 
static void dumpStatistics ()
 
static ptrdiff_t parentNodeMemoryOffset ()
 
static ptrdiff_t previousSiblingMemoryOffset ()
 
static ptrdiff_t nextSiblingMemoryOffset ()
 
static ptrdiff_t treeScopeMemoryOffset ()
 
- Static Public Member Functions inherited from WebCore::ScriptWrappable
template<typename Derived >
static ptrdiff_t offsetOfWrapper ()
 
template<typename Derived >
static ptrdiff_t offsetOfWrapper ()
 

Protected Member Functions

 CharacterData (Document &document, const String &text, ConstructionType type)
 
void setDataWithoutUpdate (const String &data)
 
void dispatchModifiedEvent (const String &oldValue)
 
 CharacterData (Document &document, const String &text, ConstructionType type)
 
void setDataWithoutUpdate (const String &data)
 
void dispatchModifiedEvent (const String &oldValue)
 
- Protected Member Functions inherited from WebCore::Node
bool getFlag (NodeFlags mask) const
 
void setFlag (bool f, NodeFlags mask) const
 
void setFlag (NodeFlags mask) const
 
void clearFlag (NodeFlags mask) const
 
 Node (Document &, ConstructionType)
 
virtual void didMoveToNewDocument (Document &oldDocument)
 
virtual void addSubresourceAttributeURLs (ListHashSet< URL > &) const
 
bool hasRareData () const
 
NodeRareDatarareData () const
 
NodeRareDataensureRareData ()
 
void clearRareData ()
 
void clearEventTargetData ()
 
void setHasCustomStyleResolveCallbacks ()
 
void setTreeScope (TreeScope &scope)
 
void invalidateStyle (Style::Validity, Style::InvalidationMode=Style::InvalidationMode::Normal)
 
void updateAncestorsForStyleRecalc ()
 
ExceptionOr< RefPtr< Node > > convertNodesOrStringsIntoNode (Vector< NodeOrString > &&)
 
bool isParsingChildrenFinished () const
 
void setIsParsingChildrenFinished ()
 
void clearIsParsingChildrenFinished ()
 
bool getFlag (NodeFlags mask) const
 
void setFlag (bool f, NodeFlags mask) const
 
void setFlag (NodeFlags mask) const
 
void clearFlag (NodeFlags mask) const
 
 Node (Document &, ConstructionType)
 
virtual void didMoveToNewDocument (Document &oldDocument)
 
virtual void addSubresourceAttributeURLs (ListHashSet< URL > &) const
 
bool hasRareData () const
 
NodeRareDatarareData () const
 
NodeRareDataensureRareData ()
 
void clearRareData ()
 
void clearEventTargetData ()
 
void setHasCustomStyleResolveCallbacks ()
 
void setTreeScope (TreeScope &scope)
 
void invalidateStyle (Style::Validity, Style::InvalidationMode=Style::InvalidationMode::Normal)
 
void updateAncestorsForStyleRecalc ()
 
ExceptionOr< RefPtr< Node > > convertNodesOrStringsIntoNode (Vector< NodeOrString > &&)
 
bool isParsingChildrenFinished () const
 
void setIsParsingChildrenFinished ()
 
void clearIsParsingChildrenFinished ()
 
- Protected Member Functions inherited from WebCore::EventTarget
virtual ~EventTarget ()=default
 
const EventTargetDataeventTargetData () const
 
virtual ~EventTarget ()=default
 
const EventTargetDataeventTargetData () const
 
- Protected Member Functions inherited from WebCore::ScriptWrappable
 ~ScriptWrappable ()
 
 ~ScriptWrappable ()
 

Additional Inherited Members

- Public Types inherited from WebCore::Node
enum  NodeType {
  ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3, CDATA_SECTION_NODE = 4,
  PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8, DOCUMENT_NODE = 9, DOCUMENT_TYPE_NODE = 10,
  DOCUMENT_FRAGMENT_NODE = 11, ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3,
  CDATA_SECTION_NODE = 4, PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8, DOCUMENT_NODE = 9,
  DOCUMENT_TYPE_NODE = 10, DOCUMENT_FRAGMENT_NODE = 11
}
 
enum  DeprecatedNodeType {
  ENTITY_REFERENCE_NODE = 5, ENTITY_NODE = 6, NOTATION_NODE = 12, ENTITY_REFERENCE_NODE = 5,
  ENTITY_NODE = 6, NOTATION_NODE = 12
}
 
enum  DocumentPosition {
  DOCUMENT_POSITION_EQUIVALENT = 0x00, DOCUMENT_POSITION_DISCONNECTED = 0x01, DOCUMENT_POSITION_PRECEDING = 0x02, DOCUMENT_POSITION_FOLLOWING = 0x04,
  DOCUMENT_POSITION_CONTAINS = 0x08, DOCUMENT_POSITION_CONTAINED_BY = 0x10, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20, DOCUMENT_POSITION_EQUIVALENT = 0x00,
  DOCUMENT_POSITION_DISCONNECTED = 0x01, DOCUMENT_POSITION_PRECEDING = 0x02, DOCUMENT_POSITION_FOLLOWING = 0x04, DOCUMENT_POSITION_CONTAINS = 0x08,
  DOCUMENT_POSITION_CONTAINED_BY = 0x10, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
}
 
enum  CloningOperation {
  CloningOperation::OnlySelf, CloningOperation::SelfWithTemplateContent, CloningOperation::Everything, CloningOperation::OnlySelf,
  CloningOperation::SelfWithTemplateContent, CloningOperation::Everything
}
 
enum  UserSelectAllTreatment { UserSelectAllDoesNotAffectEditability, UserSelectAllIsAlwaysNonEditable, UserSelectAllDoesNotAffectEditability, UserSelectAllIsAlwaysNonEditable }
 
enum  Editability {
  Editability::ReadOnly, Editability::CanEditPlainText, Editability::CanEditRichly, Editability::ReadOnly,
  Editability::CanEditPlainText, Editability::CanEditRichly
}
 
enum  ShouldUpdateStyle { ShouldUpdateStyle::Update, ShouldUpdateStyle::DoNotUpdate, ShouldUpdateStyle::Update, ShouldUpdateStyle::DoNotUpdate }
 
enum  InsertionNotificationRequest { InsertionDone, InsertionShouldCallFinishedInsertingSubtree, InsertionDone, InsertionShouldCallFinishedInsertingSubtree }
 
enum  NodeType {
  ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3, CDATA_SECTION_NODE = 4,
  PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8, DOCUMENT_NODE = 9, DOCUMENT_TYPE_NODE = 10,
  DOCUMENT_FRAGMENT_NODE = 11, ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3,
  CDATA_SECTION_NODE = 4, PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8, DOCUMENT_NODE = 9,
  DOCUMENT_TYPE_NODE = 10, DOCUMENT_FRAGMENT_NODE = 11
}
 
enum  DeprecatedNodeType {
  ENTITY_REFERENCE_NODE = 5, ENTITY_NODE = 6, NOTATION_NODE = 12, ENTITY_REFERENCE_NODE = 5,
  ENTITY_NODE = 6, NOTATION_NODE = 12
}
 
enum  DocumentPosition {
  DOCUMENT_POSITION_EQUIVALENT = 0x00, DOCUMENT_POSITION_DISCONNECTED = 0x01, DOCUMENT_POSITION_PRECEDING = 0x02, DOCUMENT_POSITION_FOLLOWING = 0x04,
  DOCUMENT_POSITION_CONTAINS = 0x08, DOCUMENT_POSITION_CONTAINED_BY = 0x10, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20, DOCUMENT_POSITION_EQUIVALENT = 0x00,
  DOCUMENT_POSITION_DISCONNECTED = 0x01, DOCUMENT_POSITION_PRECEDING = 0x02, DOCUMENT_POSITION_FOLLOWING = 0x04, DOCUMENT_POSITION_CONTAINS = 0x08,
  DOCUMENT_POSITION_CONTAINED_BY = 0x10, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
}
 
enum  CloningOperation {
  CloningOperation::OnlySelf, CloningOperation::SelfWithTemplateContent, CloningOperation::Everything, CloningOperation::OnlySelf,
  CloningOperation::SelfWithTemplateContent, CloningOperation::Everything
}
 
enum  UserSelectAllTreatment { UserSelectAllDoesNotAffectEditability, UserSelectAllIsAlwaysNonEditable, UserSelectAllDoesNotAffectEditability, UserSelectAllIsAlwaysNonEditable }
 
enum  Editability {
  Editability::ReadOnly, Editability::CanEditPlainText, Editability::CanEditRichly, Editability::ReadOnly,
  Editability::CanEditPlainText, Editability::CanEditRichly
}
 
enum  ShouldUpdateStyle { ShouldUpdateStyle::Update, ShouldUpdateStyle::DoNotUpdate, ShouldUpdateStyle::Update, ShouldUpdateStyle::DoNotUpdate }
 
enum  InsertionNotificationRequest { InsertionDone, InsertionShouldCallFinishedInsertingSubtree, InsertionDone, InsertionShouldCallFinishedInsertingSubtree }
 
- Public Types inherited from WebCore::EventTarget
using AddEventListenerOptionsOrBoolean = Variant< AddEventListenerOptions, bool >
 
using ListenerOptionsOrBoolean = Variant< ListenerOptions, bool >
 
using AddEventListenerOptionsOrBoolean = Variant< AddEventListenerOptions, bool >
 
using ListenerOptionsOrBoolean = Variant< ListenerOptions, bool >
 
- Public Attributes inherited from WebCore::Node
bool m_deletionHasBegun { false }
 
bool m_inRemovedLastRefFunction { false }
 
bool m_adoptionIsRequired { true }
 
- Protected Types inherited from WebCore::Node
enum  NodeFlags {
  IsTextFlag = 1, IsContainerFlag = 1 << 1, IsElementFlag = 1 << 2, IsStyledElementFlag = 1 << 3,
  IsHTMLFlag = 1 << 4, IsSVGFlag = 1 << 5, ChildNeedsStyleRecalcFlag = 1 << 7, IsConnectedFlag = 1 << 8,
  IsLinkFlag = 1 << 9, IsUserActionElement = 1 << 10, HasRareDataFlag = 1 << 11, IsDocumentFragmentFlag = 1 << 12,
  IsParsingChildrenFinishedFlag = 1 << 13, StyleValidityShift = 14, StyleValidityMask = 3 << StyleValidityShift, StyleResolutionShouldRecompositeLayerFlag = 1 << 16,
  IsEditingTextOrUndefinedCustomElementFlag = 1 << 17, HasFocusWithin = 1 << 18, HasSyntheticAttrChildNodesFlag = 1 << 19, HasCustomStyleResolveCallbacksFlag = 1 << 20,
  HasEventTargetDataFlag = 1 << 21, IsCustomElement = 1 << 22, IsInShadowTreeFlag = 1 << 23, IsMathMLFlag = 1 << 24,
  ChildrenAffectedByFirstChildRulesFlag = 1 << 25, ChildrenAffectedByLastChildRulesFlag = 1 << 26, ChildrenAffectedByHoverRulesFlag = 1 << 27, DirectChildNeedsStyleRecalcFlag = 1 << 28,
  AffectsNextSiblingElementStyle = 1 << 29, StyleIsAffectedByPreviousSibling = 1 << 30, SelfOrAncestorHasDirAutoFlag = 1 << 31, DefaultNodeFlags = IsParsingChildrenFinishedFlag,
  IsTextFlag = 1, IsContainerFlag = 1 << 1, IsElementFlag = 1 << 2, IsStyledElementFlag = 1 << 3,
  IsHTMLFlag = 1 << 4, IsSVGFlag = 1 << 5, ChildNeedsStyleRecalcFlag = 1 << 7, IsConnectedFlag = 1 << 8,
  IsLinkFlag = 1 << 9, IsUserActionElement = 1 << 10, HasRareDataFlag = 1 << 11, IsDocumentFragmentFlag = 1 << 12,
  IsParsingChildrenFinishedFlag = 1 << 13, StyleValidityShift = 14, StyleValidityMask = 3 << StyleValidityShift, StyleResolutionShouldRecompositeLayerFlag = 1 << 16,
  IsEditingTextOrUndefinedCustomElementFlag = 1 << 17, HasFocusWithin = 1 << 18, HasSyntheticAttrChildNodesFlag = 1 << 19, HasCustomStyleResolveCallbacksFlag = 1 << 20,
  HasEventTargetDataFlag = 1 << 21, IsCustomElement = 1 << 22, IsInShadowTreeFlag = 1 << 23, IsMathMLFlag = 1 << 24,
  ChildrenAffectedByFirstChildRulesFlag = 1 << 25, ChildrenAffectedByLastChildRulesFlag = 1 << 26, ChildrenAffectedByHoverRulesFlag = 1 << 27, DirectChildNeedsStyleRecalcFlag = 1 << 28,
  AffectsNextSiblingElementStyle = 1 << 29, StyleIsAffectedByPreviousSibling = 1 << 30, SelfOrAncestorHasDirAutoFlag = 1 << 31, DefaultNodeFlags = IsParsingChildrenFinishedFlag
}
 
enum  ConstructionType {
  CreateOther = DefaultNodeFlags, CreateText = DefaultNodeFlags | IsTextFlag, CreateContainer = DefaultNodeFlags | IsContainerFlag, CreateElement = CreateContainer | IsElementFlag,
  CreatePseudoElement = CreateElement | IsConnectedFlag, CreateShadowRoot = CreateContainer | IsDocumentFragmentFlag | IsInShadowTreeFlag, CreateDocumentFragment = CreateContainer | IsDocumentFragmentFlag, CreateStyledElement = CreateElement | IsStyledElementFlag,
  CreateHTMLElement = CreateStyledElement | IsHTMLFlag, CreateSVGElement = CreateStyledElement | IsSVGFlag | HasCustomStyleResolveCallbacksFlag, CreateDocument = CreateContainer | IsConnectedFlag, CreateEditingText = CreateText | IsEditingTextOrUndefinedCustomElementFlag,
  CreateMathMLElement = CreateStyledElement | IsMathMLFlag, CreateOther = DefaultNodeFlags, CreateText = DefaultNodeFlags | IsTextFlag, CreateContainer = DefaultNodeFlags | IsContainerFlag,
  CreateElement = CreateContainer | IsElementFlag, CreatePseudoElement = CreateElement | IsConnectedFlag, CreateShadowRoot = CreateContainer | IsDocumentFragmentFlag | IsInShadowTreeFlag, CreateDocumentFragment = CreateContainer | IsDocumentFragmentFlag,
  CreateStyledElement = CreateElement | IsStyledElementFlag, CreateHTMLElement = CreateStyledElement | IsHTMLFlag, CreateSVGElement = CreateStyledElement | IsSVGFlag | HasCustomStyleResolveCallbacksFlag, CreateDocument = CreateContainer | IsConnectedFlag,
  CreateEditingText = CreateText | IsEditingTextOrUndefinedCustomElementFlag, CreateMathMLElement = CreateStyledElement | IsMathMLFlag
}
 
enum  NodeFlags {
  IsTextFlag = 1, IsContainerFlag = 1 << 1, IsElementFlag = 1 << 2, IsStyledElementFlag = 1 << 3,
  IsHTMLFlag = 1 << 4, IsSVGFlag = 1 << 5, ChildNeedsStyleRecalcFlag = 1 << 7, IsConnectedFlag = 1 << 8,
  IsLinkFlag = 1 << 9, IsUserActionElement = 1 << 10, HasRareDataFlag = 1 << 11, IsDocumentFragmentFlag = 1 << 12,
  IsParsingChildrenFinishedFlag = 1 << 13, StyleValidityShift = 14, StyleValidityMask = 3 << StyleValidityShift, StyleResolutionShouldRecompositeLayerFlag = 1 << 16,
  IsEditingTextOrUndefinedCustomElementFlag = 1 << 17, HasFocusWithin = 1 << 18, HasSyntheticAttrChildNodesFlag = 1 << 19, HasCustomStyleResolveCallbacksFlag = 1 << 20,
  HasEventTargetDataFlag = 1 << 21, IsCustomElement = 1 << 22, IsInShadowTreeFlag = 1 << 23, IsMathMLFlag = 1 << 24,
  ChildrenAffectedByFirstChildRulesFlag = 1 << 25, ChildrenAffectedByLastChildRulesFlag = 1 << 26, ChildrenAffectedByHoverRulesFlag = 1 << 27, DirectChildNeedsStyleRecalcFlag = 1 << 28,
  AffectsNextSiblingElementStyle = 1 << 29, StyleIsAffectedByPreviousSibling = 1 << 30, SelfOrAncestorHasDirAutoFlag = 1 << 31, DefaultNodeFlags = IsParsingChildrenFinishedFlag,
  IsTextFlag = 1, IsContainerFlag = 1 << 1, IsElementFlag = 1 << 2, IsStyledElementFlag = 1 << 3,
  IsHTMLFlag = 1 << 4, IsSVGFlag = 1 << 5, ChildNeedsStyleRecalcFlag = 1 << 7, IsConnectedFlag = 1 << 8,
  IsLinkFlag = 1 << 9, IsUserActionElement = 1 << 10, HasRareDataFlag = 1 << 11, IsDocumentFragmentFlag = 1 << 12,
  IsParsingChildrenFinishedFlag = 1 << 13, StyleValidityShift = 14, StyleValidityMask = 3 << StyleValidityShift, StyleResolutionShouldRecompositeLayerFlag = 1 << 16,
  IsEditingTextOrUndefinedCustomElementFlag = 1 << 17, HasFocusWithin = 1 << 18, HasSyntheticAttrChildNodesFlag = 1 << 19, HasCustomStyleResolveCallbacksFlag = 1 << 20,
  HasEventTargetDataFlag = 1 << 21, IsCustomElement = 1 << 22, IsInShadowTreeFlag = 1 << 23, IsMathMLFlag = 1 << 24,
  ChildrenAffectedByFirstChildRulesFlag = 1 << 25, ChildrenAffectedByLastChildRulesFlag = 1 << 26, ChildrenAffectedByHoverRulesFlag = 1 << 27, DirectChildNeedsStyleRecalcFlag = 1 << 28,
  AffectsNextSiblingElementStyle = 1 << 29, StyleIsAffectedByPreviousSibling = 1 << 30, SelfOrAncestorHasDirAutoFlag = 1 << 31, DefaultNodeFlags = IsParsingChildrenFinishedFlag
}
 
enum  ConstructionType {
  CreateOther = DefaultNodeFlags, CreateText = DefaultNodeFlags | IsTextFlag, CreateContainer = DefaultNodeFlags | IsContainerFlag, CreateElement = CreateContainer | IsElementFlag,
  CreatePseudoElement = CreateElement | IsConnectedFlag, CreateShadowRoot = CreateContainer | IsDocumentFragmentFlag | IsInShadowTreeFlag, CreateDocumentFragment = CreateContainer | IsDocumentFragmentFlag, CreateStyledElement = CreateElement | IsStyledElementFlag,
  CreateHTMLElement = CreateStyledElement | IsHTMLFlag, CreateSVGElement = CreateStyledElement | IsSVGFlag | HasCustomStyleResolveCallbacksFlag, CreateDocument = CreateContainer | IsConnectedFlag, CreateEditingText = CreateText | IsEditingTextOrUndefinedCustomElementFlag,
  CreateMathMLElement = CreateStyledElement | IsMathMLFlag, CreateOther = DefaultNodeFlags, CreateText = DefaultNodeFlags | IsTextFlag, CreateContainer = DefaultNodeFlags | IsContainerFlag,
  CreateElement = CreateContainer | IsElementFlag, CreatePseudoElement = CreateElement | IsConnectedFlag, CreateShadowRoot = CreateContainer | IsDocumentFragmentFlag | IsInShadowTreeFlag, CreateDocumentFragment = CreateContainer | IsDocumentFragmentFlag,
  CreateStyledElement = CreateElement | IsStyledElementFlag, CreateHTMLElement = CreateStyledElement | IsHTMLFlag, CreateSVGElement = CreateStyledElement | IsSVGFlag | HasCustomStyleResolveCallbacksFlag, CreateDocument = CreateContainer | IsConnectedFlag,
  CreateEditingText = CreateText | IsEditingTextOrUndefinedCustomElementFlag, CreateMathMLElement = CreateStyledElement | IsMathMLFlag
}
 

Constructor & Destructor Documentation

◆ CharacterData() [1/2]

WebCore::CharacterData::CharacterData ( Document document,
const String text,
ConstructionType  type 
)
inlineprotected

◆ CharacterData() [2/2]

WebCore::CharacterData::CharacterData ( Document document,
const String text,
ConstructionType  type 
)
inlineprotected

Member Function Documentation

◆ appendData() [1/2]

void CharacterData::appendData ( const String data)

◆ appendData() [2/2]

WEBCORE_EXPORT void WebCore::CharacterData::appendData ( const String )

◆ containsOnlyWhitespace() [1/2]

bool CharacterData::containsOnlyWhitespace ( ) const

◆ containsOnlyWhitespace() [2/2]

bool WebCore::CharacterData::containsOnlyWhitespace ( ) const

◆ data() [1/2]

const String& WebCore::CharacterData::data ( ) const
inline

◆ data() [2/2]

const String& WebCore::CharacterData::data ( ) const
inline

◆ dataMemoryOffset() [1/2]

static ptrdiff_t WebCore::CharacterData::dataMemoryOffset ( )
inlinestatic

◆ dataMemoryOffset() [2/2]

static ptrdiff_t WebCore::CharacterData::dataMemoryOffset ( )
inlinestatic

◆ deleteData() [1/2]

ExceptionOr< void > CharacterData::deleteData ( unsigned  offset,
unsigned  count 
)

◆ deleteData() [2/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::CharacterData::deleteData ( unsigned  offset,
unsigned  count 
)

◆ dispatchModifiedEvent() [1/2]

void CharacterData::dispatchModifiedEvent ( const String oldValue)
protected

◆ dispatchModifiedEvent() [2/2]

void WebCore::CharacterData::dispatchModifiedEvent ( const String oldValue)
protected

◆ insertData() [1/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::CharacterData::insertData ( unsigned  offset,
const String  
)

◆ insertData() [2/2]

ExceptionOr< void > CharacterData::insertData ( unsigned  offset,
const String data 
)

◆ length() [1/2]

unsigned WebCore::CharacterData::length ( ) const
inline

◆ length() [2/2]

unsigned WebCore::CharacterData::length ( void  ) const
inline

◆ parserAppendData() [1/2]

unsigned CharacterData::parserAppendData ( const String string,
unsigned  offset,
unsigned  lengthLimit 
)

◆ parserAppendData() [2/2]

unsigned WebCore::CharacterData::parserAppendData ( const String string,
unsigned  offset,
unsigned  lengthLimit 
)

◆ replaceData() [1/2]

ExceptionOr< void > CharacterData::replaceData ( unsigned  offset,
unsigned  count,
const String data 
)

◆ replaceData() [2/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::CharacterData::replaceData ( unsigned  offset,
unsigned  count,
const String  
)

◆ setData() [1/2]

void CharacterData::setData ( const String data)

◆ setData() [2/2]

WEBCORE_EXPORT void WebCore::CharacterData::setData ( const String )

◆ setDataWithoutUpdate() [1/2]

void WebCore::CharacterData::setDataWithoutUpdate ( const String data)
inlineprotected

◆ setDataWithoutUpdate() [2/2]

void WebCore::CharacterData::setDataWithoutUpdate ( const String data)
inlineprotected

◆ substringData() [1/2]

WEBCORE_EXPORT ExceptionOr<String> WebCore::CharacterData::substringData ( unsigned  offset,
unsigned  count 
)

◆ substringData() [2/2]

ExceptionOr< String > CharacterData::substringData ( unsigned  offset,
unsigned  count 
)

The documentation for this class was generated from the following files: