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

#include <Attr.h>

Inheritance diagram for WebCore::Attr:
WebCore::ContainerNode WebCore::ContainerNode WebCore::Node WebCore::Node WebCore::Node WebCore::Node WebCore::EventTarget WebCore::EventTarget WebCore::EventTarget WebCore::EventTarget WebCore::EventTarget WebCore::EventTarget WebCore::EventTarget WebCore::EventTarget

Public Member Functions

virtual ~Attr ()
 
String name () const
 
bool specified () const
 
ElementownerElement () const
 
WEBCORE_EXPORT const AtomicStringvalue () const
 
void setValue (const AtomicString &)
 
const AtomicStringvalueForBindings () const
 
WEBCORE_EXPORT void setValueForBindings (const AtomicString &)
 
const QualifiedNamequalifiedName () const
 
WEBCORE_EXPORT CSSStyleDeclarationstyle ()
 
void attachToElement (Element &)
 
void detachFromElementWithValue (const AtomicString &)
 
const AtomicStringnamespaceURI () const final
 
const AtomicStringlocalName () const final
 
const AtomicStringprefix () const final
 
virtual ~Attr ()
 
String name () const
 
bool specified () const
 
ElementownerElement () const
 
WEBCORE_EXPORT const AtomicStringvalue () const
 
void setValue (const AtomicString &)
 
const AtomicStringvalueForBindings () const
 
WEBCORE_EXPORT void setValueForBindings (const AtomicString &)
 
const QualifiedNamequalifiedName () const
 
WEBCORE_EXPORT CSSStyleDeclarationstyle ()
 
void attachToElement (Element &)
 
void detachFromElementWithValue (const AtomicString &)
 
const AtomicStringnamespaceURI () const final
 
const AtomicStringlocalName () const final
 
const AtomicStringprefix () const final
 
- Public Member Functions inherited from WebCore::ContainerNode
virtual ~ContainerNode ()
 
NodefirstChild () const
 
NodelastChild () const
 
bool hasChildNodes () const
 
bool hasOneChild () const
 
bool directChildNeedsStyleRecalc () const
 
void setDirectChildNeedsStyleRecalc ()
 
WEBCORE_EXPORT unsigned countChildNodes () const
 
WEBCORE_EXPORT NodetraverseToChildAt (unsigned) const
 
ExceptionOr< voidinsertBefore (Node &newChild, Node *refChild)
 
ExceptionOr< voidreplaceChild (Node &newChild, Node &oldChild)
 
WEBCORE_EXPORT ExceptionOr< voidremoveChild (Node &child)
 
WEBCORE_EXPORT ExceptionOr< voidappendChild (Node &newChild)
 
void replaceAllChildren (Ref< Node > &&)
 
void replaceAllChildren (std::nullptr_t)
 
void parserAppendChild (Node &)
 
void parserRemoveChild (Node &)
 
void parserInsertBefore (Node &newChild, Node &refChild)
 
void removeChildren ()
 
void takeAllChildrenFrom (ContainerNode *)
 
void cloneChildNodes (ContainerNode &clone)
 
void disconnectDescendantFrames ()
 
RenderElementrenderer () const
 
virtual LayoutRect absoluteEventHandlerBounds (bool &)
 
WEBCORE_EXPORT ExceptionOr< Element * > querySelector (const String &selectors)
 
WEBCORE_EXPORT ExceptionOr< Ref< NodeList > > querySelectorAll (const String &selectors)
 
WEBCORE_EXPORT Ref< HTMLCollectiongetElementsByTagName (const AtomicString &)
 
WEBCORE_EXPORT Ref< HTMLCollectiongetElementsByTagNameNS (const AtomicString &namespaceURI, const AtomicString &localName)
 
WEBCORE_EXPORT Ref< NodeListgetElementsByName (const String &elementName)
 
WEBCORE_EXPORT Ref< HTMLCollectiongetElementsByClassName (const AtomicString &classNames)
 
Ref< RadioNodeListradioNodeList (const AtomicString &)
 
WEBCORE_EXPORT Ref< HTMLCollectionchildren ()
 
WEBCORE_EXPORT ElementfirstElementChild () const
 
WEBCORE_EXPORT ElementlastElementChild () const
 
WEBCORE_EXPORT unsigned childElementCount () const
 
ExceptionOr< voidappend (Vector< NodeOrString > &&)
 
ExceptionOr< voidprepend (Vector< NodeOrString > &&)
 
