webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Friends | List of all members
WebCore::Node Class Referenceabstract

#include <Node.h>

Inheritance diagram for WebCore::Node:
WebCore::EventTarget WebCore::EventTarget WebCore::ScriptWrappable WebCore::ScriptWrappable WebCore::ScriptWrappable WebCore::ScriptWrappable WebCore::CharacterData WebCore::CharacterData WebCore::ContainerNode WebCore::ContainerNode WebCore::DocumentType WebCore::DocumentType WebCore::Comment WebCore::Comment WebCore::ProcessingInstruction WebCore::ProcessingInstruction WebCore::Text WebCore::Text WebCore::Comment WebCore::Comment WebCore::ProcessingInstruction WebCore::ProcessingInstruction WebCore::Text WebCore::Text WebCore::Attr WebCore::Attr WebCore::Document WebCore::Document WebCore::DocumentFragment WebCore::DocumentFragment WebCore::Element WebCore::Element WebCore::Attr WebCore::Attr WebCore::Document WebCore::Document WebCore::DocumentFragment WebCore::DocumentFragment WebCore::Element WebCore::Element

Classes

struct  GetRootNodeOptions
 

Public Types

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 Member Functions

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 String nodeValue () const
 
virtual ExceptionOr< voidsetNodeValue (const String &)
 
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 isCharacterDataNode () 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 offsetInCharacters () const
 
virtual int maxCharacterOffset () 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 String nodeValue () const
 
virtual ExceptionOr< voidsetNodeValue (const String &)
 
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 isCharacterDataNode () 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 offsetInCharacters () const
 
virtual int maxCharacterOffset () 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 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 ()
 

Public Attributes

bool m_deletionHasBegun { false }
 
bool m_inRemovedLastRefFunction { false }
 
bool m_adoptionIsRequired { true }
 

Protected Types

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
}
 

Protected Member Functions

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 ()
 

Friends

class Document
 GenericDocument with UTF8 encoding. More...
 
class TreeScope
 
class TreeScopeAdopter
 

Member Enumeration Documentation

◆ CloningOperation [1/2]

enum WebCore::Node::CloningOperation
strong
Enumerator
OnlySelf 
SelfWithTemplateContent 
Everything 
OnlySelf 
SelfWithTemplateContent 
Everything 

◆ CloningOperation [2/2]

enum WebCore::Node::CloningOperation
strong
Enumerator
OnlySelf 
SelfWithTemplateContent 
Everything 
OnlySelf 
SelfWithTemplateContent 
Everything 

◆ ConstructionType [1/2]

enum WebCore::Node::ConstructionType
protected
Enumerator
CreateOther 
CreateText 
CreateContainer 
CreateElement 
CreatePseudoElement 
CreateShadowRoot 
CreateDocumentFragment 
CreateStyledElement 
CreateHTMLElement 
CreateSVGElement 
CreateDocument 
CreateEditingText 
CreateMathMLElement 
CreateOther 
CreateText 
CreateContainer 
CreateElement 
CreatePseudoElement 
CreateShadowRoot 
CreateDocumentFragment 
CreateStyledElement 
CreateHTMLElement 
CreateSVGElement 
CreateDocument 
CreateEditingText 
CreateMathMLElement 

◆ ConstructionType [2/2]

enum WebCore::Node::ConstructionType
protected
Enumerator
CreateOther 
CreateText 
CreateContainer 
CreateElement 
CreatePseudoElement 
CreateShadowRoot 
CreateDocumentFragment 
CreateStyledElement 
CreateHTMLElement 
CreateSVGElement 
CreateDocument 
CreateEditingText 
CreateMathMLElement 
CreateOther 
CreateText 
CreateContainer 
CreateElement 
CreatePseudoElement 
CreateShadowRoot 
CreateDocumentFragment 
CreateStyledElement 
CreateHTMLElement 
CreateSVGElement 
CreateDocument 
CreateEditingText 
CreateMathMLElement 

◆ DeprecatedNodeType [1/2]

enum WebCore::Node::DeprecatedNodeType
Enumerator
ENTITY_REFERENCE_NODE 
ENTITY_NODE 
NOTATION_NODE 
ENTITY_REFERENCE_NODE 
ENTITY_NODE 
NOTATION_NODE 

◆ DeprecatedNodeType [2/2]

enum WebCore::Node::DeprecatedNodeType
Enumerator
ENTITY_REFERENCE_NODE 
ENTITY_NODE 
NOTATION_NODE 
ENTITY_REFERENCE_NODE 
ENTITY_NODE 
NOTATION_NODE 

◆ DocumentPosition [1/2]

enum WebCore::Node::DocumentPosition
Enumerator
DOCUMENT_POSITION_EQUIVALENT 
DOCUMENT_POSITION_DISCONNECTED 
DOCUMENT_POSITION_PRECEDING 
DOCUMENT_POSITION_FOLLOWING 
DOCUMENT_POSITION_CONTAINS 
DOCUMENT_POSITION_CONTAINED_BY 
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC 
DOCUMENT_POSITION_EQUIVALENT 
DOCUMENT_POSITION_DISCONNECTED 
DOCUMENT_POSITION_PRECEDING 
DOCUMENT_POSITION_FOLLOWING 
DOCUMENT_POSITION_CONTAINS 
DOCUMENT_POSITION_CONTAINED_BY 
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC 

◆ DocumentPosition [2/2]

enum WebCore::Node::DocumentPosition
Enumerator
DOCUMENT_POSITION_EQUIVALENT 
DOCUMENT_POSITION_DISCONNECTED 
DOCUMENT_POSITION_PRECEDING 
DOCUMENT_POSITION_FOLLOWING 
DOCUMENT_POSITION_CONTAINS 
DOCUMENT_POSITION_CONTAINED_BY 
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC 
DOCUMENT_POSITION_EQUIVALENT 
DOCUMENT_POSITION_DISCONNECTED 
DOCUMENT_POSITION_PRECEDING 
DOCUMENT_POSITION_FOLLOWING 
DOCUMENT_POSITION_CONTAINS 
DOCUMENT_POSITION_CONTAINED_BY 
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC 

◆ Editability [1/2]

enum WebCore::Node::Editability
strong
Enumerator
ReadOnly 
CanEditPlainText 
CanEditRichly 
ReadOnly 
CanEditPlainText 
CanEditRichly 

◆ Editability [2/2]

enum WebCore::Node::Editability
strong
Enumerator
ReadOnly 
CanEditPlainText 
CanEditRichly 
ReadOnly 
CanEditPlainText 
CanEditRichly 

◆ InsertionNotificationRequest [1/2]

enum WebCore::Node::InsertionNotificationRequest
Enumerator
InsertionDone 
InsertionShouldCallFinishedInsertingSubtree 
InsertionDone 
InsertionShouldCallFinishedInsertingSubtree 

◆ InsertionNotificationRequest [2/2]

enum WebCore::Node::InsertionNotificationRequest
Enumerator
InsertionDone 
InsertionShouldCallFinishedInsertingSubtree 
InsertionDone 
InsertionShouldCallFinishedInsertingSubtree 

◆ NodeFlags [1/2]

enum WebCore::Node::NodeFlags
protected
Enumerator
IsTextFlag 
IsContainerFlag 
IsElementFlag 
IsStyledElementFlag 
IsHTMLFlag 
IsSVGFlag 
ChildNeedsStyleRecalcFlag 
IsConnectedFlag 
IsLinkFlag 
IsUserActionElement 
HasRareDataFlag 
IsDocumentFragmentFlag 
IsParsingChildrenFinishedFlag 
StyleValidityShift 
StyleValidityMask 
StyleResolutionShouldRecompositeLayerFlag 
IsEditingTextOrUndefinedCustomElementFlag 
HasFocusWithin 
HasSyntheticAttrChildNodesFlag 
HasCustomStyleResolveCallbacksFlag 
HasEventTargetDataFlag 
IsCustomElement 
IsInShadowTreeFlag 
IsMathMLFlag 
ChildrenAffectedByFirstChildRulesFlag 
ChildrenAffectedByLastChildRulesFlag 
ChildrenAffectedByHoverRulesFlag 
DirectChildNeedsStyleRecalcFlag 
AffectsNextSiblingElementStyle 
StyleIsAffectedByPreviousSibling 
SelfOrAncestorHasDirAutoFlag 
DefaultNodeFlags 
IsTextFlag 
IsContainerFlag 
IsElementFlag 
IsStyledElementFlag 
IsHTMLFlag 
IsSVGFlag 
ChildNeedsStyleRecalcFlag 
IsConnectedFlag 
IsLinkFlag 
IsUserActionElement 
HasRareDataFlag 
IsDocumentFragmentFlag 
IsParsingChildrenFinishedFlag 
StyleValidityShift 
StyleValidityMask 
StyleResolutionShouldRecompositeLayerFlag 
IsEditingTextOrUndefinedCustomElementFlag 
HasFocusWithin 
HasSyntheticAttrChildNodesFlag 
HasCustomStyleResolveCallbacksFlag 
HasEventTargetDataFlag 
IsCustomElement 
IsInShadowTreeFlag 
IsMathMLFlag 
ChildrenAffectedByFirstChildRulesFlag 
ChildrenAffectedByLastChildRulesFlag 
ChildrenAffectedByHoverRulesFlag 
DirectChildNeedsStyleRecalcFlag 
AffectsNextSiblingElementStyle 
StyleIsAffectedByPreviousSibling 
SelfOrAncestorHasDirAutoFlag 
DefaultNodeFlags 

