webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
Document Interface Reference

import"DocumentAnimation.idl";

Inheritance diagram for Document:
HTMLDocument XMLDocument

Public Member Functions

sequence< WebAnimationgetAnimations ()
 
Element createElement (DOMString tagName)
 
DocumentFragment createDocumentFragment ()
 
Text createTextNode (DOMString data)
 
Comment createComment (DOMString data)
 
CDATASection createCDATASection (DOMString data)
 
ProcessingInstruction createProcessingInstruction (DOMString target, DOMString data)
 
Attr createAttribute (DOMString name)
 
HTMLCollection getElementsByTagName (DOMString tagname)
 
Node importNode (Node importedNode, optional boolean deep=false)
 
Element createElementNS (DOMString? namespaceURI, DOMString qualifiedName)
 
Attr createAttributeNS (DOMString? namespaceURI, DOMString qualifiedName)
 
HTMLCollection getElementsByTagNameNS (DOMString? namespaceURI, DOMString localName)
 
Node adoptNode (Node source)
 
Event createEvent (DOMString eventType)
 
Range createRange ()
 
NodeIterator createNodeIterator (Node root, optional unsigned long whatToShow=0xFFFFFFFF, optional NodeFilter? filter=null)
 
TreeWalker createTreeWalker (Node root, optional unsigned long whatToShow=0xFFFFFFFF, optional NodeFilter? filter=null)
 
CSSStyleDeclaration getOverrideStyle (optional Element? element=null, optional DOMString pseudoElement="undefined")
 
XPathExpression createExpression (optional DOMString expression="undefined", optional XPathNSResolver? resolver)
 
XPathNSResolver createNSResolver (Node? nodeResolver)
 
XPathResult evaluate (optional DOMString expression="undefined", optional Node? contextNode, optional XPathNSResolver? resolver, optional unsigned short type=0, optional XPathResult? inResult)
 
boolean execCommand (DOMString command, optional boolean userInterface=false, optional DOMString? value=null)
 
boolean queryCommandEnabled (DOMString command)
 
boolean queryCommandIndeterm (DOMString command)
 
boolean queryCommandState (DOMString command)
 
boolean queryCommandSupported (DOMString command)
 
DOMString queryCommandValue (DOMString command)
 
NodeList getElementsByName ([AtomicString] DOMString elementName)
 
Range caretRangeFromPoint (optional long x=0, optional long y=0)
 
DOMSelection getSelection ()
 
CanvasRenderingContext2D or WebGLRenderingContextBase getCSSCanvasContext (DOMString contextId, DOMString name, long width, long height)
 
HTMLCollection getElementsByClassName (DOMString classNames)
 
boolean hasFocus ()
 
void exitPointerLock ()
 
DOMNamedFlowCollection webkitGetNamedFlows ()
 

Public Attributes

readonly attribute DocumentTimeline timeline
 
readonly attribute DocumentType doctype
 
readonly attribute DOMImplementation implementation
 
readonly attribute Element documentElement
 
readonly attribute DOMString inputEncoding
 
readonly attribute DOMString xmlEncoding
 
attribute DOMString xmlVersion
 
attribute boolean xmlStandalone
 
readonly attribute USVString documentURI
 
readonly attribute DOMWindow defaultView
 
readonly attribute StyleSheetList styleSheets
 
readonly attribute DOMString contentType
 
attribute DOMString title
 
attribute DOMString dir
 
attribute DOMString designMode
 
readonly attribute USVString referrer
 
attribute USVString domain
 
readonly attribute USVString URL
 
attribute USVString cookie
 
attribute HTMLElement body
 
readonly attribute HTMLHeadElement head
 
readonly attribute HTMLCollection images
 
readonly attribute HTMLCollection applets
 
readonly attribute HTMLCollection links
 
readonly attribute HTMLCollection forms
 
readonly attribute HTMLCollection anchors
 
readonly attribute HTMLCollection embeds
 
readonly attribute HTMLCollection plugins
 
readonly attribute HTMLCollection scripts
 
readonly attribute DOMString lastModified
 
readonly attribute Location location
 
readonly attribute DOMString charset
 
readonly attribute DOMString readyState
 
readonly attribute DOMString characterSet
 
readonly attribute DOMString preferredStylesheetSet
 
attribute DOMString selectedStylesheetSet
 
readonly attribute DOMString compatMode
 
readonly attribute FontFaceSet fonts
 