ExceptionOr< voidensurePreInsertionValidity (Node &newChild, Node *refChild)
 
virtual ~ContainerNode ()
 
NodefirstChild () const
 
NodelastChild () const
 
bool hasChildNodes () const
 
bool hasOneChild () const
 
bool directChildNeedsStyleRecalc () const
 
void setDirectChildNeedsStyleRecalc ()
 
WEBCORE_EXPORT unsigned countChildNodes () const
 
WEBCORE_EXPORT NodetraverseToChildAt (unsigned) const
 
ExceptionOr< voidinsertBefore (Node &newChild, Node *refChild)
 
ExceptionOr< voidreplaceChild (Node &newChild, Node &oldChild)
 
WEBCORE_EXPORT ExceptionOr< voidremoveChild (Node &child)
 
WEBCORE_EXPORT ExceptionOr< voidappendChild (Node &newChild)
 
void replaceAllChildren (Ref< Node > &&)
 
void replaceAllChildren (std::nullptr_t)
 
void parserAppendChild (Node &)
 
void parserRemoveChild (Node &)
 
void parserInsertBefore (Node &newChild, Node &refChild)
 
void removeChildren ()
 
void takeAllChildrenFrom (ContainerNode *)
 
void cloneChildNodes (ContainerNode &clone)
 
void disconnectDescendantFrames ()
 
RenderElementrenderer () const
 
virtual LayoutRect absoluteEventHandlerBounds (bool &)
 
WEBCORE_EXPORT ExceptionOr< Element * > querySelector (const String &selectors)
 
WEBCORE_EXPORT ExceptionOr< Ref< NodeList > > querySelectorAll (const String &selectors)
 
WEBCORE_EXPORT Ref< HTMLCollectiongetElementsByTagName (const AtomicString &)
 
WEBCORE_EXPORT Ref< HTMLCollectiongetElementsByTagNameNS (const AtomicString &namespaceURI, const AtomicString &localName)
 
WEBCORE_EXPORT Ref< NodeListgetElementsByName (const String &elementName)
 
WEBCORE_EXPORT Ref< HTMLCollectiongetElementsByClassName (const AtomicString &classNames)
 
Ref< RadioNodeListradioNodeList (const AtomicString &)
 
WEBCORE_EXPORT Ref< HTMLCollectionchildren ()
 
WEBCORE_EXPORT ElementfirstElementChild () const
 
WEBCORE_EXPORT ElementlastElementChild () const
 
WEBCORE_EXPORT unsigned childElementCount () const
 
ExceptionOr< voidappend (Vector< NodeOrString > &&)
 
ExceptionOr< voidprepend (Vector< NodeOrString > &&)
 
ExceptionOr< voidensurePreInsertionValidity (Node &newChild, Node *refChild)
 
- Public Member Functions inherited from WebCore::Node
virtual ~Node ()
 
void willBeDeletedFrom (Document &)
 
bool hasTagName (const HTMLQualifiedName &) const
 
bool hasTagName (const MathMLQualifiedName &) const
 
bool hasTagName (const SVGQualifiedName &) const
 
virtual 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
 
Ref< NodecloneNode (bool deep)
 
WEBCORE_EXPORT ExceptionOr< Ref< Node > > cloneNodeForBindings (bool deep)
 
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 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
 
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 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
 
Ref< NodecloneNode (bool deep)
 
WEBCORE_EXPORT ExceptionOr< Ref< Node > > cloneNodeForBindings (bool deep)
 
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 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
 
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 Ref< Attrcreate (Element &, const QualifiedName &)
 
static Ref< Attrcreate (Document &, const QualifiedName &, const AtomicString &value)
 
static Ref< Attrcreate (Element &, const QualifiedName &)
 
static Ref< Attrcreate (Document &, const QualifiedName &, const AtomicString &value)
 
- Static Public Member Functions inherited from WebCore::ContainerNode
static ptrdiff_t firstChildMemoryOffset ()
 
static ptrdiff_t lastChildMemoryOffset ()
 
static ptrdiff_t firstChildMemoryOffset ()
 
static ptrdiff_t lastChildMemoryOffset ()
 
- Static Public Member Functions inherited from WebCore::Node
static WEBCORE_EXPORT void startIgnoringLeaks ()
 
static WEBCORE_EXPORT void stopIgnoringLeaks ()
 
static void dumpStatistics ()
 
static ptrdiff_t parentNodeMemoryOffset ()
 
static ptrdiff_t previousSiblingMemoryOffset ()
 