◆ NodeFlags [2/2]

enum WebCore::Node::NodeFlags
protected
Enumerator
IsTextFlag 
IsContainerFlag 
IsElementFlag 
IsStyledElementFlag 
IsHTMLFlag 
IsSVGFlag 
ChildNeedsStyleRecalcFlag 
IsConnectedFlag 
IsLinkFlag 
IsUserActionElement 
HasRareDataFlag 
IsDocumentFragmentFlag 
IsParsingChildrenFinishedFlag 
StyleValidityShift 
StyleValidityMask 
StyleResolutionShouldRecompositeLayerFlag 
IsEditingTextOrUndefinedCustomElementFlag 
HasFocusWithin 
HasSyntheticAttrChildNodesFlag 
HasCustomStyleResolveCallbacksFlag 
HasEventTargetDataFlag 
IsCustomElement 
IsInShadowTreeFlag 
IsMathMLFlag 
ChildrenAffectedByFirstChildRulesFlag 
ChildrenAffectedByLastChildRulesFlag 
ChildrenAffectedByHoverRulesFlag 
DirectChildNeedsStyleRecalcFlag 
AffectsNextSiblingElementStyle 
StyleIsAffectedByPreviousSibling 
SelfOrAncestorHasDirAutoFlag 
DefaultNodeFlags 
IsTextFlag 
IsContainerFlag 
IsElementFlag 
IsStyledElementFlag 
IsHTMLFlag 
IsSVGFlag 
ChildNeedsStyleRecalcFlag 
IsConnectedFlag 
IsLinkFlag 
IsUserActionElement 
HasRareDataFlag 
IsDocumentFragmentFlag 
IsParsingChildrenFinishedFlag 
StyleValidityShift 
StyleValidityMask 
StyleResolutionShouldRecompositeLayerFlag 
IsEditingTextOrUndefinedCustomElementFlag 
HasFocusWithin 
HasSyntheticAttrChildNodesFlag 
HasCustomStyleResolveCallbacksFlag 
HasEventTargetDataFlag 
IsCustomElement 
IsInShadowTreeFlag 
IsMathMLFlag 
ChildrenAffectedByFirstChildRulesFlag 
ChildrenAffectedByLastChildRulesFlag 
ChildrenAffectedByHoverRulesFlag 
DirectChildNeedsStyleRecalcFlag 
AffectsNextSiblingElementStyle 
StyleIsAffectedByPreviousSibling 
SelfOrAncestorHasDirAutoFlag 
DefaultNodeFlags 

◆ NodeType [1/2]

enum WebCore::Node::NodeType
Enumerator
ELEMENT_NODE 
ATTRIBUTE_NODE 
TEXT_NODE 
CDATA_SECTION_NODE 
PROCESSING_INSTRUCTION_NODE 
COMMENT_NODE 
DOCUMENT_NODE 
DOCUMENT_TYPE_NODE 
DOCUMENT_FRAGMENT_NODE 
ELEMENT_NODE 
ATTRIBUTE_NODE 
TEXT_NODE 
CDATA_SECTION_NODE 
PROCESSING_INSTRUCTION_NODE 
COMMENT_NODE 
DOCUMENT_NODE 
DOCUMENT_TYPE_NODE 
DOCUMENT_FRAGMENT_NODE 

◆ NodeType [2/2]

enum WebCore::Node::NodeType
Enumerator
ELEMENT_NODE 
ATTRIBUTE_NODE 
TEXT_NODE 
CDATA_SECTION_NODE 
PROCESSING_INSTRUCTION_NODE 
COMMENT_NODE 
DOCUMENT_NODE 
DOCUMENT_TYPE_NODE 
DOCUMENT_FRAGMENT_NODE 
ELEMENT_NODE 
ATTRIBUTE_NODE 
TEXT_NODE 
CDATA_SECTION_NODE 
PROCESSING_INSTRUCTION_NODE 
COMMENT_NODE 
DOCUMENT_NODE 
DOCUMENT_TYPE_NODE 
DOCUMENT_FRAGMENT_NODE 

◆ ShouldUpdateStyle [1/2]

enum WebCore::Node::ShouldUpdateStyle
strong
Enumerator
Update 
DoNotUpdate 
Update 
DoNotUpdate 

◆ ShouldUpdateStyle [2/2]

enum WebCore::Node::ShouldUpdateStyle
strong
Enumerator
Update 
DoNotUpdate 
Update 
DoNotUpdate 

◆ UserSelectAllTreatment [1/2]

enum WebCore::Node::UserSelectAllTreatment
Enumerator
UserSelectAllDoesNotAffectEditability 
UserSelectAllIsAlwaysNonEditable 
UserSelectAllDoesNotAffectEditability 
UserSelectAllIsAlwaysNonEditable 

◆ UserSelectAllTreatment [2/2]

enum WebCore::Node::UserSelectAllTreatment
Enumerator
UserSelectAllDoesNotAffectEditability 
UserSelectAllIsAlwaysNonEditable 
UserSelectAllDoesNotAffectEditability 
UserSelectAllIsAlwaysNonEditable 

Constructor & Destructor Documentation

◆ ~Node() [1/2]

Node::~Node ( )
virtual

◆ Node() [1/2]

Node::Node ( Document document,
ConstructionType  type 
)
protected

◆ ~Node() [2/2]

virtual WebCore::Node::~Node ( )
virtual

◆ Node() [2/2]

WebCore::Node::Node ( Document ,
ConstructionType   
)
protected

Member Function Documentation

◆ addEventListener() [1/2]

bool Node::addEventListener ( const AtomicString eventType,
Ref< EventListener > &&  listener,
const AddEventListenerOptions options 
)
overridevirtual

Reimplemented from WebCore::EventTarget.

Reimplemented in WebCore::SVGElement.

◆ addEventListener() [2/2]

bool WebCore::Node::addEventListener ( const AtomicString eventType,
Ref< EventListener > &&  ,
const AddEventListenerOptions  
)
overridevirtual

Reimplemented from WebCore::EventTarget.

Reimplemented in WebCore::SVGElement.

◆ addSubresourceAttributeURLs() [1/2]

virtual void WebCore::Node::addSubresourceAttributeURLs ( ListHashSet< URL > &  ) const
inlineprotectedvirtual

◆ addSubresourceAttributeURLs() [2/2]

virtual void WebCore::Node::addSubresourceAttributeURLs ( ListHashSet< URL > &  ) const
inlineprotectedvirtual

◆ after() [1/2]

ExceptionOr< void > Node::after ( Vector< NodeOrString > &&  nodeOrStringVector)

◆ after() [2/2]

ExceptionOr<void> WebCore::Node::after ( Vector< NodeOrString > &&  )