readonly attribute VisibilityState visibilityState
 
readonly attribute boolean hidden
 
attribute EventHandler onvisibilitychange
 
readonly attribute HTMLScriptElement currentScript
 
readonly attribute USVString origin
 
readonly attribute Element scrollingElement
 
attribute EventHandler onbeforecopy
 
attribute EventHandler onbeforecut
 
attribute EventHandler onbeforeinput
 
attribute EventHandler onbeforepaste
 
attribute EventHandler oncopy
 
attribute EventHandler oncut
 
attribute EventHandler onpaste
 
attribute EventHandler onselectstart
 
attribute EventHandler onwebkitfullscreenchange
 
attribute EventHandler onwebkitfullscreenerror
 
attribute EventHandler onselectionchange
 
attribute EventHandler onreadystatechange
 
attribute EventHandler onpointerlockchange
 
attribute EventHandler onpointerlockerror
 
readonly attribute SVGSVGElement rootElement
 

Member Function Documentation

◆ adoptNode()

Node Document::adoptNode ( Node  source)

◆ caretRangeFromPoint()

Range Document::caretRangeFromPoint ( optional long  x = 0,
optional long  y = 0 
)

◆ createAttribute()

Attr Document::createAttribute ( DOMString  name)

◆ createAttributeNS()

Attr Document::createAttributeNS ( DOMString?  namespaceURI,
DOMString  qualifiedName 
)

◆ createCDATASection()

CDATASection Document::createCDATASection ( DOMString  data)

◆ createComment()

Comment Document::createComment ( DOMString  data)

◆ createDocumentFragment()

DocumentFragment Document::createDocumentFragment ( )

◆ createElement()

Element Document::createElement ( DOMString  tagName)

◆ createElementNS()

Element Document::createElementNS ( DOMString?  namespaceURI,
DOMString  qualifiedName 
)

◆ createEvent()

Event Document::createEvent ( DOMString  eventType)

◆ createExpression()

XPathExpression Document::createExpression ( optional DOMString  expression = "undefined",
optional XPathNSResolver resolver 
)

◆ createNodeIterator()

NodeIterator Document::createNodeIterator ( Node  root,
optional unsigned long  whatToShow = 0xFFFFFFFF,
optional NodeFilter filter = null 
)

◆ createNSResolver()

XPathNSResolver Document::createNSResolver ( Node nodeResolver)

◆ createProcessingInstruction()

ProcessingInstruction Document::createProcessingInstruction ( DOMString  target,
DOMString  data 
)

◆ createRange()

Range Document::createRange ( )

◆ createTextNode()

Text Document::createTextNode ( DOMString  data)

◆ createTreeWalker()

TreeWalker Document::createTreeWalker ( Node  root,
optional unsigned long  whatToShow = 0xFFFFFFFF,
optional NodeFilter filter = null 
)

◆ evaluate()

XPathResult Document::evaluate ( optional DOMString  expression = "undefined",
optional Node contextNode,
optional XPathNSResolver resolver,
optional unsigned short  type = 0,
optional XPathResult inResult 
)

◆ execCommand()

boolean Document::execCommand ( DOMString  command,
optional boolean  userInterface = false,
optional DOMString?  value = null 
)

◆ exitPointerLock()

void Document::exitPointerLock ( )

◆ getAnimations()

sequence<WebAnimation> Document::getAnimations ( )

◆ getCSSCanvasContext()

CanvasRenderingContext2D or WebGLRenderingContextBase Document::getCSSCanvasContext ( DOMString  contextId,
DOMString  name,
long  width,
long  height 
)

◆ getElementsByClassName()

HTMLCollection Document::getElementsByClassName ( DOMString  classNames)

◆ getElementsByName()

NodeList Document::getElementsByName ( [AtomicString] DOMString  elementName)

◆ getElementsByTagName()

HTMLCollection Document::getElementsByTagName ( DOMString  tagname)

◆ getElementsByTagNameNS()

HTMLCollection Document::getElementsByTagNameNS ( DOMString?  namespaceURI,
DOMString  localName 
)

◆ getOverrideStyle()

CSSStyleDeclaration Document::getOverrideStyle ( optional Element element = null,
optional DOMString  pseudoElement = "undefined" 
)

◆ getSelection()

DOMSelection Document::getSelection ( )

◆ hasFocus()

boolean Document::hasFocus ( )

◆ importNode()

Node Document::importNode ( Node  importedNode,
optional boolean  deep = false 
)