static ptrdiff_t nextSiblingMemoryOffset ()
 
static ptrdiff_t treeScopeMemoryOffset ()
 
static WEBCORE_EXPORT void startIgnoringLeaks ()
 
static WEBCORE_EXPORT void stopIgnoringLeaks ()
 
static void dumpStatistics ()
 
static ptrdiff_t parentNodeMemoryOffset ()
 
static ptrdiff_t previousSiblingMemoryOffset ()
 
static ptrdiff_t nextSiblingMemoryOffset ()
 
static ptrdiff_t treeScopeMemoryOffset ()
 
- Static Public Member Functions inherited from WebCore::ScriptWrappable
template<typename Derived >
static ptrdiff_t offsetOfWrapper ()
 
template<typename Derived >
static ptrdiff_t offsetOfWrapper ()
 

Additional Inherited Members

- Public Types inherited from WebCore::ContainerNode
enum  ChildChangeType {
  ElementInserted, ElementRemoved, TextInserted, TextRemoved,
  TextChanged, AllChildrenRemoved, NonContentsChildRemoved, NonContentsChildInserted,
  AllChildrenReplaced, ElementInserted, ElementRemoved, TextInserted,
  TextRemoved, TextChanged, AllChildrenRemoved, NonContentsChildRemoved,
  NonContentsChildInserted, AllChildrenReplaced
}
 
enum  ChildChangeSource { ChildChangeSourceParser, ChildChangeSourceAPI, ChildChangeSourceParser, ChildChangeSourceAPI }
 
enum  ChildChangeType {
  ElementInserted, ElementRemoved, TextInserted, TextRemoved,
  TextChanged, AllChildrenRemoved, NonContentsChildRemoved, NonContentsChildInserted,
  AllChildrenReplaced, ElementInserted, ElementRemoved, TextInserted,
  TextRemoved, TextChanged, AllChildrenRemoved, NonContentsChildRemoved,
  NonContentsChildInserted, AllChildrenReplaced
}
 
enum  ChildChangeSource { ChildChangeSourceParser, ChildChangeSourceAPI, ChildChangeSourceParser, ChildChangeSourceAPI }
 
- Public Types inherited from WebCore::Node
enum  NodeType {
  ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3, CDATA_SECTION_NODE = 4,
  PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8, DOCUMENT_NODE = 9, DOCUMENT_TYPE_NODE = 10,
  DOCUMENT_FRAGMENT_NODE = 11, ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3,
  CDATA_SECTION_NODE = 4, PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8, DOCUMENT_NODE = 9,
  DOCUMENT_TYPE_NODE = 10, DOCUMENT_FRAGMENT_NODE = 11
}
 
enum  DeprecatedNodeType {
  ENTITY_REFERENCE_NODE = 5, ENTITY_NODE = 6, NOTATION_NODE = 12, ENTITY_REFERENCE_NODE = 5,
  ENTITY_NODE = 6, NOTATION_NODE = 12
}
 
enum  DocumentPosition {
  DOCUMENT_POSITION_EQUIVALENT = 0x00, DOCUMENT_POSITION_DISCONNECTED = 0x01, DOCUMENT_POSITION_PRECEDING = 0x02, DOCUMENT_POSITION_FOLLOWING = 0x04,
  DOCUMENT_POSITION_CONTAINS = 0x08, DOCUMENT_POSITION_CONTAINED_BY = 0x10, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20, DOCUMENT_POSITION_EQUIVALENT = 0x00,
  DOCUMENT_POSITION_DISCONNECTED = 0x01, DOCUMENT_POSITION_PRECEDING = 0x02, DOCUMENT_POSITION_FOLLOWING = 0x04, DOCUMENT_POSITION_CONTAINS = 0x08,
  DOCUMENT_POSITION_CONTAINED_BY = 0x10, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
}
 
enum  CloningOperation {
  CloningOperation::OnlySelf, CloningOperation::SelfWithTemplateContent, CloningOperation::Everything, CloningOperation::OnlySelf,
  CloningOperation::SelfWithTemplateContent, CloningOperation::Everything
}
 
enum  UserSelectAllTreatment { UserSelectAllDoesNotAffectEditability, UserSelectAllIsAlwaysNonEditable, UserSelectAllDoesNotAffectEditability, UserSelectAllIsAlwaysNonEditable }
 