◆ appendChild() [1/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Node::appendChild ( Node newChild)

◆ appendChild() [2/2]

ExceptionOr< void > Node::appendChild ( Node newChild)

◆ approximateMemoryCost() [1/2]

virtual size_t WebCore::Node::approximateMemoryCost ( ) const
inlinevirtual

◆ approximateMemoryCost() [2/2]

virtual size_t WebCore::Node::approximateMemoryCost ( ) const
inlinevirtual

◆ assignedSlot() [1/2]

HTMLSlotElement* WebCore::Node::assignedSlot ( ) const

◆ assignedSlot() [2/2]

HTMLSlotElement * Node::assignedSlot ( ) const

◆ assignedSlotForBindings() [1/2]

HTMLSlotElement* WebCore::Node::assignedSlotForBindings ( ) const

◆ assignedSlotForBindings() [2/2]

HTMLSlotElement * Node::assignedSlotForBindings ( ) const

◆ attributes() [1/2]

NamedNodeMap* WebCore::Node::attributes ( ) const

◆ attributes() [2/2]

NamedNodeMap * Node::attributes ( ) const
inline

◆ baseURI() [1/2]

WEBCORE_EXPORT const URL& WebCore::Node::baseURI ( ) const

◆ baseURI() [2/2]

const URL & Node::baseURI ( ) const

◆ before() [1/2]

ExceptionOr<void> WebCore::Node::before ( Vector< NodeOrString > &&  )

◆ before() [2/2]

ExceptionOr< void > Node::before ( Vector< NodeOrString > &&  nodeOrStringVector)

◆ beginParsingChildren() [1/2]

virtual void WebCore::Node::beginParsingChildren ( )
inlinevirtual

Reimplemented in WebCore::Element, and WebCore::Element.

◆ beginParsingChildren() [2/2]

virtual void WebCore::Node::beginParsingChildren ( )
inlinevirtual

Reimplemented in WebCore::Element, and WebCore::Element.

◆ canContainRangeEndPoint() [1/2]

virtual bool WebCore::Node::canContainRangeEndPoint ( ) const
inlinevirtual

◆ canContainRangeEndPoint() [2/2]

virtual bool WebCore::Node::canContainRangeEndPoint ( ) const
inlinevirtual

◆ canStartSelection() [1/2]

bool Node::canStartSelection ( ) const
virtual

Reimplemented in WebCore::PseudoElement.

◆ canStartSelection() [2/2]

virtual bool WebCore::Node::canStartSelection ( ) const
virtual

Reimplemented in WebCore::PseudoElement.

◆ checkSetPrefix() [1/2]

ExceptionOr< void > Node::checkSetPrefix ( const AtomicString prefix)

◆ checkSetPrefix() [2/2]

ExceptionOr<void> WebCore::Node::checkSetPrefix ( const AtomicString prefix)

◆ childNeedsStyleRecalc() [1/2]

bool WebCore::Node::childNeedsStyleRecalc ( ) const
inline

◆ childNeedsStyleRecalc() [2/2]

bool WebCore::Node::childNeedsStyleRecalc ( ) const
inline

◆ childNodes() [1/2]

RefPtr< NodeList > Node::childNodes ( )

◆ childNodes() [2/2]

WEBCORE_EXPORT RefPtr<NodeList> WebCore::Node::childNodes ( )

◆ childTypeAllowed() [1/2]

virtual bool WebCore::Node::childTypeAllowed ( NodeType  ) const
inlinevirtual

◆ childTypeAllowed() [2/2]

virtual bool WebCore::Node::childTypeAllowed ( NodeType  ) const
inlinevirtual

◆ clearChildNeedsStyleRecalc() [1/2]

void WebCore::Node::clearChildNeedsStyleRecalc ( )
inline

◆ clearChildNeedsStyleRecalc() [2/2]

void WebCore::Node::clearChildNeedsStyleRecalc ( )
inline

◆ clearEventTargetData() [1/2]

void Node::clearEventTargetData ( )
protected

◆ clearEventTargetData() [2/2]

void WebCore::Node::clearEventTargetData ( )
protected

◆ clearFlag() [1/2]

void WebCore::Node::clearFlag ( NodeFlags  mask) const
inlineprotected

◆ clearFlag() [2/2]

void WebCore::Node::clearFlag ( NodeFlags  mask) const
inlineprotected

◆ clearIsParsingChildrenFinished() [1/2]

void WebCore::Node::clearIsParsingChildrenFinished ( )
inlineprotected

◆ clearIsParsingChildrenFinished() [2/2]

void WebCore::Node::clearIsParsingChildrenFinished ( )
inlineprotected

◆ clearNodeLists() [1/2]

void Node::clearNodeLists ( )

◆ clearNodeLists() [2/2]

void WebCore::Node::clearNodeLists ( )

◆ clearRareData() [1/2]

void Node::clearRareData ( )
protected

◆ clearRareData() [2/2]

void WebCore::Node::clearRareData ( )
protected

◆ cloneNode() [1/2]

Ref<Node> WebCore::Node::cloneNode ( bool  deep)
inline

◆ cloneNode() [2/2]

Ref<Node> WebCore::Node::cloneNode ( bool  deep)
inline

◆ cloneNodeForBindings() [1/2]

WEBCORE_EXPORT ExceptionOr<Ref<Node> > WebCore::Node::cloneNodeForBindings ( bool  deep)

◆ cloneNodeForBindings() [2/2]

ExceptionOr< Ref< Node > > Node::cloneNodeForBindings ( bool  deep)

◆ cloneNodeInternal() [1/2]

virtual Ref<Node> WebCore::Node::cloneNodeInternal ( Document ,
CloningOperation   
)
pure virtual

◆ cloneNodeInternal() [2/2]

virtual Ref<Node> WebCore::Node::cloneNodeInternal ( Document ,
CloningOperation   
)
pure virtual

◆ compareDocumentPosition() [1/2]

unsigned short Node::compareDocumentPosition ( Node otherNode)

◆ compareDocumentPosition() [2/2]

WEBCORE_EXPORT unsigned short WebCore::Node::compareDocumentPosition ( Node )

◆ computedStyle() [1/2]

const RenderStyle * Node::computedStyle ( PseudoId  pseudoElementSpecifier = NOPSEUDO)
virtual

Reimplemented in WebCore::Element, and WebCore::Element.

◆ computedStyle() [2/2]

virtual const RenderStyle* WebCore::Node::computedStyle ( PseudoId  pseudoElementSpecifier = NOPSEUDO)
virtual

Reimplemented in WebCore::Element, and WebCore::Element.

◆ computeEditability() [1/2]

Node::Editability Node::computeEditability ( UserSelectAllTreatment  treatment,
ShouldUpdateStyle  shouldUpdateStyle 
) const

◆ computeEditability() [2/2]

WEBCORE_EXPORT Editability WebCore::Node::computeEditability ( UserSelectAllTreatment  ,
ShouldUpdateStyle   
) const

◆ computeNodeIndex() [1/2]

unsigned Node::computeNodeIndex ( ) const

◆ computeNodeIndex() [2/2]

WEBCORE_EXPORT unsigned WebCore::Node::computeNodeIndex ( ) const

◆ connectedSubframeCount() [1/2]

unsigned Node::connectedSubframeCount ( ) const

◆ connectedSubframeCount() [2/2]

unsigned WebCore::Node::connectedSubframeCount ( ) const

◆ containingShadowRoot() [1/2]

ShadowRoot* WebCore::Node::containingShadowRoot ( ) const

◆ containingShadowRoot() [2/2]

ShadowRoot * Node::containingShadowRoot ( ) const

◆ contains() [1/2]

bool Node::contains ( const Node node) const

◆ contains() [2/2]

WEBCORE_EXPORT bool WebCore::Node::contains ( const Node ) const

◆ containsIncludingHostElements() [1/2]

bool Node::containsIncludingHostElements ( const Node node) const

◆ containsIncludingHostElements() [2/2]

bool WebCore::Node::containsIncludingHostElements ( const Node ) const

◆ containsIncludingShadowDOM() [1/2]

bool Node::containsIncludingShadowDOM ( const Node node) const

◆ containsIncludingShadowDOM() [2/2]

bool WebCore::Node::containsIncludingShadowDOM ( const Node ) const

◆ convertFromPage() [1/2]

FloatPoint Node::convertFromPage ( const FloatPoint p) const

◆ convertFromPage() [2/2]

FloatPoint WebCore::Node::convertFromPage ( const FloatPoint ) const

◆ convertNodesOrStringsIntoNode() [1/2]

ExceptionOr<RefPtr<Node> > WebCore::Node::convertNodesOrStringsIntoNode ( Vector< NodeOrString > &&  )
protected

◆ convertNodesOrStringsIntoNode() [2/2]

ExceptionOr< RefPtr< Node > > Node::convertNodesOrStringsIntoNode ( Vector< NodeOrString > &&  nodeOrStringVector)
protected

◆ convertToPage() [1/2]

FloatPoint Node::convertToPage ( const FloatPoint p) const

◆ convertToPage() [2/2]

FloatPoint WebCore::Node::convertToPage ( const FloatPoint ) const

◆ countChildNodes() [1/2]

unsigned Node::countChildNodes ( ) const
inline

◆ countChildNodes() [2/2]

unsigned WebCore::Node::countChildNodes ( ) const

◆ decrementConnectedSubframeCount() [1/2]

void Node::decrementConnectedSubframeCount ( unsigned  amount = 1)

◆ decrementConnectedSubframeCount() [2/2]

void WebCore::Node::decrementConnectedSubframeCount ( unsigned  amount = 1)

◆ defaultEventHandler() [1/2]

void Node::defaultEventHandler ( Event event)
virtual

◆ defaultEventHandler() [2/2]

virtual void WebCore::Node::defaultEventHandler ( Event )
virtual

◆ deprecatedShadowAncestorNode() [1/2]

WEBCORE_EXPORT Node* WebCore::Node::deprecatedShadowAncestorNode ( ) const

◆ deprecatedShadowAncestorNode() [2/2]

Node * Node::deprecatedShadowAncestorNode ( ) const

◆ deref() [1/2]

ALWAYS_INLINE void Node::deref ( )

◆ deref() [2/2]

void WebCore::Node::deref ( )

◆ didMoveToNewDocument() [1/2]

void Node::didMoveToNewDocument ( Document oldDocument)
protectedvirtual

◆ didMoveToNewDocument() [2/2]

virtual void WebCore::Node::didMoveToNewDocument ( Document oldDocument)
protectedvirtual

◆ dispatchBeforeLoadEvent() [1/2]

bool Node::dispatchBeforeLoadEvent ( const String sourceURL)

◆ dispatchBeforeLoadEvent() [2/2]

bool WebCore::Node::dispatchBeforeLoadEvent ( const String sourceURL)

◆ dispatchDOMActivateEvent() [1/2]

bool Node::dispatchDOMActivateEvent ( int  detail,
Event underlyingEvent 
)

◆ dispatchDOMActivateEvent() [2/2]

bool WebCore::Node::dispatchDOMActivateEvent ( int  detail,
Event underlyingEvent 
)

◆ dispatchEvent() [1/2]

bool Node::dispatchEvent ( Event event)
overridevirtual

Reimplemented from WebCore::EventTarget.

◆ dispatchEvent() [2/2]

bool WebCore::Node::dispatchEvent ( Event )
overridevirtual

Reimplemented from WebCore::EventTarget.

◆ dispatchInputEvent() [1/2]

void Node::dispatchInputEvent ( )

◆ dispatchInputEvent() [2/2]

void WebCore::Node::dispatchInputEvent ( )

◆ dispatchScopedEvent() [1/2]

void Node::dispatchScopedEvent ( Event event)

◆ dispatchScopedEvent() [2/2]

void WebCore::Node::dispatchScopedEvent ( Event )

◆ dispatchSubtreeModifiedEvent() [1/2]

void Node::dispatchSubtreeModifiedEvent ( )

◆ dispatchSubtreeModifiedEvent() [2/2]

void WebCore::Node::dispatchSubtreeModifiedEvent ( )

◆ document() [1/2]

Document& WebCore::Node::document ( ) const
inline

◆ document() [2/2]

Document& WebCore::Node::document ( ) const
inline

◆ dumpStatistics() [1/2]

void Node::dumpStatistics ( )
static

◆ dumpStatistics() [2/2]

static void WebCore::Node::dumpStatistics ( )
static

◆ enclosingLinkEventParentOrSelf() [1/2]

Element* WebCore::Node::enclosingLinkEventParentOrSelf ( )

◆ enclosingLinkEventParentOrSelf() [2/2]

Element * Node::enclosingLinkEventParentOrSelf ( )

◆ ensureEventTargetData() [1/2]

EventTargetData & Node::ensureEventTargetData ( )
finalvirtual

Implements WebCore::EventTarget.

◆ ensureEventTargetData() [2/2]

EventTargetData& WebCore::Node::ensureEventTargetData ( )
finalvirtual

Implements WebCore::EventTarget.

◆ ensureRareData() [1/2]

NodeRareData & Node::ensureRareData ( )
inlineprotected

◆ ensureRareData() [2/2]

NodeRareData& WebCore::Node::ensureRareData ( )
protected

◆ eventTargetData() [1/2]

EventTargetData * Node::eventTargetData ( )
finalvirtual

Implements WebCore::EventTarget.

◆ eventTargetData() [2/2]

EventTargetData* WebCore::Node::eventTargetData ( )
finalvirtual

Implements WebCore::EventTarget.

◆ eventTargetDataConcurrently() [1/2]

EventTargetData* WebCore::Node::eventTargetDataConcurrently ( )
finalvirtual

Implements WebCore::EventTarget.

◆ eventTargetDataConcurrently() [2/2]

EventTargetData * Node::eventTargetDataConcurrently ( )
finalvirtual

Implements WebCore::EventTarget.

◆ eventTargetInterface() [1/2]

EventTargetInterface Node::eventTargetInterface ( ) const
overridevirtual

Implements WebCore::EventTarget.

◆ eventTargetInterface() [2/2]

EventTargetInterface WebCore::Node::eventTargetInterface ( ) const
overridevirtual

Implements WebCore::EventTarget.

◆ finishedInsertingSubtree() [1/2]

virtual void WebCore::Node::finishedInsertingSubtree ( )
inlinevirtual

◆ finishedInsertingSubtree() [2/2]

virtual void WebCore::Node::finishedInsertingSubtree ( )
inlinevirtual

◆ finishParsingChildren() [1/2]

virtual void WebCore::Node::finishParsingChildren ( )
inlinevirtual

◆ finishParsingChildren() [2/2]

virtual void WebCore::Node::finishParsingChildren ( )
inlinevirtual

◆ firstChild() [1/2]

Node* WebCore::Node::firstChild ( ) const

◆ firstChild() [2/2]

Node * Node::firstChild ( ) const
inline

◆ firstDescendant() [1/2]

Node* WebCore::Node::firstDescendant ( ) const

◆ firstDescendant() [2/2]

Node * Node::firstDescendant ( ) const

◆ getFlag() [1/2]

bool WebCore::Node::getFlag ( NodeFlags  mask) const
inlineprotected

◆ getFlag() [2/2]

bool WebCore::Node::getFlag ( NodeFlags  mask) const
inlineprotected

◆ getRootNode() [1/2]

Node& WebCore::Node::getRootNode ( const GetRootNodeOptions ) const

◆ getRootNode() [2/2]

Node & Node::getRootNode ( const GetRootNodeOptions options) const

◆ getSubresourceURLs() [1/2]

void WebCore::Node::getSubresourceURLs ( ListHashSet< URL > &  ) const

◆ getSubresourceURLs() [2/2]

void Node::getSubresourceURLs ( ListHashSet< URL > &  urls) const

◆ handleLocalEvents() [1/2]

void Node::handleLocalEvents ( Event event)
virtual

◆ handleLocalEvents() [2/2]

virtual void WebCore::Node::handleLocalEvents ( Event )
virtual

◆ hasAttributes() [1/2]

bool WebCore::Node::hasAttributes ( ) const

◆ hasAttributes() [2/2]

bool Node::hasAttributes ( ) const
inline

◆ hasChildNodes() [1/2]

bool WebCore::Node::hasChildNodes ( ) const
inline

◆ hasChildNodes() [2/2]

bool WebCore::Node::hasChildNodes ( ) const
inline

◆ hasCustomStyleResolveCallbacks() [1/2]

bool WebCore::Node::hasCustomStyleResolveCallbacks ( ) const
inline

◆ hasCustomStyleResolveCallbacks() [2/2]

bool WebCore::Node::hasCustomStyleResolveCallbacks ( ) const
inline

◆ hasEditableStyle() [1/2]

bool WebCore::Node::hasEditableStyle ( UserSelectAllTreatment  treatment = UserSelectAllIsAlwaysNonEditable) const
inline

◆ hasEditableStyle() [2/2]

bool WebCore::Node::hasEditableStyle ( UserSelectAllTreatment  treatment = UserSelectAllIsAlwaysNonEditable) const
inline

◆ hasEventTargetData() [1/2]

bool WebCore::Node::hasEventTargetData ( ) const
inline

◆ hasEventTargetData() [2/2]

bool WebCore::Node::hasEventTargetData ( ) const
inline

◆ hasOneRef() [1/2]

ALWAYS_INLINE bool Node::hasOneRef ( ) const

◆ hasOneRef() [2/2]

bool WebCore::Node::hasOneRef ( ) const

◆ hasRareData() [1/2]

bool WebCore::Node::hasRareData ( ) const
inlineprotected

◆ hasRareData() [2/2]

bool WebCore::Node::hasRareData ( ) const
inlineprotected

◆ hasRichlyEditableStyle() [1/2]

bool WebCore::Node::hasRichlyEditableStyle ( ) const
inline

◆ hasRichlyEditableStyle() [2/2]

bool WebCore::Node::hasRichlyEditableStyle ( ) const
inline

◆ hasSyntheticAttrChildNodes() [1/2]

bool WebCore::Node::hasSyntheticAttrChildNodes ( ) const
inline

◆ hasSyntheticAttrChildNodes() [2/2]

bool WebCore::Node::hasSyntheticAttrChildNodes ( ) const
inline

◆ hasTagName() [1/6]

bool Node::hasTagName ( const HTMLQualifiedName name) const
inline

◆ hasTagName() [2/6]

bool WebCore::Node::hasTagName ( const HTMLQualifiedName ) const

◆ hasTagName() [3/6]

bool WebCore::Node::hasTagName ( const MathMLQualifiedName ) const

◆ hasTagName() [4/6]

bool WebCore::Node::hasTagName ( const MathMLQualifiedName ) const

◆ hasTagName() [5/6]

bool Node::hasTagName ( const SVGQualifiedName name) const
inline

◆ hasTagName() [6/6]

bool WebCore::Node::hasTagName ( const SVGQualifiedName ) const

◆ incrementConnectedSubframeCount() [1/2]

void Node::incrementConnectedSubframeCount ( unsigned  amount = 1)

◆ incrementConnectedSubframeCount() [2/2]

void WebCore::Node::incrementConnectedSubframeCount ( unsigned  amount = 1)

◆ inRenderedDocument() [1/2]

bool WebCore::Node::inRenderedDocument ( ) const

◆ inRenderedDocument() [2/2]

bool Node::inRenderedDocument ( ) const

◆ insertBefore() [1/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Node::insertBefore ( Node newChild,
Node refChild 
)

◆ insertBefore() [2/2]

ExceptionOr< void > Node::insertBefore ( Node newChild,
Node refChild 
)

◆ insertedInto() [1/2]

Node::InsertionNotificationRequest Node::insertedInto ( ContainerNode insertionPoint)
virtual

◆ insertedInto() [2/2]

virtual InsertionNotificationRequest WebCore::Node::insertedInto ( ContainerNode insertionPoint)
virtual

◆ inspect() [1/2]

void Node::inspect ( )

◆ inspect() [2/2]

WEBCORE_EXPORT void WebCore::Node::inspect ( )

◆ invalidateNodeListAndCollectionCachesInAncestors() [1/2]

void Node::invalidateNodeListAndCollectionCachesInAncestors ( const QualifiedName attrName = nullptr,
Element attributeOwnerElement = nullptr 
)

◆ invalidateNodeListAndCollectionCachesInAncestors() [2/2]

void WebCore::Node::invalidateNodeListAndCollectionCachesInAncestors ( const QualifiedName attrName = nullptr,
Element attributeOwnerElement = nullptr 
)

◆ invalidateStyle() [1/2]

void Node::invalidateStyle ( Style::Validity  validity,
Style::InvalidationMode  mode = Style::InvalidationMode::Normal 
)
protected

◆ invalidateStyle() [2/2]

void WebCore::Node::invalidateStyle ( Style::Validity  ,
Style::InvalidationMode  = Style::InvalidationMode::Normal 
)
protected

◆ isAfterPseudoElement() [1/2]

bool WebCore::Node::isAfterPseudoElement ( ) const
inline

◆ isAfterPseudoElement() [2/2]

bool WebCore::Node::isAfterPseudoElement ( ) const
inline

◆ isAttributeNode() [1/2]

virtual bool WebCore::Node::isAttributeNode ( ) const
inlinevirtual

◆ isAttributeNode() [2/2]

virtual bool WebCore::Node::isAttributeNode ( ) const
inlinevirtual

◆ isBeforePseudoElement() [1/2]

bool WebCore::Node::isBeforePseudoElement ( ) const
inline

◆ isBeforePseudoElement() [2/2]

bool WebCore::Node::isBeforePseudoElement ( ) const
inline

◆ isCharacterDataNode() [1/2]

virtual bool WebCore::Node::isCharacterDataNode ( ) const
inlinevirtual

◆ isCharacterDataNode() [2/2]

virtual bool WebCore::Node::isCharacterDataNode ( ) const
inlinevirtual

◆ isClosedShadowHidden() [1/2]

bool WebCore::Node::isClosedShadowHidden ( const Node ) const

◆ isClosedShadowHidden() [2/2]

bool Node::isClosedShadowHidden ( const Node otherNode) const

◆ isConnected() [1/2]

bool WebCore::Node::isConnected ( ) const
inline

◆ isConnected() [2/2]

bool WebCore::Node::isConnected ( ) const
inline

◆ isContainerNode() [1/2]

bool WebCore::Node::isContainerNode ( ) const
inline

◆ isContainerNode() [2/2]

bool WebCore::Node::isContainerNode ( ) const
inline

◆ isContentEditable() [1/2]

bool Node::isContentEditable ( )

◆ isContentEditable() [2/2]

WEBCORE_EXPORT bool WebCore::Node::isContentEditable ( )

◆ isContentRichlyEditable() [1/2]

bool Node::isContentRichlyEditable ( )

◆ isContentRichlyEditable() [2/2]

bool WebCore::Node::isContentRichlyEditable ( )

◆ isCustomElementUpgradeCandidate() [1/2]

bool WebCore::Node::isCustomElementUpgradeCandidate ( ) const
inline

◆ isCustomElementUpgradeCandidate() [2/2]

bool WebCore::Node::isCustomElementUpgradeCandidate ( ) const
inline

◆ isDefaultNamespace() [1/2]

WEBCORE_EXPORT bool WebCore::Node::isDefaultNamespace ( const AtomicString namespaceURI) const

◆ isDefaultNamespace() [2/2]

bool Node::isDefaultNamespace ( const AtomicString namespaceURI) const

◆ isDefinedCustomElement() [1/2]

bool WebCore::Node::isDefinedCustomElement ( ) const
inline

◆ isDefinedCustomElement() [2/2]

bool WebCore::Node::isDefinedCustomElement ( ) const
inline

◆ isDescendantOf() [1/4]

bool Node::isDescendantOf ( const Node other) const

◆ isDescendantOf() [2/4]

WEBCORE_EXPORT bool WebCore::Node::isDescendantOf ( const Node ) const

◆ isDescendantOf() [3/4]

bool WebCore::Node::isDescendantOf ( const Node other) const
inline

◆ isDescendantOf() [4/4]

bool WebCore::Node::isDescendantOf ( const Node other) const
inline

◆ isDescendantOrShadowDescendantOf() [1/2]

bool Node::isDescendantOrShadowDescendantOf ( const Node other) const

◆ isDescendantOrShadowDescendantOf() [2/2]

bool WebCore::Node::isDescendantOrShadowDescendantOf ( const Node ) const

◆ isDocumentFragment() [1/2]

bool WebCore::Node::isDocumentFragment ( ) const
inline

◆ isDocumentFragment() [2/2]

bool WebCore::Node::isDocumentFragment ( ) const
inline

◆ isDocumentNode() [1/2]

bool Node::isDocumentNode ( ) const
inline

◆ isDocumentNode() [2/2]

bool WebCore::Node::isDocumentNode ( ) const

◆ isDocumentTypeNode() [1/2]

bool WebCore::Node::isDocumentTypeNode ( ) const
inline

◆ isDocumentTypeNode() [2/2]

bool WebCore::Node::isDocumentTypeNode ( ) const
inline

◆ isEditingText() [1/2]

bool WebCore::Node::isEditingText ( ) const
inline

◆ isEditingText() [2/2]

bool WebCore::Node::isEditingText ( ) const
inline

◆ isElementNode() [1/2]

bool WebCore::Node::isElementNode ( ) const
inline

◆ isElementNode() [2/2]

bool WebCore::Node::isElementNode ( ) const
inline

◆ isEqualNode() [1/2]

WEBCORE_EXPORT bool WebCore::Node::isEqualNode ( Node ) const

◆ isEqualNode() [2/2]

bool Node::isEqualNode ( Node other) const

◆ isFailedCustomElement() [1/2]

bool WebCore::Node::isFailedCustomElement ( ) const
inline

◆ isFailedCustomElement() [2/2]

bool WebCore::Node::isFailedCustomElement ( ) const
inline

◆ isFrameOwnerElement() [1/2]

virtual bool WebCore::Node::isFrameOwnerElement ( ) const
inlinevirtual

◆ isFrameOwnerElement() [2/2]

virtual bool WebCore::Node::isFrameOwnerElement ( ) const
inlinevirtual

◆ isHTMLElement() [1/2]

bool WebCore::Node::isHTMLElement ( ) const
inline

◆ isHTMLElement() [2/2]

bool WebCore::Node::isHTMLElement ( ) const
inline

◆ isInShadowTree() [1/2]

bool WebCore::Node::isInShadowTree ( ) const
inline

◆ isInShadowTree() [2/2]

bool WebCore::Node::isInShadowTree ( ) const
inline

◆ isInTreeScope() [1/2]

bool WebCore::Node::isInTreeScope ( ) const
inline

◆ isInTreeScope() [2/2]

bool WebCore::Node::isInTreeScope ( ) const
inline

◆ isInUserAgentShadowTree() [1/2]

bool Node::isInUserAgentShadowTree ( ) const

◆ isInUserAgentShadowTree() [2/2]

bool WebCore::Node::isInUserAgentShadowTree ( ) const

◆ isLink() [1/2]

bool WebCore::Node::isLink ( ) const
inline

◆ isLink() [2/2]

bool WebCore::Node::isLink ( ) const
inline

◆ isMathMLElement() [1/2]

bool WebCore::Node::isMathMLElement ( ) const
inline

◆ isMathMLElement() [2/2]

bool WebCore::Node::isMathMLElement ( ) const
inline

◆ isMediaControlElement() [1/2]

virtual bool WebCore::Node::isMediaControlElement ( ) const
inlinevirtual

◆ isMediaControlElement() [2/2]

virtual bool WebCore::Node::isMediaControlElement ( ) const
inlinevirtual

◆ isMediaControls() [1/2]

virtual bool WebCore::Node::isMediaControls ( ) const
inlinevirtual

◆ isMediaControls() [2/2]

virtual bool WebCore::Node::isMediaControls ( ) const
inlinevirtual

◆ isParsingChildrenFinished() [1/2]

bool WebCore::Node::isParsingChildrenFinished ( ) const
inlineprotected

◆ isParsingChildrenFinished() [2/2]

bool WebCore::Node::isParsingChildrenFinished ( ) const
inlineprotected

◆ isPluginElement() [1/2]

virtual bool WebCore::Node::isPluginElement ( ) const
inlinevirtual

◆ isPluginElement() [2/2]

virtual bool WebCore::Node::isPluginElement ( ) const
inlinevirtual

◆ isPseudoElement() [1/2]

bool WebCore::Node::isPseudoElement ( ) const
inline

◆ isPseudoElement() [2/2]

bool WebCore::Node::isPseudoElement ( ) const
inline

◆ isRootEditableElement() [1/2]

bool WebCore::Node::isRootEditableElement ( ) const

◆ isRootEditableElement() [2/2]

bool Node::isRootEditableElement ( ) const

◆ isSameNode() [1/2]

bool WebCore::Node::isSameNode ( Node other) const
inline

◆ isSameNode() [2/2]

bool WebCore::Node::isSameNode ( Node other) const
inline

◆ isShadowRoot() [1/2]

bool WebCore::Node::isShadowRoot ( ) const
inline

◆ isShadowRoot() [2/2]

bool WebCore::Node::isShadowRoot ( ) const
inline

◆ isStyledElement() [1/2]

bool WebCore::Node::isStyledElement ( ) const
inline

◆ isStyledElement() [2/2]

bool WebCore::Node::isStyledElement ( ) const
inline

◆ isSVGElement() [1/2]

bool WebCore::Node::isSVGElement ( ) const
inline

◆ isSVGElement() [2/2]

bool WebCore::Node::isSVGElement ( ) const
inline

◆ isTextNode() [1/2]

bool WebCore::Node::isTextNode ( ) const
inline

◆ isTextNode() [2/2]

bool WebCore::Node::isTextNode ( ) const
inline

◆ isTreeScope() [1/2]

bool WebCore::Node::isTreeScope ( ) const

◆ isTreeScope() [2/2]

bool Node::isTreeScope ( ) const
inline

◆ isUndefinedCustomElement() [1/2]

bool WebCore::Node::isUndefinedCustomElement ( ) const
inline

◆ isUndefinedCustomElement() [2/2]

bool WebCore::Node::isUndefinedCustomElement ( ) const
inline

◆ isUserActionElement() [1/2]

bool WebCore::Node::isUserActionElement ( ) const
inline

◆ isUserActionElement() [2/2]

bool WebCore::Node::isUserActionElement ( ) const
inline

◆ lastChild() [1/2]

Node* WebCore::Node::lastChild ( ) const

◆ lastChild() [2/2]

Node * Node::lastChild ( ) const
inline

◆ lastDescendant() [1/2]

Node* WebCore::Node::lastDescendant ( ) const

◆ lastDescendant() [2/2]

Node * Node::lastDescendant ( ) const

◆ localName() [1/2]

virtual const AtomicString& WebCore::Node::localName ( ) const
virtual

◆ localName() [2/2]

const AtomicString & Node::localName ( ) const
virtual

◆ lookupNamespaceURI() [1/2]

WEBCORE_EXPORT const AtomicString& WebCore::Node::lookupNamespaceURI ( const AtomicString prefix) const

◆ lookupNamespaceURI() [2/2]

const AtomicString & Node::lookupNamespaceURI ( const AtomicString prefix) const

◆ lookupPrefix() [1/2]

WEBCORE_EXPORT const AtomicString& WebCore::Node::lookupPrefix ( const AtomicString namespaceURI) const

◆ lookupPrefix() [2/2]

const AtomicString & Node::lookupPrefix ( const AtomicString namespaceURI) const

◆ maxCharacterOffset() [1/2]

int Node::maxCharacterOffset ( ) const
virtual

◆ maxCharacterOffset() [2/2]

virtual int WebCore::Node::maxCharacterOffset ( ) const
virtual

◆ namespaceURI() [1/2]

virtual const AtomicString& WebCore::Node::namespaceURI ( ) const
virtual

◆ namespaceURI() [2/2]

const AtomicString & Node::namespaceURI ( ) const
virtual

◆ needsStyleRecalc() [1/2]

bool WebCore::Node::needsStyleRecalc ( ) const
inline

◆ needsStyleRecalc() [2/2]

bool WebCore::Node::needsStyleRecalc ( ) const
inline

◆ nextElementSibling() [1/2]

WEBCORE_EXPORT Element* WebCore::Node::nextElementSibling ( ) const

◆ nextElementSibling() [2/2]

Element * Node::nextElementSibling ( ) const

◆ nextSibling() [1/2]

Node* WebCore::Node::nextSibling ( ) const
inline

◆ nextSibling() [2/2]

Node* WebCore::Node::nextSibling ( ) const
inline

◆ nextSiblingMemoryOffset() [1/2]

static ptrdiff_t WebCore::Node::nextSiblingMemoryOffset ( )
inlinestatic

◆ nextSiblingMemoryOffset() [2/2]

static ptrdiff_t WebCore::Node::nextSiblingMemoryOffset ( )
inlinestatic

◆ nodeLists() [1/2]

NodeListsNodeData * Node::nodeLists ( )

◆ nodeLists() [2/2]

NodeListsNodeData* WebCore::Node::nodeLists ( )

◆ nodeName() [1/2]

virtual String WebCore::Node::nodeName ( ) const
pure virtual

◆ nodeName() [2/2]

virtual String WebCore::Node::nodeName ( ) const
pure virtual

◆ nodeType() [1/2]

virtual NodeType WebCore::Node::nodeType ( ) const
pure virtual

◆ nodeType() [2/2]

virtual NodeType WebCore::Node::nodeType ( ) const
pure virtual

◆ nodeValue() [1/2]

String Node::nodeValue ( ) const
virtual

◆ nodeValue() [2/2]

virtual String WebCore::Node::nodeValue ( ) const
virtual

◆ nonBoundaryShadowTreeRootNode() [1/2]

Node* WebCore::Node::nonBoundaryShadowTreeRootNode ( )

◆ nonBoundaryShadowTreeRootNode() [2/2]

Node * Node::nonBoundaryShadowTreeRootNode ( )

◆ nonShadowBoundaryParentNode() [1/2]

ContainerNode* WebCore::Node::nonShadowBoundaryParentNode ( ) const

◆ nonShadowBoundaryParentNode() [2/2]

ContainerNode * Node::nonShadowBoundaryParentNode ( ) const

◆ normalize() [1/2]

WEBCORE_EXPORT void WebCore::Node::normalize ( )

◆ normalize() [2/2]

void Node::normalize ( )

◆ notifyLoadedSheetAndAllCriticalSubresources() [1/2]

virtual void WebCore::Node::notifyLoadedSheetAndAllCriticalSubresources ( bool  )
inlinevirtual

◆ notifyLoadedSheetAndAllCriticalSubresources() [2/2]

virtual void WebCore::Node::notifyLoadedSheetAndAllCriticalSubresources ( bool  )
inlinevirtual

◆ notifyMutationObserversNodeWillDetach() [1/2]

void WebCore::Node::notifyMutationObserversNodeWillDetach ( )

◆ notifyMutationObserversNodeWillDetach() [2/2]

void Node::notifyMutationObserversNodeWillDetach ( )

◆ offsetInCharacters() [1/2]

virtual bool WebCore::Node::offsetInCharacters ( ) const
virtual

◆ offsetInCharacters() [2/2]

bool Node::offsetInCharacters ( ) const
virtual

◆ opaqueRoot() [1/2]

void* WebCore::Node::opaqueRoot ( ) const

◆ opaqueRoot() [2/2]

void * Node::opaqueRoot ( ) const
inline

◆ ownerDocument() [1/2]

Document * Node::ownerDocument ( ) const

◆ ownerDocument() [2/2]

WEBCORE_EXPORT Document* WebCore::Node::ownerDocument ( ) const

◆ parentElement() [1/2]

Element * Node::parentElement ( ) const
inline

◆ parentElement() [2/2]

Element* WebCore::Node::parentElement ( ) const

◆ parentElementInComposedTree() [1/2]

Element* WebCore::Node::parentElementInComposedTree ( ) const

◆ parentElementInComposedTree() [2/2]

Element * Node::parentElementInComposedTree ( ) const

◆ parentInComposedTree() [1/2]

ContainerNode* WebCore::Node::parentInComposedTree ( ) const

◆ parentInComposedTree() [2/2]

ContainerNode * Node::parentInComposedTree ( ) const

◆ parentNode() [1/2]

ContainerNode * Node::parentNode ( ) const
inline

◆ parentNode() [2/2]

ContainerNode* WebCore::Node::parentNode ( ) const

◆ parentNodeGuaranteedHostFree() [1/2]

ContainerNode* WebCore::Node::parentNodeGuaranteedHostFree ( ) const

◆ parentNodeGuaranteedHostFree() [2/2]

ContainerNode * Node::parentNodeGuaranteedHostFree ( ) const
inline

◆ parentNodeMemoryOffset() [1/2]

static ptrdiff_t WebCore::Node::parentNodeMemoryOffset ( )
inlinestatic

◆ parentNodeMemoryOffset() [2/2]

static ptrdiff_t WebCore::Node::parentNodeMemoryOffset ( )
inlinestatic

◆ parentOrShadowHostElement() [1/2]

Element* WebCore::Node::parentOrShadowHostElement ( ) const

◆ parentOrShadowHostElement() [2/2]

Element * Node::parentOrShadowHostElement ( ) const

◆ parentOrShadowHostNode() [1/2]

ContainerNode* WebCore::Node::parentOrShadowHostNode ( ) const

◆ parentOrShadowHostNode() [2/2]

ContainerNode * Node::parentOrShadowHostNode ( ) const
inline

◆ pixelSnappedRenderRect() [1/2]

IntRect WebCore::Node::pixelSnappedRenderRect ( bool *  isReplaced)
inline

◆ pixelSnappedRenderRect() [2/2]

IntRect WebCore::Node::pixelSnappedRenderRect ( bool *  isReplaced)
inline

◆ prefix() [1/2]

virtual const AtomicString& WebCore::Node::prefix ( ) const
virtual

◆ prefix() [2/2]

const AtomicString & Node::prefix ( ) const
virtual

◆ previousElementSibling() [1/2]

WEBCORE_EXPORT Element* WebCore::Node::previousElementSibling ( ) const

◆ previousElementSibling() [2/2]

Element * Node::previousElementSibling ( ) const

◆ previousSibling() [1/2]

Node* WebCore::Node::previousSibling ( ) const
inline

◆ previousSibling() [2/2]

Node* WebCore::Node::previousSibling ( ) const
inline

◆ previousSiblingMemoryOffset() [1/2]

static ptrdiff_t WebCore::Node::previousSiblingMemoryOffset ( )
inlinestatic

◆ previousSiblingMemoryOffset() [2/2]

static ptrdiff_t WebCore::Node::previousSiblingMemoryOffset ( )
inlinestatic

◆ pseudoAwareFirstChild() [1/2]

Node* WebCore::Node::pseudoAwareFirstChild ( ) const

◆ pseudoAwareFirstChild() [2/2]

Node * Node::pseudoAwareFirstChild ( ) const

◆ pseudoAwareLastChild() [1/2]

Node* WebCore::Node::pseudoAwareLastChild ( ) const

◆ pseudoAwareLastChild() [2/2]

Node * Node::pseudoAwareLastChild ( ) const

◆ pseudoAwareNextSibling() [1/2]

Node* WebCore::Node::pseudoAwareNextSibling ( ) const

◆ pseudoAwareNextSibling() [2/2]

Node * Node::pseudoAwareNextSibling ( ) const

◆ pseudoAwarePreviousSibling() [1/2]

Node* WebCore::Node::pseudoAwarePreviousSibling ( ) const

◆ pseudoAwarePreviousSibling() [2/2]

Node * Node::pseudoAwarePreviousSibling ( ) const

◆ pseudoId() [1/2]

PseudoId WebCore::Node::pseudoId ( ) const
inline

◆ pseudoId() [2/2]

PseudoId WebCore::Node::pseudoId ( ) const
inline

◆ rareData() [1/2]

NodeRareData* WebCore::Node::rareData ( ) const
protected

◆ rareData() [2/2]

NodeRareData * Node::rareData ( ) const
inlineprotected

◆ ref() [1/2]

ALWAYS_INLINE void Node::ref ( )

◆ ref() [2/2]

void WebCore::Node::ref ( )

◆ refCount() [1/2]

ALWAYS_INLINE int Node::refCount ( void  ) const

◆ refCount() [2/2]

int WebCore::Node::refCount ( ) const

◆ registeredMutationObservers() [1/2]

HashMap< MutationObserver *, MutationRecordDeliveryOptions > Node::registeredMutationObservers ( MutationObserver::MutationType  type,
const QualifiedName attributeName 
)

◆ registeredMutationObservers() [2/2]

HashMap<MutationObserver*, MutationRecordDeliveryOptions> WebCore::Node::registeredMutationObservers ( MutationObserver::MutationType  ,
const QualifiedName attributeName 
)

◆ registerMutationObserver() [1/2]

void WebCore::Node::registerMutationObserver ( MutationObserver ,
MutationObserverOptions  ,
const HashSet< AtomicString > &  attributeFilter 
)

◆ registerMutationObserver() [2/2]

void Node::registerMutationObserver ( MutationObserver observer,
MutationObserverOptions  options,
const HashSet< AtomicString > &  attributeFilter 
)

◆ registerTransientMutationObserver() [1/2]

void WebCore::Node::registerTransientMutationObserver ( MutationObserverRegistration )

◆ registerTransientMutationObserver() [2/2]

void Node::registerTransientMutationObserver ( MutationObserverRegistration registration)

◆ remove() [1/2]

ExceptionOr< void > Node::remove ( void  )

◆ remove() [2/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Node::remove ( )

◆ removeChild() [1/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Node::removeChild ( Node child)

◆ removeChild() [2/2]

ExceptionOr< void > Node::removeChild ( Node child)

◆ removedFrom() [1/2]

void Node::removedFrom ( ContainerNode insertionPoint)
virtual

◆ removedFrom() [2/2]

virtual void WebCore::Node::removedFrom ( ContainerNode insertionPoint)
virtual

◆ removeEventListener() [1/2]

bool WebCore::Node::removeEventListener ( const AtomicString eventType,
EventListener ,
const ListenerOptions  
)
overridevirtual

Reimplemented from WebCore::EventTarget.

Reimplemented in WebCore::SVGElement.

◆ removeEventListener() [2/2]

bool Node::removeEventListener ( const AtomicString eventType,
EventListener listener,
const ListenerOptions options 
)
overridevirtual

Reimplemented from WebCore::EventTarget.

Reimplemented in WebCore::SVGElement.

◆ renderBox() [1/2]

WEBCORE_EXPORT RenderBox* WebCore::Node::renderBox ( ) const

◆ renderBox() [2/2]

RenderBox * Node::renderBox ( ) const

◆ renderBoxModelObject() [1/2]

RenderBoxModelObject * Node::renderBoxModelObject ( ) const

◆ renderBoxModelObject() [2/2]

RenderBoxModelObject* WebCore::Node::renderBoxModelObject ( ) const

◆ renderer() [1/2]

RenderObject* WebCore::Node::renderer ( ) const
inline

◆ renderer() [2/2]

RenderObject* WebCore::Node::renderer ( ) const
inline

◆ renderRect() [1/2]

LayoutRect Node::renderRect ( bool *  isReplaced)

◆ renderRect() [2/2]

WEBCORE_EXPORT LayoutRect WebCore::Node::renderRect ( bool *  isReplaced)

◆ renderStyle() [1/2]

const RenderStyle * Node::renderStyle ( ) const
inline

◆ renderStyle() [2/2]

const RenderStyle* WebCore::Node::renderStyle ( ) const

◆ replaceChild() [1/2]

ExceptionOr< void > Node::replaceChild ( Node newChild,
Node oldChild 
)

◆ replaceChild() [2/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Node::replaceChild ( Node newChild,
Node oldChild 
)

◆ replaceWith() [1/2]

ExceptionOr<void> WebCore::Node::replaceWith ( Vector< NodeOrString > &&  )

◆ replaceWith() [2/2]

ExceptionOr< void > Node::replaceWith ( Vector< NodeOrString > &&  nodeOrStringVector)

◆ rootEditableElement() [1/2]

Element * Node::rootEditableElement ( ) const

◆ rootEditableElement() [2/2]

WEBCORE_EXPORT Element* WebCore::Node::rootEditableElement ( ) const

◆ rootNode() [1/2]

Node& WebCore::Node::rootNode ( ) const

◆ rootNode() [2/2]

Node & Node::rootNode ( ) const

◆ scriptExecutionContext() [1/2]

ScriptExecutionContext* WebCore::Node::scriptExecutionContext ( ) const
finalvirtual

Implements WebCore::EventTarget.

◆ scriptExecutionContext() [2/2]

ScriptExecutionContext * Node::scriptExecutionContext ( ) const
inlinefinalvirtual

Implements WebCore::EventTarget.

◆ selfOrAncestorHasDirAutoAttribute() [1/2]

bool WebCore::Node::selfOrAncestorHasDirAutoAttribute ( ) const
inline

◆ selfOrAncestorHasDirAutoAttribute() [2/2]

bool WebCore::Node::selfOrAncestorHasDirAutoAttribute ( ) const
inline

◆ setChildNeedsStyleRecalc() [1/2]

void WebCore::Node::setChildNeedsStyleRecalc ( )
inline

◆ setChildNeedsStyleRecalc() [2/2]

void WebCore::Node::setChildNeedsStyleRecalc ( )
inline

◆ setFlag() [1/4]

void WebCore::Node::setFlag ( bool  f,
NodeFlags  mask 
) const
inlineprotected

◆ setFlag() [2/4]

void WebCore::Node::setFlag ( bool  f,
NodeFlags  mask 
) const
inlineprotected

◆ setFlag() [3/4]

void WebCore::Node::setFlag ( NodeFlags  mask) const
inlineprotected

◆ setFlag() [4/4]

void WebCore::Node::setFlag ( NodeFlags  mask) const
inlineprotected

◆ setHasCustomStyleResolveCallbacks() [1/2]

void WebCore::Node::setHasCustomStyleResolveCallbacks ( )
inlineprotected

◆ setHasCustomStyleResolveCallbacks() [2/2]

void WebCore::Node::setHasCustomStyleResolveCallbacks ( )
inlineprotected

◆ setHasEventTargetData() [1/2]

void WebCore::Node::setHasEventTargetData ( bool  flag)
inline

◆ setHasEventTargetData() [2/2]

void WebCore::Node::setHasEventTargetData ( bool  flag)
inline

◆ setHasSyntheticAttrChildNodes() [1/2]

void WebCore::Node::setHasSyntheticAttrChildNodes ( bool  flag)
inline

◆ setHasSyntheticAttrChildNodes() [2/2]

void WebCore::Node::setHasSyntheticAttrChildNodes ( bool  flag)
inline

◆ setHasValidStyle() [1/2]

void Node::setHasValidStyle ( )
inline

◆ setHasValidStyle() [2/2]

void WebCore::Node::setHasValidStyle ( )

◆ setIsLink() [1/2]

void WebCore::Node::setIsLink ( bool  flag)
inline

◆ setIsLink() [2/2]

void WebCore::Node::setIsLink ( bool  flag)
inline

◆ setIsParsingChildrenFinished() [1/2]

void WebCore::Node::setIsParsingChildrenFinished ( )
inlineprotected

◆ setIsParsingChildrenFinished() [2/2]

void WebCore::Node::setIsParsingChildrenFinished ( )
inlineprotected

◆ setNextSibling() [1/2]

void WebCore::Node::setNextSibling ( Node next)
inline

◆ setNextSibling() [2/2]

void WebCore::Node::setNextSibling ( Node next)
inline

◆ setNodeValue() [1/2]

virtual ExceptionOr<void> WebCore::Node::setNodeValue ( const String )
virtual

◆ setNodeValue() [2/2]

ExceptionOr< void > Node::setNodeValue ( const String )
virtual

◆ setParentNode() [1/2]

void WebCore::Node::setParentNode ( ContainerNode )

◆ setParentNode() [2/2]

void Node::setParentNode ( ContainerNode parent)
inline

◆ setPrefix() [1/2]

ExceptionOr< void > Node::setPrefix ( const AtomicString )
virtual

Reimplemented in WebCore::Element, and WebCore::Element.

◆ setPrefix() [2/2]

virtual ExceptionOr<void> WebCore::Node::setPrefix ( const AtomicString )
virtual

Reimplemented in WebCore::Element, and WebCore::Element.

◆ setPreviousSibling() [1/2]

void WebCore::Node::setPreviousSibling ( Node previous)
inline

◆ setPreviousSibling() [2/2]

void WebCore::Node::setPreviousSibling ( Node previous)
inline

◆ setRenderer() [1/2]

void WebCore::Node::setRenderer ( RenderObject renderer)
inline

◆ setRenderer() [2/2]

void WebCore::Node::setRenderer ( RenderObject renderer)
inline

◆ setSelfOrAncestorHasDirAutoAttribute() [1/2]

void WebCore::Node::setSelfOrAncestorHasDirAutoAttribute ( bool  flag)
inline

◆ setSelfOrAncestorHasDirAutoAttribute() [2/2]

void WebCore::Node::setSelfOrAncestorHasDirAutoAttribute ( bool  flag)
inline

◆ setTextContent() [1/2]

ExceptionOr< void > Node::setTextContent ( const String text)

◆ setTextContent() [2/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::Node::setTextContent ( const String )

◆ setTreeScope() [1/2]

void WebCore::Node::setTreeScope ( TreeScope scope)
inlineprotected

◆ setTreeScope() [2/2]

void WebCore::Node::setTreeScope ( TreeScope scope)
inlineprotected

◆ setUserActionElement() [1/2]

void WebCore::Node::setUserActionElement ( bool  flag)
inline

◆ setUserActionElement() [2/2]

void WebCore::Node::setUserActionElement ( bool  flag)
inline

◆ shadowHost() [1/2]

WEBCORE_EXPORT Element* WebCore::Node::shadowHost ( ) const

◆ shadowHost() [2/2]

Element * Node::shadowHost ( ) const

◆ shadowIncludingRoot() [1/2]

Node& WebCore::Node::shadowIncludingRoot ( ) const

◆ shadowIncludingRoot() [2/2]

Node & Node::shadowIncludingRoot ( ) const

◆ shadowRoot() [1/2]

ShadowRoot* WebCore::Node::shadowRoot ( ) const

◆ shadowRoot() [2/2]

ShadowRoot * Node::shadowRoot ( ) const
inline

◆ sheetLoaded() [1/2]

virtual bool WebCore::Node::sheetLoaded ( )
inlinevirtual

◆ sheetLoaded() [2/2]

virtual bool WebCore::Node::sheetLoaded ( )
inlinevirtual

◆ shouldSelectOnMouseDown() [1/2]

virtual bool WebCore::Node::shouldSelectOnMouseDown ( )
inlinevirtual

◆ shouldSelectOnMouseDown() [2/2]

virtual bool WebCore::Node::shouldSelectOnMouseDown ( )
inlinevirtual

◆ startIgnoringLeaks() [1/2]

static WEBCORE_EXPORT void WebCore::Node::startIgnoringLeaks ( )
static

◆ startIgnoringLeaks() [2/2]

void Node::startIgnoringLeaks ( )
static

◆ startLoadingDynamicSheet() [1/2]

virtual void WebCore::Node::startLoadingDynamicSheet ( )
inlinevirtual

◆ startLoadingDynamicSheet() [2/2]

virtual void WebCore::Node::startLoadingDynamicSheet ( )
inlinevirtual

◆ stopIgnoringLeaks() [1/2]

static WEBCORE_EXPORT void WebCore::Node::stopIgnoringLeaks ( )
static

◆ stopIgnoringLeaks() [2/2]

void Node::stopIgnoringLeaks ( )
static

◆ styleIsAffectedByPreviousSibling() [1/2]

bool WebCore::Node::styleIsAffectedByPreviousSibling ( ) const
inline

◆ styleIsAffectedByPreviousSibling() [2/2]

bool WebCore::Node::styleIsAffectedByPreviousSibling ( ) const
inline

◆ styleResolutionShouldRecompositeLayer() [1/2]

bool Node::styleResolutionShouldRecompositeLayer ( ) const
inline

◆ styleResolutionShouldRecompositeLayer() [2/2]

bool WebCore::Node::styleResolutionShouldRecompositeLayer ( ) const

◆ styleValidity() [1/2]

Style::Validity Node::styleValidity ( ) const
inline

◆ styleValidity() [2/2]

Style::Validity WebCore::Node::styleValidity ( ) const

◆ textContent() [1/2]

String Node::textContent ( bool  convertBRsToNewlines = false) const

◆ textContent() [2/2]

WEBCORE_EXPORT String WebCore::Node::textContent ( bool  convertBRsToNewlines = false) const

◆ textRects() [1/2]

WEBCORE_EXPORT void WebCore::Node::textRects ( Vector< IntRect > &  ) const

◆ textRects() [2/2]

void Node::textRects ( Vector< IntRect > &  rects) const

◆ toNode() [1/2]

Node* WebCore::Node::toNode ( )
overridevirtual

Reimplemented from WebCore::EventTarget.

◆ toNode() [2/2]

Node * Node::toNode ( )
overridevirtual

Reimplemented from WebCore::EventTarget.

◆ traverseToChildAt() [1/2]

Node * Node::traverseToChildAt ( unsigned  index) const
inline

◆ traverseToChildAt() [2/2]

Node* WebCore::Node::traverseToChildAt ( unsigned  ) const

◆ treeScope() [1/2]

TreeScope& WebCore::Node::treeScope ( ) const
inline

◆ treeScope() [2/2]

TreeScope& WebCore::Node::treeScope ( ) const
inline

◆ treeScopeMemoryOffset() [1/2]

static ptrdiff_t WebCore::Node::treeScopeMemoryOffset ( )
inlinestatic

◆ treeScopeMemoryOffset() [2/2]

static ptrdiff_t WebCore::Node::treeScopeMemoryOffset ( )
inlinestatic

◆ unregisterMutationObserver() [1/2]

void WebCore::Node::unregisterMutationObserver ( MutationObserverRegistration )

◆ unregisterMutationObserver() [2/2]

void Node::unregisterMutationObserver ( MutationObserverRegistration registration)

◆ unregisterTransientMutationObserver() [1/2]

void WebCore::Node::unregisterTransientMutationObserver ( MutationObserverRegistration )

◆ unregisterTransientMutationObserver() [2/2]

void Node::unregisterTransientMutationObserver ( MutationObserverRegistration registration)

◆ updateAncestorConnectedSubframeCountForInsertion() [1/2]

void WebCore::Node::updateAncestorConnectedSubframeCountForInsertion ( ) const

◆ updateAncestorConnectedSubframeCountForInsertion() [2/2]

void Node::updateAncestorConnectedSubframeCountForInsertion ( ) const

◆ updateAncestorConnectedSubframeCountForRemoval() [1/2]

void WebCore::Node::updateAncestorConnectedSubframeCountForRemoval ( ) const

◆ updateAncestorConnectedSubframeCountForRemoval() [2/2]

void Node::updateAncestorConnectedSubframeCountForRemoval ( ) const

◆ updateAncestorsForStyleRecalc() [1/2]

void Node::updateAncestorsForStyleRecalc ( )
inlineprotected

◆ updateAncestorsForStyleRecalc() [2/2]

void WebCore::Node::updateAncestorsForStyleRecalc ( )
protected

◆ willBeDeletedFrom() [1/2]

void Node::willBeDeletedFrom ( Document document)

◆ willBeDeletedFrom() [2/2]

void WebCore::Node::willBeDeletedFrom ( Document )

◆ willRespondToMouseClickEvents() [1/2]

bool Node::willRespondToMouseClickEvents ( )
virtual

◆ willRespondToMouseClickEvents() [2/2]

virtual bool WebCore::Node::willRespondToMouseClickEvents ( )
virtual

◆ willRespondToMouseMoveEvents() [1/2]

bool Node::willRespondToMouseMoveEvents ( )
virtual

◆ willRespondToMouseMoveEvents() [2/2]

virtual bool WebCore::Node::willRespondToMouseMoveEvents ( )
virtual

◆ willRespondToMouseWheelEvents() [1/2]

bool Node::willRespondToMouseWheelEvents ( )
virtual

◆ willRespondToMouseWheelEvents() [2/2]

virtual bool WebCore::Node::willRespondToMouseWheelEvents ( )
virtual

Friends And Related Function Documentation

◆ Document

Document
friend

GenericDocument with UTF8 encoding.

◆ TreeScope

TreeScope
friend

◆ TreeScopeAdopter

Member Data Documentation

◆ m_adoptionIsRequired

bool Node::m_adoptionIsRequired { true }

◆ m_deletionHasBegun

bool Node::m_deletionHasBegun { false }

◆ m_inRemovedLastRefFunction

bool Node::m_inRemovedLastRefFunction { false }

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