◆ queryCommandEnabled()

boolean Document::queryCommandEnabled ( DOMString  command)

◆ queryCommandIndeterm()

boolean Document::queryCommandIndeterm ( DOMString  command)

◆ queryCommandState()

boolean Document::queryCommandState ( DOMString  command)

◆ queryCommandSupported()

boolean Document::queryCommandSupported ( DOMString  command)

◆ queryCommandValue()

DOMString Document::queryCommandValue ( DOMString  command)

◆ webkitGetNamedFlows()

DOMNamedFlowCollection Document::webkitGetNamedFlows ( )

Member Data Documentation

◆ anchors

readonly attribute HTMLCollection Document::anchors

◆ applets

readonly attribute HTMLCollection Document::applets

◆ body

attribute HTMLElement Document::body

◆ characterSet

readonly attribute DOMString Document::characterSet

◆ charset

readonly attribute DOMString Document::charset

◆ compatMode

readonly attribute DOMString Document::compatMode

◆ contentType

readonly attribute DOMString Document::contentType

◆ cookie

attribute USVString Document::cookie

◆ currentScript

readonly attribute HTMLScriptElement Document::currentScript

◆ defaultView

readonly attribute DOMWindow Document::defaultView

◆ designMode

attribute DOMString Document::designMode

◆ dir

attribute DOMString Document::dir

◆ doctype

readonly attribute DocumentType Document::doctype

◆ documentElement

readonly attribute Element Document::documentElement

◆ documentURI

readonly attribute USVString Document::documentURI

◆ domain

attribute USVString Document::domain

◆ embeds

readonly attribute HTMLCollection Document::embeds

◆ fonts

readonly attribute FontFaceSet Document::fonts

◆ forms

◆ head

◆ hidden

readonly attribute boolean Document::hidden

◆ images

readonly attribute HTMLCollection Document::images

◆ implementation

readonly attribute DOMImplementation Document::implementation

◆ inputEncoding

readonly attribute DOMString Document::inputEncoding

◆ lastModified

readonly attribute DOMString Document::lastModified

◆ links

◆ location

readonly attribute Location Document::location

◆ onbeforecopy

attribute EventHandler Document::onbeforecopy

◆ onbeforecut

attribute EventHandler Document::onbeforecut

◆ onbeforeinput

attribute EventHandler Document::onbeforeinput

◆ onbeforepaste

attribute EventHandler Document::onbeforepaste

◆ oncopy

attribute EventHandler Document::oncopy

◆ oncut

attribute EventHandler Document::oncut

◆ onpaste

attribute EventHandler Document::onpaste

◆ onpointerlockchange

attribute EventHandler Document::onpointerlockchange

◆ onpointerlockerror

attribute EventHandler Document::onpointerlockerror

◆ onreadystatechange

attribute EventHandler Document::onreadystatechange

◆ onselectionchange

attribute EventHandler Document::onselectionchange

◆ onselectstart

attribute EventHandler Document::onselectstart

◆ onvisibilitychange

attribute EventHandler Document::onvisibilitychange

◆ onwebkitfullscreenchange

attribute EventHandler Document::onwebkitfullscreenchange

◆ onwebkitfullscreenerror

attribute EventHandler Document::onwebkitfullscreenerror

◆ origin

readonly attribute USVString Document::origin

◆ plugins

readonly attribute HTMLCollection Document::plugins

◆ preferredStylesheetSet

readonly attribute DOMString Document::preferredStylesheetSet

◆ readyState

readonly attribute DOMString Document::readyState

◆ referrer

readonly attribute USVString Document::referrer

◆ rootElement

readonly attribute SVGSVGElement Document::rootElement

◆ scripts

readonly attribute HTMLCollection Document::scripts

◆ scrollingElement

readonly attribute Element Document::scrollingElement

◆ selectedStylesheetSet

attribute DOMString Document::selectedStylesheetSet

◆ styleSheets

readonly attribute StyleSheetList Document::styleSheets

◆ timeline

readonly attribute DocumentTimeline Document::timeline

◆ title

attribute DOMString Document::title

◆ URL

readonly attribute USVString Document::URL

◆ visibilityState

readonly attribute VisibilityState Document::visibilityState

◆ xmlEncoding

readonly attribute DOMString Document::xmlEncoding

◆ xmlStandalone

attribute boolean Document::xmlStandalone

◆ xmlVersion

attribute DOMString Document::xmlVersion

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