enum  Editability {
  Editability::ReadOnly, Editability::CanEditPlainText, Editability::CanEditRichly, Editability::ReadOnly,
  Editability::CanEditPlainText, Editability::CanEditRichly
}
 
enum  ShouldUpdateStyle { ShouldUpdateStyle::Update, ShouldUpdateStyle::DoNotUpdate, ShouldUpdateStyle::Update, ShouldUpdateStyle::DoNotUpdate }
 
enum  InsertionNotificationRequest { InsertionDone, InsertionShouldCallFinishedInsertingSubtree, InsertionDone, InsertionShouldCallFinishedInsertingSubtree }
 
enum  NodeType {
  ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3, CDATA_SECTION_NODE = 4,
  PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8, DOCUMENT_NODE = 9, DOCUMENT_TYPE_NODE = 10,
  DOCUMENT_FRAGMENT_NODE = 11, ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3,
  CDATA_SECTION_NODE = 4, PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8, DOCUMENT_NODE = 9,
  DOCUMENT_TYPE_NODE = 10, DOCUMENT_FRAGMENT_NODE = 11
}
 
enum  DeprecatedNodeType {
  ENTITY_REFERENCE_NODE = 5, ENTITY_NODE = 6, NOTATION_NODE = 12, ENTITY_REFERENCE_NODE = 5,
  ENTITY_NODE = 6, NOTATION_NODE = 12
}
 
enum  DocumentPosition {
  DOCUMENT_POSITION_EQUIVALENT = 0x00, DOCUMENT_POSITION_DISCONNECTED = 0x01, DOCUMENT_POSITION_PRECEDING = 0x02, DOCUMENT_POSITION_FOLLOWING = 0x04,
  DOCUMENT_POSITION_CONTAINS = 0x08, DOCUMENT_POSITION_CONTAINED_BY = 0x10, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20, DOCUMENT_POSITION_EQUIVALENT = 0x00,
  DOCUMENT_POSITION_DISCONNECTED = 0x01, DOCUMENT_POSITION_PRECEDING = 0x02, DOCUMENT_POSITION_FOLLOWING = 0x04, DOCUMENT_POSITION_CONTAINS = 0x08,
  DOCUMENT_POSITION_CONTAINED_BY = 0x10, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
}
 
enum  CloningOperation {
  CloningOperation::OnlySelf, CloningOperation::SelfWithTemplateContent, CloningOperation::Everything, CloningOperation::OnlySelf,
  CloningOperation::SelfWithTemplateContent, CloningOperation::Everything
}
 
enum  UserSelectAllTreatment { UserSelectAllDoesNotAffectEditability, UserSelectAllIsAlwaysNonEditable, UserSelectAllDoesNotAffectEditability, UserSelectAllIsAlwaysNonEditable }
 
enum  Editability {
  Editability::ReadOnly, Editability::CanEditPlainText, Editability::CanEditRichly, Editability::ReadOnly,
  Editability::CanEditPlainText, Editability::CanEditRichly
}
 
enum  ShouldUpdateStyle { ShouldUpdateStyle::Update, ShouldUpdateStyle::DoNotUpdate, ShouldUpdateStyle::Update, ShouldUpdateStyle::DoNotUpdate }
 
enum  InsertionNotificationRequest { InsertionDone, InsertionShouldCallFinishedInsertingSubtree, InsertionDone, InsertionShouldCallFinishedInsertingSubtree }
 
- Public Types inherited from WebCore::EventTarget
using AddEventListenerOptionsOrBoolean = Variant< AddEventListenerOptions, bool >
 
using ListenerOptionsOrBoolean = Variant< ListenerOptions, bool >
 
using AddEventListenerOptionsOrBoolean = Variant< AddEventListenerOptions, bool >
 
using ListenerOptionsOrBoolean = Variant< ListenerOptions, bool >
 
- Public Attributes inherited from WebCore::Node
bool m_deletionHasBegun { false }
 
bool m_inRemovedLastRefFunction { false }
 
bool m_adoptionIsRequired { true }
 
- Protected Types inherited from WebCore::Node
enum  NodeFlags {
  IsTextFlag = 1, IsContainerFlag = 1 << 1, IsElementFlag = 1 << 2, IsStyledElementFlag = 1 << 3,
  IsHTMLFlag = 1 << 4, IsSVGFlag = 1 << 5, ChildNeedsStyleRecalcFlag = 1 << 7, IsConnectedFlag = 1 << 8,
  IsLinkFlag = 1 << 9, IsUserActionElement = 1 << 10, HasRareDataFlag = 1 << 11, IsDocumentFragmentFlag = 1 << 12,
  IsParsingChildrenFinishedFlag = 1 << 13, StyleValidityShift = 14, StyleValidityMask = 3 << StyleValidityShift, StyleResolutionShouldRecompositeLayerFlag = 1 << 16,
  IsEditingTextOrUndefinedCustomElementFlag = 1 << 17, HasFocusWithin = 1 << 18, HasSyntheticAttrChildNodesFlag = 1 << 19, HasCustomStyleResolveCallbacksFlag = 1 << 20,
  HasEventTargetDataFlag = 1 << 21, IsCustomElement = 1 << 22, IsInShadowTreeFlag = 1 << 23, IsMathMLFlag = 1 << 24,
  ChildrenAffectedByFirstChildRulesFlag = 1 << 25, ChildrenAffectedByLastChildRulesFlag = 1 << 26, ChildrenAffectedByHoverRulesFlag = 1 << 27, DirectChildNeedsStyleRecalcFlag = 1 << 28,
  AffectsNextSiblingElementStyle = 1 << 29, StyleIsAffectedByPreviousSibling = 1 << 30, SelfOrAncestorHasDirAutoFlag = 1 << 31, DefaultNodeFlags = IsParsingChildrenFinishedFlag,
  IsTextFlag = 1, IsContainerFlag = 1 << 1, IsElementFlag = 1 << 2, IsStyledElementFlag = 1 << 3,
  IsHTMLFlag = 1 << 4, IsSVGFlag = 1 << 5, ChildNeedsStyleRecalcFlag = 1 << 7, IsConnectedFlag = 1 << 8,
  IsLinkFlag = 1 << 9, IsUserActionElement = 1 << 10, HasRareDataFlag = 1 << 11, IsDocumentFragmentFlag = 1 << 12,
  IsParsingChildrenFinishedFlag = 1 << 13, StyleValidityShift = 14, StyleValidityMask = 3 << StyleValidityShift, StyleResolutionShouldRecompositeLayerFlag = 1 << 16,
  IsEditingTextOrUndefinedCustomElementFlag = 1 << 17, HasFocusWithin = 1 << 18, HasSyntheticAttrChildNodesFlag = 1 << 19, HasCustomStyleResolveCallbacksFlag = 1 << 20,
  HasEventTargetDataFlag = 1 << 21, IsCustomElement = 1 << 22, IsInShadowTreeFlag = 1 << 23, IsMathMLFlag = 1 << 24,
  ChildrenAffectedByFirstChildRulesFlag = 1 << 25, ChildrenAffectedByLastChildRulesFlag = 1 << 26, ChildrenAffectedByHoverRulesFlag = 1 << 27, DirectChildNeedsStyleRecalcFlag = 1 << 28,
  AffectsNextSiblingElementStyle = 1 << 29, StyleIsAffectedByPreviousSibling = 1 << 30, SelfOrAncestorHasDirAutoFlag = 1 << 31, DefaultNodeFlags = IsParsingChildrenFinishedFlag
}
 
enum  ConstructionType {
  CreateOther = DefaultNodeFlags, CreateText = DefaultNodeFlags | IsTextFlag, CreateContainer = DefaultNodeFlags | IsContainerFlag, CreateElement = CreateContainer | IsElementFlag,
  CreatePseudoElement = CreateElement | IsConnectedFlag, CreateShadowRoot = CreateContainer | IsDocumentFragmentFlag | IsInShadowTreeFlag, CreateDocumentFragment = CreateContainer | IsDocumentFragmentFlag, CreateStyledElement = CreateElement | IsStyledElementFlag,
  CreateHTMLElement = CreateStyledElement | IsHTMLFlag, CreateSVGElement = CreateStyledElement | IsSVGFlag | HasCustomStyleResolveCallbacksFlag, CreateDocument = CreateContainer | IsConnectedFlag, CreateEditingText = CreateText | IsEditingTextOrUndefinedCustomElementFlag,
  CreateMathMLElement = CreateStyledElement | IsMathMLFlag, CreateOther = DefaultNodeFlags, CreateText = DefaultNodeFlags | IsTextFlag, CreateContainer = DefaultNodeFlags | IsContainerFlag,
  CreateElement = CreateContainer | IsElementFlag, CreatePseudoElement = CreateElement | IsConnectedFlag, CreateShadowRoot = CreateContainer | IsDocumentFragmentFlag | IsInShadowTreeFlag, CreateDocumentFragment = CreateContainer | IsDocumentFragmentFlag,
  CreateStyledElement = CreateElement | IsStyledElementFlag, CreateHTMLElement = CreateStyledElement | IsHTMLFlag, CreateSVGElement = CreateStyledElement | IsSVGFlag | HasCustomStyleResolveCallbacksFlag, CreateDocument = CreateContainer | IsConnectedFlag,
  CreateEditingText = CreateText | IsEditingTextOrUndefinedCustomElementFlag, CreateMathMLElement = CreateStyledElement | IsMathMLFlag
}
 
enum  NodeFlags {
  IsTextFlag = 1, IsContainerFlag = 1 << 1, IsElementFlag = 1 << 2, IsStyledElementFlag = 1 << 3,
  IsHTMLFlag = 1 << 4, IsSVGFlag = 1 << 5, ChildNeedsStyleRecalcFlag = 1 << 7, IsConnectedFlag = 1 << 8,
  IsLinkFlag = 1 << 9, IsUserActionElement = 1 << 10, HasRareDataFlag = 1 << 11, IsDocumentFragmentFlag = 1 << 12,
  IsParsingChildrenFinishedFlag = 1 << 13, StyleValidityShift = 14, StyleValidityMask = 3 << StyleValidityShift, StyleResolutionShouldRecompositeLayerFlag = 1 << 16,
  IsEditingTextOrUndefinedCustomElementFlag = 1 << 17, HasFocusWithin = 1 << 18, HasSyntheticAttrChildNodesFlag = 1 << 19, HasCustomStyleResolveCallbacksFlag = 1 << 20,
  HasEventTargetDataFlag = 1 << 21, IsCustomElement = 1 << 22, IsInShadowTreeFlag = 1 << 23, IsMathMLFlag = 1 << 24,
  ChildrenAffectedByFirstChildRulesFlag = 1 << 25, ChildrenAffectedByLastChildRulesFlag = 1 << 26, ChildrenAffectedByHoverRulesFlag = 1 << 27, DirectChildNeedsStyleRecalcFlag = 1 << 28,
  AffectsNextSiblingElementStyle = 1 << 29, StyleIsAffectedByPreviousSibling = 1 << 30, SelfOrAncestorHasDirAutoFlag = 1 << 31, DefaultNodeFlags = IsParsingChildrenFinishedFlag,
  IsTextFlag = 1, IsContainerFlag = 1 << 1, IsElementFlag = 1 << 2, IsStyledElementFlag = 1 << 3,
  IsHTMLFlag = 1 << 4, IsSVGFlag = 1 << 5, ChildNeedsStyleRecalcFlag = 1 << 7, IsConnectedFlag = 1 << 8,
  IsLinkFlag = 1 << 9, IsUserActionElement = 1 << 10, HasRareDataFlag = 1 << 11, IsDocumentFragmentFlag = 1 << 12,
  IsParsingChildrenFinishedFlag = 1 << 13, StyleValidityShift = 14, StyleValidityMask = 3 << StyleValidityShift, StyleResolutionShouldRecompositeLayerFlag = 1 << 16,
  IsEditingTextOrUndefinedCustomElementFlag = 1 << 17, HasFocusWithin = 1 << 18, HasSyntheticAttrChildNodesFlag = 1 << 19, HasCustomStyleResolveCallbacksFlag = 1 << 20,
  HasEventTargetDataFlag = 1 << 21, IsCustomElement = 1 << 22, IsInShadowTreeFlag = 1 << 23, IsMathMLFlag = 1 << 24,
  ChildrenAffectedByFirstChildRulesFlag = 1 << 25, ChildrenAffectedByLastChildRulesFlag = 1 << 26, ChildrenAffectedByHoverRulesFlag = 1 << 27, DirectChildNeedsStyleRecalcFlag = 1 << 28,
  AffectsNextSiblingElementStyle = 1 << 29, StyleIsAffectedByPreviousSibling = 1 << 30, SelfOrAncestorHasDirAutoFlag = 1 << 31, DefaultNodeFlags = IsParsingChildrenFinishedFlag
}
 
enum  ConstructionType {
  CreateOther = DefaultNodeFlags, CreateText = DefaultNodeFlags | IsTextFlag, CreateContainer = DefaultNodeFlags | IsContainerFlag, CreateElement = CreateContainer | IsElementFlag,
  CreatePseudoElement = CreateElement | IsConnectedFlag, CreateShadowRoot = CreateContainer | IsDocumentFragmentFlag | IsInShadowTreeFlag, CreateDocumentFragment = CreateContainer | IsDocumentFragmentFlag, CreateStyledElement = CreateElement | IsStyledElementFlag,
  CreateHTMLElement = CreateStyledElement | IsHTMLFlag, CreateSVGElement = CreateStyledElement | IsSVGFlag | HasCustomStyleResolveCallbacksFlag, CreateDocument = CreateContainer | IsConnectedFlag, CreateEditingText = CreateText | IsEditingTextOrUndefinedCustomElementFlag,
  CreateMathMLElement = CreateStyledElement | IsMathMLFlag, CreateOther = DefaultNodeFlags, CreateText = DefaultNodeFlags | IsTextFlag, CreateContainer = DefaultNodeFlags | IsContainerFlag,
  CreateElement = CreateContainer | IsElementFlag, CreatePseudoElement = CreateElement | IsConnectedFlag, CreateShadowRoot = CreateContainer | IsDocumentFragmentFlag | IsInShadowTreeFlag, CreateDocumentFragment = CreateContainer | IsDocumentFragmentFlag,
  CreateStyledElement = CreateElement | IsStyledElementFlag, CreateHTMLElement = CreateStyledElement | IsHTMLFlag, CreateSVGElement = CreateStyledElement | IsSVGFlag | HasCustomStyleResolveCallbacksFlag, CreateDocument = CreateContainer | IsConnectedFlag,
  CreateEditingText = CreateText | IsEditingTextOrUndefinedCustomElementFlag, CreateMathMLElement = CreateStyledElement | IsMathMLFlag
}
 
- Protected Member Functions inherited from WebCore::ContainerNode
 ContainerNode (Document &, ConstructionType=CreateContainer)
 
void removeDetachedChildren ()
 
void setFirstChild (Node *child)
 
void setLastChild (Node *child)
 
HTMLCollectioncachedHTMLCollection (CollectionType)
 
 ContainerNode (Document &, ConstructionType=CreateContainer)
 
void removeDetachedChildren ()
 
void setFirstChild (Node *child)
 
void setLastChild (Node *child)
 
HTMLCollectioncachedHTMLCollection (CollectionType)
 
- Protected Member Functions inherited from WebCore::Node
bool getFlag (NodeFlags mask) const
 
void setFlag (bool f, NodeFlags mask) const
 
void setFlag (NodeFlags mask) const
 
void clearFlag (NodeFlags mask) const
 
 Node (Document &, ConstructionType)
 
virtual void didMoveToNewDocument (Document &oldDocument)
 
virtual void addSubresourceAttributeURLs (ListHashSet< URL > &) const
 
bool hasRareData () const
 
NodeRareDatarareData () const
 
NodeRareDataensureRareData ()
 
void clearRareData ()
 
void clearEventTargetData ()
 
void setHasCustomStyleResolveCallbacks ()
 
void setTreeScope (TreeScope &scope)
 
void invalidateStyle (Style::Validity, Style::InvalidationMode=Style::InvalidationMode::Normal)
 
void updateAncestorsForStyleRecalc ()
 
ExceptionOr< RefPtr< Node > > convertNodesOrStringsIntoNode (Vector< NodeOrString > &&)
 
bool isParsingChildrenFinished () const
 
void setIsParsingChildrenFinished ()
 
void clearIsParsingChildrenFinished ()
 
bool getFlag (NodeFlags mask) const
 
void setFlag (bool f, NodeFlags mask) const
 
void setFlag (NodeFlags mask) const
 
void clearFlag (NodeFlags mask) const
 
 Node (Document &, ConstructionType)
 
virtual void didMoveToNewDocument (Document &oldDocument)
 
virtual void addSubresourceAttributeURLs (ListHashSet< URL > &) const
 
bool hasRareData () const
 
NodeRareDatarareData () const
 
NodeRareDataensureRareData ()
 
void clearRareData ()
 
void clearEventTargetData ()
 
void setHasCustomStyleResolveCallbacks ()
 
void setTreeScope (TreeScope &scope)
 
void invalidateStyle (Style::Validity, Style::InvalidationMode=Style::InvalidationMode::Normal)
 
void updateAncestorsForStyleRecalc ()
 
ExceptionOr< RefPtr< Node > > convertNodesOrStringsIntoNode (Vector< NodeOrString > &&)
 
bool isParsingChildrenFinished () const
 
void setIsParsingChildrenFinished ()
 
void clearIsParsingChildrenFinished ()
 
- Protected Member Functions inherited from WebCore::EventTarget
virtual ~EventTarget ()=default
 
const EventTargetDataeventTargetData () const
 
virtual ~EventTarget ()=default
 
const EventTargetDataeventTargetData () const
 
- Protected Member Functions inherited from WebCore::ScriptWrappable
 ~ScriptWrappable ()
 
 ~ScriptWrappable ()
 

Constructor & Destructor Documentation

◆ ~Attr() [1/2]

Attr::~Attr ( )
virtual

◆ ~Attr() [2/2]

virtual WebCore::Attr::~Attr ( )
virtual

Member Function Documentation

◆ attachToElement() [1/2]

void Attr::attachToElement ( Element element)

◆ attachToElement() [2/2]

void WebCore::Attr::attachToElement ( Element )

◆ create() [1/4]

static Ref<Attr> WebCore::Attr::create ( Element ,
const QualifiedName  
)
static

◆ create() [2/4]

Ref< Attr > Attr::create ( Element element,
const QualifiedName name 
)
static

◆ create() [3/4]

Ref< Attr > Attr::create ( Document document,
const QualifiedName name,
const AtomicString value 
)
static

◆ create() [4/4]

static Ref<Attr> WebCore::Attr::create ( Document ,
const QualifiedName ,
const AtomicString value 
)
static

◆ detachFromElementWithValue() [1/2]

void Attr::detachFromElementWithValue ( const AtomicString value)

◆ detachFromElementWithValue() [2/2]

void WebCore::Attr::detachFromElementWithValue ( const AtomicString )

◆ localName() [1/2]

const AtomicString& WebCore::Attr::localName ( ) const
inlinefinalvirtual

Reimplemented from WebCore::Node.

◆ localName() [2/2]

const AtomicString& WebCore::Attr::localName ( ) const
inlinefinalvirtual

Reimplemented from WebCore::Node.

◆ name() [1/2]

String WebCore::Attr::name ( ) const
inline

◆ name() [2/2]

String WebCore::Attr::name ( ) const
inline

◆ namespaceURI() [1/2]

const AtomicString& WebCore::Attr::namespaceURI ( ) const
inlinefinalvirtual

Reimplemented from WebCore::Node.

◆ namespaceURI() [2/2]

const AtomicString& WebCore::Attr::namespaceURI ( ) const
inlinefinalvirtual

Reimplemented from WebCore::Node.

◆ ownerElement() [1/2]

Element* WebCore::Attr::ownerElement ( ) const
inline

◆ ownerElement() [2/2]

Element* WebCore::Attr::ownerElement ( ) const
inline

◆ prefix() [1/2]

const AtomicString& WebCore::Attr::prefix ( ) const
inlinefinalvirtual

Reimplemented from WebCore::Node.

◆ prefix() [2/2]

const AtomicString& WebCore::Attr::prefix ( ) const
inlinefinalvirtual

Reimplemented from WebCore::Node.

◆ qualifiedName() [1/2]

const QualifiedName& WebCore::Attr::qualifiedName ( ) const
inline

◆ qualifiedName() [2/2]

const QualifiedName& WebCore::Attr::qualifiedName ( ) const
inline

◆ setValue() [1/2]

void Attr::setValue ( const AtomicString value)

◆ setValue() [2/2]

void WebCore::Attr::setValue ( const AtomicString )

◆ setValueForBindings() [1/2]

void Attr::setValueForBindings ( const AtomicString value)

◆ setValueForBindings() [2/2]

WEBCORE_EXPORT void WebCore::Attr::setValueForBindings ( const AtomicString )

◆ specified() [1/2]

bool WebCore::Attr::specified ( ) const
inline

◆ specified() [2/2]

bool WebCore::Attr::specified ( ) const
inline

◆ style() [1/2]

CSSStyleDeclaration * Attr::style ( )

◆ style() [2/2]

WEBCORE_EXPORT CSSStyleDeclaration* WebCore::Attr::style ( )

◆ value() [1/2]

WEBCORE_EXPORT const AtomicString& WebCore::Attr::value ( ) const

◆ value() [2/2]

const AtomicString & Attr::value ( ) const

◆ valueForBindings() [1/2]

const AtomicString& WebCore::Attr::valueForBindings ( ) const
inline

◆ valueForBindings() [2/2]

const AtomicString& WebCore::Attr::valueForBindings ( ) const
inline

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