From f125bb213912cdc870a3d44fef2901a5290c0e4f Mon Sep 17 00:00:00 2001
From: Domenic Denicola This is a note to authors describing the usage of an interface. This is a note to authors describing the usage of an interface.
+
variable = object.method([optionalArgument])
method
( [ optionalArgument ] )
@@ -6909,11 +6906,13 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
empty string. Unless otherwise specified, the slot's value is the empty string./* this is a CSS fragment */
nonce
Returns the value of the element's [[CryptographicNonce]] internal slot.
-Can be set, to update that slot's value.
-element.nonce
Returns the value set for element's cryptographic nonce. If the setter was not
+ used, this will be the value originally found in the nonce
+ content attribute.
element.nonce = value
Updates element's cryptographic nonce value.
The HTMLAllCollection
{
};
collection.length
Returns the number of elements in collection.
element = collection.item(index)
element = collection(index)
element = collection[index]
Returns the item at index index from collection (determined by + tree order).
element = collection.item(name)
collection = collection.item(name)
element = collection.namedItem(name)
collection = collection.namedItem(name)
element = collection(name)
collection = collection(name)
element = collection[name]
collection = collection[name]
Returns the item with ID or name name from + collection.
+ +If there are multiple matching items, then an HTMLCollection
object containing
+ all those elements is returned.
length
Returns the number of elements in the collection.
-item
(index)Returns the item with index index from the collection (determined by tree order).
-item
(name)item
(name)namedItem
(name)namedItem
(name)Returns the item with ID or name name from the collection.
-If there are multiple matching items, then an HTMLCollection
object containing all those elements is returned.
Only button
, form
, iframe
,
input
, map
, meta
, object
,
@@ -7592,32 +7591,33 @@ interface RadioNodeList : NodeList {
};
collection.length
Returns the number of elements in collection.
length
Returns the number of elements in the collection.
-element = collection.item(index)
element = collection[index]
Returns the item at index index in collection. The items are sorted + in tree order.
item
(index)element = collection.namedItem(name)
radioNodeList = collection.namedItem(name)
element = collection[name]
radioNodeList = collection[name]
Returns the item with index index from the collection. The items are sorted in tree order.
-Returns the item with ID or name
name from collection.
namedItem
(name)namedItem
(name)Returns the item with ID or name
name from the collection.
If there are multiple matching items, then a RadioNodeList
object containing all those elements is returned.
If there are multiple matching items, then a RadioNodeList
object containing all
+ those elements is returned.
Returns the value of the first checked radio button represented by the object.
-Can be set, to check the first radio button with the given value represented by the object.
-radioNodeList.value
Returns the value of the first checked radio button represented by + radioNodeList.
radioNodeList.value = value
Checks the first first radio button represented by radioNodeList that has value + value.
collection.length
Returns the number of elements in collection.
length
[ = value ]collection.length = value
Returns the number of elements in the collection.
-When set to a smaller number, truncates the number of option
elements in the corresponding container.
When set to a greater number, adds new blank option
elements to that container.
When set to a smaller number than the existing length, truncates the number of
+ option
elements in the container corresponding to collection.
item
(index)Returns the item with index index from the collection. The items are sorted in tree order.
+When set to a greater number than the existing length, adds new blank option
+ elements to the container corresponding to collection.
element = collection.item(index)
element = collection[index]
Returns the item at index index in collection. The items are sorted + in tree order.
collection[index] = element
When index is a greater number than the number of items in the collection, adds
- new blank option
elements in the corresponding container.
-
When set to null, removes the item at index index from the collection.
-When set to an option
element, adds or replaces it at index index
- from the collection.
When index is a greater number than the number of items in collection,
+ adds new blank option
elements in the corresponding container.
When set to null, removes the item at index index from collection.
+ +When set to an option
element, adds or replaces it at index index in
+ collection.
namedItem
(name)element = collection.namedItem(name)
element = collection[name]
Returns the item with ID or name
name from the collection.
Returns the item with ID or name
name from collection.
If there are multiple matching items, then the first is returned.
add
(element [, before ] )collection.add
(element[, before])
Inserts element before the node given by before.
-The before argument can be a number, in which case element is inserted before the item with that number, or an element from the - collection, in which case element is inserted before that element.
-If before is omitted, null, or a number out of range, then element will be added at the end of the list.
-This method will throw a "HierarchyRequestError
" DOMException
if
+
+
The before argument can be a number, in which case element is inserted + before the item with that number, or an element from collection, in which case + element is inserted before that element.
+ +If before is omitted, null, or a number out of range, then element will + be added at the end of the list.
+ +Throws a "HierarchyRequestError
" DOMException
if
element is an ancestor of the element into which it is to be inserted.
remove
(index)Removes the item with index index from the collection.
-collection.remove(index)
Removes the item with index index from collection.
selectedIndex
[ = value ]collection.selectedIndex
Returns the index of the first selected item, if any, or −1 if there is no selected + item.
Returns the index of the first selected item, if any, or −1 if there is no selected - item.
- -Can be set, to change the selection.
-collection.selectedIndex = index
Changes the selection to the option
element at index index in
+ collection.
Returns the date of the last modification to the document, as reported by the server, in the
form "MM/DD/YYYY hh:mm:ss
", in the user's local time zone.
If the last modification date is not known, the current time is returned instead.
password
Returns the hyperlink's URL's password.
+Can be set, to change the URL's password.
Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
+Can be set, to change the URL's host and port.
hostname
Returns the hyperlink's URL's host.
+Can be set, to change the URL's host.
port
Returns the hyperlink's URL's port.
+Can be set, to change the URL's port.
pathname
Returns the hyperlink's URL's path.
+Can be set, to change the URL's path.
Returns the hyperlink's URL's query (includes leading "?
" if
non-empty).
Can be set, to change the URL's query (ignores leading "?
").
Returns the hyperlink's URL's fragment (includes leading "#
" if
non-empty).
Can be set, to change the URL's fragment (ignores leading "#
").
getCueById
( id )Returns the first text track cue (in text track cue order) with text track cue identifier id.
+Returns null if none of the cues have the given identifier or if the argument is the empty string.
Returns the text track cue identifier.
+Can be set.
Returns the text track cue start time, in seconds.
+Can be set.
Returns the text track cue end time, in seconds.
+Returns positive Infinity for an unbounded text track cue.
+Can be set.
Returns true if the text track cue pause-on-exit flag is set, false otherwise.
+Can be set.
OffscreenCanvas
(width,
- height)Returns a new Returns the Can be set, to navigate to the given URL. Returns the Can be set, to navigate to the same URL with a changed scheme. Returns the Can be set, to navigate to the same URL with a changed host. Returns the Can be set, to navigate to the same URL with a changed port. Returns the Can be set, to navigate to the same URL with a changed path.OffscreenCanvas
object that is not linked to a placeholder canvas
element, and
@@ -85395,6 +85423,7 @@ interface Location { // but see also href
Location
object's URL.Location
object's URL's scheme.Location
object's URL's host.port
Location
object's URL's port.pathname
Location
object's URL's path.
Can be set, to navigate to the same URL with a changed query (ignores leading "?
").
Can be set, to navigate to the same URL with a changed fragment (ignores leading "#
").
Document
alive in a session
- history entry after unload
- iframe
s that are not salvageable
- WebSocket
objects
- Document
+ history entry after unloadiframe
s that are not salvageableWebSocket
objectsDocument
url
Returns the URL providing the event stream. +
Returns the URL providing the event stream.
withCredentials
name
Returns dedicatedWorkerGlobal's name, i.e. the value given to the
- Worker
constructor. Primarily useful for debugging.
Worker
constructor. Primarily useful for debugging.
postMessage
(message [,
@@ -101621,13 +101661,13 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalSc
postMessage
(message
[, { transfer
} ])Worker
object associated with
+ Clones message and transmits it to the Worker
object associated with
dedicatedWorkerGlobal. transfer can be passed as a list of objects that are
- to be transferred rather than cloned.
close
()Aborts dedicatedWorkerGlobal.
name
Returns sharedWorkerGlobal's name, i.e. the value given to the
SharedWorker
constructor. Multiple SharedWorker
objects can correspond
to the same shared worker (and SharedWorkerGlobalScope
), by reusing the same
- name.
close
()Aborts sharedWorkerGlobal.
Worker
(scriptURL [, options ])Worker
object. scriptURL will be fetched and executed
+ Returns a new Worker
object. scriptURL will be fetched and executed
in the background, creating a new global environment for which worker represents the
communication channel. options can be used to define the name of that global environment via the name
option, primarily for debugging purposes. It can also ensure this new
global environment supports JavaScript modules (specify type: "module"
),
and if that is specified, can also be used to specify how scriptURL is fetched through
- the credentials
option.
+ the credentials
option.
terminate
()postMessage
(message [, transfer ] )
+ data-x="dom-Worker-postMessage">postMessage(message [, transfer ] )postMessage
(message [, { transfer
} ] )
- Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than - cloned.
SharedWorker
(scriptURL [, name ])SharedWorker
object. scriptURL will be fetched and
+ Returns a new SharedWorker
object. scriptURL will be fetched and
executed in the background, creating a new global environment for which sharedWorker
represents the communication channel. name can be used to define the name of that global environment.
SharedWorker
(scriptURL [, options ])SharedWorker
object. scriptURL will be fetched and
+ Returns a new SharedWorker
object. scriptURL will be fetched and
executed in the background, creating a new global environment for which sharedWorker
represents the communication channel. options can be used to define the name of that global environment via the SharedWorker : EventTarget {
data-x="">credentials
option. Note that attempting to construct a shared worker with
options whose type
or credentials
values mismatch an existing shared worker will cause the returned sharedWorker to
- fire an error event and not connect to the existing shared worker.
port
MessagePort
object which can be used to
- communicate with the global environment.Returns sharedWorker's MessagePort
object which can be used to
+ communicate with the global environment.
Only button
, form
, iframe
,
- input
, map
, meta
, object
,
- select
, and textarea
elements can have a name for the purpose of this
- method; their name is given by the value of their name
attribute.
Only button
, form
, iframe
, input
,
+ map
, meta
, object
, select
, and
+ textarea
elements can have a name for the purpose of this method; their name is
+ given by the value of their name
attribute.
referrer
Returns the URL of the Document
- from which the user navigated to this one, unless it was blocked or there was no such document,
- in which case it returns the empty string.
Returns the URL of the Document
from
+ which the user navigated to this one, unless it was blocked or there was no such document, in
+ which case it returns the empty string.
The noreferrer
link type can be used to block the
referrer.
images
Returns an HTMLCollection
of the img
elements in the Document
.
Returns an HTMLCollection
of the img
elements in the
+ Document
.
embeds
plugins
Return an HTMLCollection
of the embed
elements in the Document
.
Return an HTMLCollection
of the embed
elements in the
+ Document
.
links
forms
Return an HTMLCollection
of the form
elements in the Document
.
Return an HTMLCollection
of the form
elements in the
+ Document
.
scripts
Return an HTMLCollection
of the script
elements in the Document
.
Return an HTMLCollection
of the script
elements in the
+ Document
.
currentScript
Returns the script
element, or the SVG script
element,
- that is currently executing, as long as the element represents a classic script.
- In the case of reentrant script execution, returns the one that most recently started executing
+ that is currently executing, as long as the element represents a classic script. In
+ the case of reentrant script execution, returns the one that most recently started executing
amongst those that have not yet finished executing.
Returns null if the Document
is not currently executing a script
- or SVG script
element (e.g., because the running script is an event
+
Returns null if the Document
is not currently executing a script
or
+ SVG script
element (e.g., because the running script is an event
handler, or a timeout), or if the currently executing script
or SVG
script
element represents a module script.
These attributes return the actual rendered dimensions of the - image, or zero if the dimensions are not known.
+These attributes return the actual rendered dimensions of the image, or zero if the + dimensions are not known.
-They can be set, to change the corresponding content - attributes.
+They can be set, to change the corresponding content attributes.
naturalWidth
These attributes return the intrinsic dimensions of the image, - or zero if the dimensions are not known.
+These attributes return the intrinsic dimensions of the image, or zero if the dimensions are + not known.
complete
Returns true if the image has been completely downloaded or if - no image is specified; otherwise, returns false.
+Returns true if the image has been completely downloaded or if no image is specified; + otherwise, returns false.
currentSrc
Returns a new img
element, with the width
and height
attributes set to the values
- passed in the relevant arguments, if applicable.
Returns a new img
element, with the width
+ and height
attributes set to the values passed in the
+ relevant arguments, if applicable.
videoHeight
These attributes return the intrinsic dimensions of the video, - or zero if the dimensions are not known.
+These attributes return the intrinsic dimensions of the video, or zero if the dimensions are + not known.
readyState
Returns the text track readiness state, - represented by a number from the following list:
+Returns the text track readiness state, represented by a number from the + following list:
NONE
(0)track
Returns the TextTrack
object corresponding to the text track of the track
element.
Returns the TextTrack
object corresponding to the text track of the
+ track
element.
srcObject
[ = source ]Allows the media element to be assigned a media provider object.
+Allows the media element to be assigned a media provider + object.
currentSrc
fastSeek
( time )Seeks to near the given time as fast as possible, trading precision for
- speed. (To seek to a precise time, use the currentTime
attribute.)
Seeks to near the given time as fast as possible, trading precision for speed. (To
+ seek to a precise time, use the currentTime
+ attribute.)
This does nothing if the media resource has not been loaded.
videoTracks
. getTrackById
( id )Returns the AudioTrack
or VideoTrack
object with the given identifier, or null if no track has that identifier.
Returns the AudioTrack
or VideoTrack
object with the given
+ identifier, or null if no track has that identifier.
id
kind
Returns the category the given track falls into. The possible track categories are given below.
+Returns the category the given track falls into. The possible track categories are given below.
label
textTracks
. length
Returns the number of text tracks associated with the media element (e.g. from track
elements). This is the number of text tracks in the media element's list of text tracks.
Returns the number of text tracks associated with the
+ media element (e.g. from track
elements). This is the number of text tracks in the media element's list of text
+ tracks.
textTracks[
n ]
Returns the TextTrack
object representing the nth text track in the media element's list of text tracks.
Returns the TextTrack
object representing the nth text
+ track in the media element's list of text tracks.
textTracks
. getTrackById
( id )Returns the TextTrack
object with the given identifier, or null if no track has that identifier.
Returns the TextTrack
object with the given identifier, or null if no track has
+ that identifier.
cues
Returns the text track list of cues, as a TextTrackCueList
object.
Returns the text track list of cues, as a TextTrackCueList
+ object.
activeCues
Returns the text track cue with index index in the list. The cues are sorted in text track cue order.
+Returns the text track cue with index index in the list. The cues are + sorted in text track cue order.
getCueById
( id )Returns the first text track cue (in text track cue order) with text track cue identifier id.
+Returns the first text track cue (in text track cue order) with + text track cue identifier id.
-Returns null if none of the cues have the given identifier or if the argument is the empty string.
+Returns null if none of the cues have the given identifier or if the argument is the empty + string.
Returns the TextTrack
object to which this
- text track cue belongs, if any, or null
- otherwise.
Returns the TextTrack
object to which this text track cue belongs,
+ if any, or null otherwise.
Returns true if the text track cue pause-on-exit flag is set, false otherwise.
+Returns true if the text track cue pause-on-exit flag is set, false + otherwise.
Can be set.
Returns the position of the cell in the row's cells
list.
- This does not necessarily correspond to the x-position of the cell in the
- table, since earlier cells might cover multiple rows or columns.
Returns −1 if the element isn't in a row.
elements
Returns an HTMLFormControlsCollection
of the form controls in the form (excluding image
- buttons for historical reasons).
Returns an HTMLFormControlsCollection
of the form controls in the form
+ (excluding image buttons for historical reasons).
length
Returns the indexth element in the form (excluding image buttons for - historical reasons).
+Returns the indexth element in the form (excluding image buttons for historical + reasons).
reportValidity
()Returns true if the form's controls are all valid; otherwise, returns false and informs the user.
+Returns true if the form's controls are all valid; otherwise, returns false and informs the + user.
valueAsNumber
[ = value ]Returns a number representing the form control's value, - if applicable; otherwise, returns NaN.
+Returns a number representing the form control's value, if applicable; otherwise, returns NaN.
Can be set, to change the value. Setting this to NaN will set the underlying value to the empty string.
@@ -49885,8 +49906,8 @@ You cannot submit this form when the field is incorrect.Changes the form control's value by the value given in
- the step
attribute, multiplied by n.
- The default value for n is 1.
step
attribute, multiplied by n. The
+ default value for n is 1.
Throws "InvalidStateError
" DOMException
if the control
is neither date- or time-based nor numeric, or if the step
@@ -50818,13 +50839,17 @@ interface HTMLSelectElement : HTMLElement {
Inserts element before the node given by before.
-The before argument can be a number, in which case element is inserted before the item with that number, or an element from the - list of options, in which case element is inserted before that element.
+The before argument can be a number, in which case element is inserted + before the item with that number, or an element from the list of options, in which case element is + inserted before that element.
-If before is omitted, null, or a number out of range, then element will be added at the end of the list.
+If before is omitted, null, or a number out of range, then element will + be added at the end of the list.
-This method will throw a "HierarchyRequestError
" DOMException
if
- element is an ancestor of the element into which it is to be inserted.
This method will throw a "HierarchyRequestError
"
+ DOMException
if element is an ancestor of the element into which it is
+ to be inserted.
selectedOptions
text
Same as textContent
, except that spaces are collapsed and script
elements are skipped.
Same as textContent
, except that spaces are collapsed and script
+ elements are skipped.
Option
( [ text [, value [, defaultSelected [, selected ] ] ] ] )The defaultSelected argument sets the selected
attribute.
The selected argument sets whether or not the element is selected. If it - is omitted, even if the defaultSelected argument is true, the element is not +
The selected argument sets whether or not the element is selected. If it is + omitted, even if the defaultSelected argument is true, the element is not selected.
@@ -55458,7 +55484,8 @@ MIT Room 32-G524Can be set, to change the direction of the selection.
-The possible values are "forward
", "backward
", and "none
".
The possible values are "forward
", "backward
",
+ and "none
".
setSelectionRange
(start, end [, direction] )setRangeText
(replacement [, start, end [, selectionMode ] ] )Replaces a range of text with the new text. If the start and end arguments are not provided, the range is assumed to be the selection.
+Replaces a range of text with the new text. If the start and end + arguments are not provided, the range is assumed to be the selection.
-The final argument determines how the selection will be set after the text has been - replaced. The possible values are:
+The final argument determines how the selection will be set after the text has been replaced. + The possible values are:
validity
. tooLong
Returns true if the element's value is longer than the provided maximum length; false otherwise.
+Returns true if the element's value is longer than the provided maximum length; false + otherwise.
validity
. tooShort
submitter
Returns the element representing the submit - button that triggered the form submission, or null if the submission was - not triggered by a button.
Returns a FormData
object representing names and values of elements associated
- to the target form
. Operations on the FormData
object will affect
- form data to be submitted.
form
. Operations on the FormData
object will affect form
+ data to be submitted.
transferControlToOffscreen
()transferControlToOffscreen
()Returns a newly created OffscreenCanvas
object that uses the
- canvas
element as a placeholder. Once the canvas
element has become a
- placeholder for an OffscreenCanvas
object, its intrinsic size can no longer be
- changed, and it cannot have a rendering context. The content of the placeholder canvas is
- updated by calling the commit()
method of the
- OffscreenCanvas
object's rendering context.
+
Returns a newly created OffscreenCanvas
object that uses the canvas
+ element as a placeholder. Once the canvas
element has become a placeholder for an
+ OffscreenCanvas
object, its intrinsic size can no longer be changed, and it cannot
+ have a rendering context. The content of the placeholder canvas is updated by calling the commit()
method of the OffscreenCanvas
+ object's rendering context.
desynchronized
- member is true if the context can be desynchronized.colorSpace
member is
a string indicating the context's color
space.willReadFrequently
- member is true if the context is marked for readback optimization.willReadFrequently
+ member is true if the context is marked for readback optimization.Returns the current spacing between words in the text.
-Can be set, to change spacing between words. Postive values spreads words further - apart, while negative values brings them closer together. The default is 0.
+Can be set, to change spacing between words. Postive values spreads words further apart, + while negative values brings them closer together. The default is 0.
fontKerning
[ = value ]Returns the current font variant caps settings.
-Can be set, to change the font variant caps. The possible values and their meanings are
- given below. Other values are ignored. The default is "Can be set, to change the font variant caps. The possible values and their meanings are given
+ below. Other values are ignored. The default is "
normal
".
Adds the given point to the current subpath, connected to the previous one by a quadratic - Bézier curve with the given control point.
+ Bézier curve with the given control point.bezierCurveTo
(cp1x, cp1y, cp2x, cp2y, x, y)bezierCurveTo
(cp1x, cp1y, cp2x, cp2y, x, y)Adds the given point to the current subpath, connected to the previous one by a cubic - Bézier curve with the given control points.
+Adds the given point to the current subpath, connected to the previous one by a cubic Bézier + curve with the given control points.
arcTo
(x1, y1, x2, y2, radius)focus
([ { preventScroll
: true } ])focus
([ { preventScroll
: true } ])Moves the focus to the element.
@@ -75666,8 +75672,8 @@ END:VCARDFor example, to hide the outline from textarea
elements and instead use
- a yellow background to indicate focus, you could use:
For example, to hide the outline from textarea
elements and instead use a
+ yellow background to indicate focus, you could use:
textarea:focus-visible { outline: none; background: yellow; color: black; }
@@ -77760,8 +77766,8 @@ DND-v5: DataTransferItem?
Adds a new entry for the given data to the drag data store. If the data is plain - text then a type string has to be provided - also.
+ text then a type string has to be provided also. @@ -77934,8 +77939,8 @@ callback FunctionObjectCallback = undefined (any data);-->item .kind
Returns the drag data item kind, one of: "string", - "file".
+Returns the drag data item kind, one of: "string", + "file".
type
getAsBlob
()
Returns a Blob
object, if the drag data item kind is Blob or File.
Returns a Blob
object, if the drag data item kind is Blob or
+ File.
getAsFile
()Returns a File
object, if the drag data item kind is File.
Returns a File
object, if the drag data item kind is
+ File.
focus
([ { preventScroll
: true } ])isContentEditable
Returns true if the element is editable; otherwise, returns false.
-Returns true if the element is editable; otherwise, returns false.
items
Returns a DataTransferItemList
object, with the drag data.
Returns a DataTransferItemList
object, with the drag data.
setDragImage
(element, x, y)getData
(format)Returns the specified data. If there is no such data, returns the empty string.
-Returns the specified data. If there is no such data, returns the empty string.
setData
(format, data)Adds the specified data.
-Adds the specified data.
clearData
( [ format ] )Removes the data of the specified formats. Removes all data if the argument is omitted.
-Removes the data of the specified formats. Removes all data if the argument is + omitted.
files
Returns a FileList
of the files being dragged, if any.
Returns a FileList
of the files being dragged, if any.
top
Returns the WindowProxy
for the top-level browsing context.
Returns the WindowProxy
for the top-level browsing
+ context.
opener
[ = value ]parent
Returns the WindowProxy
for the parent browsing context.
Returns the WindowProxy
for the parent browsing
+ context.
frameElement
window
frames
self
These attributes all return window.
-These attributes all return window.
document
Returns the Document
associated with window.
Returns the Document
associated with window.
defaultView
Returns the Window
object of the active document.
Returns the Window
object of the active document.
close
()Closes the window.
-Closes the window.
closed
Returns true if the window has been closed, false otherwise.
-Returns true if the window has been closed, false otherwise.
stop
()Cancels the document load.
-Cancels the document load.
Returns the indicated document-tree child browsing context.
-Returns the indicated document-tree child browsing context.
locationbar
. visible
Returns true if the location bar is visible; otherwise, returns false.
-Returns true if the location bar is visible; otherwise, returns false.
menubar
. visible
Returns true if the menu bar is visible; otherwise, returns false.
-Returns true if the menu bar is visible; otherwise, returns false.
personalbar
. visible
Returns true if the personal bar is visible; otherwise, returns false.
-Returns true if the personal bar is visible; otherwise, returns false.
scrollbars
. visible
Returns true if the scrollbars are visible; otherwise, returns false.
-Returns true if the scrollbars are visible; otherwise, returns false.
statusbar
. visible
Returns true if the status bar is visible; otherwise, returns false.
-Returns true if the status bar is visible; otherwise, returns false.
toolbar
. visible
Returns true if the toolbar is visible; otherwise, returns false.
-Returns true if the toolbar is visible; otherwise, returns false.
history
. length
Returns the number of entries in the joint session history.
-Returns the number of entries in the joint session history.
history
. scrollRestoration
[ = value ]history
. state
Returns the current serialized state, deserialized into an object.
-Returns the current serialized state, deserialized into an object.
history
. go
( [ delta ] )Returns the Location
object's URL's origin.
Returns the Location
object's URL's origin.
protocol
Navigates to the given URL.
-Navigates to the given URL.
replace
(url)Removes the current page from the session history and navigates to the given URL.
-Removes the current page from the session history and navigates to the given URL.
reload
()Reloads the current page.
-Reloads the current page.
ancestorOrigins
state
Returns a copy of the information that was provided to pushState()
or replaceState()
.
Returns a copy of the information that was provided to pushState()
or replaceState()
.
DOMParser
()Constructs a new DOMParser
object.
Constructs a new DOMParser
object.
parseFromString
( string, type )clearTimeout
( handle )Cancels the timeout set with setTimeout()
or setInterval()
identified by handle.
Cancels the timeout set with setTimeout()
or setInterval()
identified by handle.
setInterval
( handler [, timeout [, arguments... ] ] )clearInterval
( handle )Cancels the timeout set with setInterval()
or setTimeout()
identified by handle.
Cancels the timeout set with setInterval()
or setTimeout()
identified by handle.
Timers can be nested; after five such nested timers, however, the interval is @@ -96219,9 +96012,8 @@ function sendData(data) {
alert
(message)Displays a modal alert with the given message, and waits for the user to dismiss it.
-Displays a modal alert with the given message, and waits for the user to dismiss + it.
confirm
(message)print
()Prompts the user to print the page.
-Prompts the user to print the page.
navigator
. cookieEnabled
Returns false if setting a cookie will be ignored, and true otherwise.
-Returns false if setting a cookie will be ignored, and true otherwise.
close
()Releases imageBitmap's underlying bitmap data.
-Releases imageBitmap's underlying bitmap data.
width
data
Returns the data of the message.
-Returns the data of the message.
origin
url
Returns the URL providing the event stream.
-Returns the URL providing the event + stream.
withCredentials
extensions
Returns the extensions selected by the server, if any.
-Returns the extensions selected by the server, if any.
protocol
blob
"Binary data is returned in Blob
form.
Binary data is returned in Blob
form.
arraybuffer
"Binary data is returned in ArrayBuffer
form.
Binary data is returned in ArrayBuffer
+ form.
Can be set, to change how binary data is returned. The default is " Returns true if the connection closed cleanly; false otherwise. Returns true if the connection closed cleanly; false otherwise. Returns the WebSocket connection close code provided by the server. Returns the WebSocket connection close code provided by the server. Returns the WebSocket connection close reason provided by the server. Returns the WebSocket connection close reason provided by the server. Returns the first Returns the first Returns the second Returns the second Returns the channel name (as passed to the constructor). Returns the channel name (as passed to the constructor). Closes the Closes the Inserts element before the node given by before. Returns the number of strings in strings. Returns the string with index index from strings. Returns true if strings contains string, and false
otherwise. Returns the URL of the Returns the HTTP cookies that apply to the Returns the date of the last modification to the document, as reported by the server, in the
form " Returns " Returns the Returns the document's title, as given by the Returns the body element. Returns an Return an Returns an Return an Return an Returns a Returns the Returns the hyperlink's URL's password. Returns the hyperlink's URL's host and port (if different from the default port for the
scheme). Can be set, to change the URL's host and port. Returns the hyperlink's URL's host. Can be set, to change the URL's host. Returns the hyperlink's URL's port. Can be set, to change the URL's port. Returns the hyperlink's URL's path. Can be set, to change the URL's path. Returns the hyperlink's URL's query (includes leading " Can be set, to change the URL's query (ignores leading " Returns the hyperlink's URL's fragment (includes leading " They can be set, to change the corresponding content attributes. Returns the image's absolute URL. This method causes the user agent to decode the
@@ -27054,7 +27054,7 @@ interface HTMLImageElement : HTMLElement {
These attributes return the intrinsic dimensions of the video, or zero if the dimensions are
@@ -32853,7 +32853,7 @@ interface HTMLAudioElement : HTMLMediaElement
Returns a new Returns the text track readiness state, represented by a number from the
following list: The text track not loaded state. The text track loading state. The text track loaded state. The text track failed to load state. Returns the Returns a Returns the current error's error code, from the list below. Returns a specific informative diagnostic message about the error condition encountered. The
@@ -33484,14 +33484,14 @@ interface MediaError {
Allows the media element to be assigned a media provider
object. Returns the URL of the current media resource, if any. Returns the empty string (a negative response), "maybe", or "probably" based on how confident
@@ -33624,7 +33624,7 @@ interface MediaError {
Returns the current state of network activity for the element, from the codes in the list
@@ -33678,7 +33678,7 @@ interface MediaError {
Causes the element to reset and start selecting and loading a new media resource
@@ -34774,7 +34774,7 @@ interface MediaError {
Returns a Returns the length of the media resource, in seconds, assuming that the start of
@@ -34823,7 +34823,7 @@ interface MediaError {
Returns Infinity for unbounded streams. Returns the official playback position, in seconds. Returns a value that expresses the current state of the element with respect to rendering the
@@ -35350,15 +35350,15 @@ interface MediaError {
Returns true if playback is paused; false otherwise. Returns true if playback has reached the end of the media resource. Returns the default rate of playback, for when the user is not fast-forwarding or reversing
@@ -35371,7 +35371,7 @@ interface MediaError {
will be returned to the default rate of playback. Returns the current rate playback, where 1.0 is normal speed. Can be set, to change the rate of playback. Returns true if pitch-preserving algorithms are used when the Returns a Sets the Sets the Returns true if the user agent is currently seeking. Returns a Seeks to near the given time as fast as possible, trading precision for speed. (To
@@ -36311,14 +36311,14 @@ interface MediaError {
Returns an Returns a Returns the number of tracks in the list. Returns the specified Returns the Returns the ID of the given track. This is the ID that can be used with a VideoTrack {
syntax, and that can be used with the Returns the category the given track falls into. The possible track categories are given below. Returns the label of the given track, if known, or the empty string otherwise. Returns the language of the given track, if known, or the empty string otherwise. Returns true if the given track is active, and false otherwise. Returns the index of the currently selected track, if any, or −1
otherwise. Returns true if the given track is active, and false otherwise. Returns the number of text tracks associated with the
media element (e.g. from Returns the Returns the Creates and returns a new Returns the text track kind string. Returns the text track label, if there is one, or the empty string otherwise
(indicating that a custom label probably needs to be generated from the other attributes of the
object if the object is exposed to the user). Returns the text track language string. Returns the ID of the given track. Returns the text track in-band metadata track dispatch type string. Returns the text track mode, represented by a string from the following
list: Can be set, to change the mode. Returns the text track list of cues, as a Returns the text track cues from the text track
list of cues that are currently active (i.e. that start before the current playback
position and end after it), as a Adds the given cue to textTrack's text track list of
cues. Removes the given cue from textTrack's text track list of
cues. Returns the number of cues in the list. Returns the text track cue with index index in the list. The cues are
sorted in text track cue order. Returns the first text track cue (in text track cue order) with
text track cue identifier id. Returns the Returns the text track cue identifier. Can be set. Returns the text track cue start time, in seconds. Can be set. Returns the text track cue end time, in seconds. Can be set. Returns true if the text track cue pause-on-exit flag is set, false
otherwise. Returns the current playback volume, as a number in the range 0.0 to 1.0, where 0.0 is the
@@ -38355,7 +38355,7 @@ red:89
value is not in the range 0.0 .. 1.0. Returns true if audio is muted, overriding the Returns the number of ranges in the object. Returns the time for the start of the range with the given index. Returns the time for the end of the range with the given index. Returns the track object ( Returns an Returns the Returns the table's Can be set, to replace the Ensures the table has a Ensures the table does not have a Returns the table's Ensures the table has a Ensures the table does not have a Returns the table's Ensures the table has a Ensures the table does not have a Returns an Creates a Returns an Creates a Removes the Returns an Creates a Removes the Returns the position of the row in the table's Returns −1 if the element isn't in a table. Returns the position of the row in the table section's Returns −1 if the element isn't in a table section. Returns an Creates a Removes the Returns the position of the cell in the row's Returns an Returns the number of form controls in the form (excluding image buttons for historical
reasons). Returns the indexth element in the form (excluding image buttons for historical
reasons). Returns the form control (or, if there are several, a Submits the form, bypassing interactive
@@ -43387,7 +43387,7 @@ interface HTMLFormElement : HTMLElement {
event. Requests to submit the form. Unlike Resets the form. Returns true if the form's controls are all valid; otherwise, returns false. Returns true if the form's controls are all valid; otherwise, returns false and informs the
@@ -43790,11 +43790,11 @@ interface HTMLLabelElement : HTMLElement {
Returns the form control that is associated with this element. Returns the form owner of the form control that is associated with this
@@ -43840,7 +43840,7 @@ interface HTMLLabelElement : HTMLElement {
Returns a When set, overrides the rendering of checkbox
@@ -48610,8 +48610,8 @@ ldh-str = < as defined in
- These attributes return the actual rendered dimensions of the image, or zero if the
@@ -49764,7 +49764,7 @@ You cannot submit this form when the field is incorrect.
Returns the current value of the form control. Returns the current checkedness of the form
@@ -49784,7 +49784,7 @@ You cannot submit this form when the field is incorrect.
Can be set, to change the checkedness. Returns a Returns a Returns a number representing the form control's
control is neither date- or time-based nor numeric. Changes the form control's value by the value given in
@@ -49835,7 +49835,7 @@ You cannot submit this form when the field is incorrect.
attribute's value is " Returns the Returns " Returns an Returns the number of elements in the list of
options. Returns the item with index index from the list of options. The items are sorted in tree
order. Returns the first item with ID or Returns null if no element with that ID could be found. Inserts element before the node given by before. Returns an Returns the index of the first selected item, if any, or −1 if there is no selected
@@ -50785,7 +50785,7 @@ interface HTMLSelectElement : HTMLElement {
Can be set, to change the selection. Returns the value of the first selected item, if
@@ -51081,7 +51081,7 @@ interface HTMLDataListElement : HTMLElement {
Returns an Returns true if the element is selected, and false otherwise. Can be set, to override the current state of the element. Returns the index of the element in its Returns the element's Same as Returns a new Returns the string " Returns the current value of the element. Returns the element's current value. Can be set, to change the value. Returns the element's current default value. Can be set, to change the default value. Returns the string " For a determinate progress bar (one with known current and maximum values), returns the
@@ -52802,11 +52802,11 @@ interface HTMLFieldSetElement : HTMLElement {
Returns the string "fieldset". Returns an Returns the element's Returns the element's form owner. Selects everything in the text control. Returns the offset to the start of the selection. Can be set, to change the start of the selection. Returns the offset to the end of the selection. Can be set, to change the end of the selection. Returns the current direction of the selection. Changes the selection to cover the given substring in the given direction. If the direction
is omitted, it will be reset to be the platform default (none or forward). Replaces a range of text with the new text. If the start and end
@@ -56141,14 +56141,14 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD
Returns true if the element will be validated when the form is submitted; false
otherwise. Sets a custom error, so that the element would fail to validate. The given message is the
@@ -56157,71 +56157,71 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD
If the argument is the empty string, clears the custom error. Returns true if the element has no value but is a required field; false
otherwise. Returns true if the element's value is not in the correct syntax; false
otherwise. Returns true if the element's value doesn't match the provided pattern; false
otherwise. Returns true if the element's value is longer than the provided maximum length; false
otherwise. Returns true if the element's value, if it is not the empty string, is shorter than the
provided minimum length; false otherwise. Returns true if the element's value is lower than the provided minimum; false
otherwise. Returns true if the element's value is higher than the provided maximum; false
otherwise. Returns true if the element's value doesn't fit the rules given by the Returns true if the user has provided input in the user interface that the user agent is
unable to convert to a value; false otherwise. Returns true if the element has a custom error; false otherwise. Returns true if the element's value has no validity problems; false otherwise. Returns true if the element's value has no validity problems; false otherwise. Fires an
Returns true if the element's value has no validity problems; otherwise, returns false, fires
@@ -56229,7 +56229,7 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD
canceled) reports the problem to the user. Returns the error message that would be shown to the user if the element was to be checked
@@ -57383,7 +57383,7 @@ dictionary SubmitEventInit : EventInit {
};
Returns the element representing the submit
button that triggered the form submission, or null if the submission was not
triggered by a button. Returns a Displays the Displays the This method honors the Closes the The argument, if provided, provides a return value. Returns the Returns the child text content of the element. Returns the template contents (a Set slot's manually assigned nodes to the given
nodes. Returns an object that exposes an API for drawing on the canvas. contextId
specifies the desired API: " Returns a Creates a Returns a newly created Returns a Returns the Returns an object whose: Pushes the current state onto the stack. Pops the top state on the stack, restoring the context to that state. Resets the rendering context, which includes the backing buffer, the drawing state stack,
path, and styles. Returns the current line width. Returns the current line cap style. Returns the current line join style. Returns the current miter limit ratio. Sets the current line dash pattern (as used when stroking). The argument is a list of
@@ -61526,8 +61526,8 @@ context.fillRect(100,0,50,50); // only this square remains
Returns a copy of the current line dash pattern. The array returned will always have an even
@@ -61535,8 +61535,8 @@ context.fillRect(100,0,50,50); // only this square remains
Returns the phase offset (in the same units as the line dash pattern). Returns the current font settings. Returns the current text alignment settings. Returns the current baseline alignment settings. Returns the current directionality. Returns the current spacing between characters in the text. Returns the current spacing between words in the text. Returns the current font kerning settings. Returns the current font stretch settings. Returns the current font variant caps settings. Returns the current text rendering settings. Creates a new subpath with the given point. Marks the current subpath as closed, and starts a new subpath with a point the same as the
start and end of the newly closed subpath. Adds the given point to the current subpath, connected to the previous one by a straight
line. Adds the given point to the current subpath, connected to the previous one by a quadratic
Bézier curve with the given control point. Adds the given point to the current subpath, connected to the previous one by a cubic Bézier
curve with the given control points. Adds an arc with the given control points and radius to the current subpath, connected to the
@@ -62782,8 +62782,8 @@ try {
-->
Adds points to the subpath such that the arc described by the circumference of the circle
@@ -62950,8 +62950,8 @@ try {
-->
Adds points to the subpath such that the arc described by the circumference of the ellipse
@@ -62963,13 +62963,13 @@ try {
radius is negative. Adds a new closed subpath to the path, representing the given rectangle. Adds a new closed subpath to the path representing the given rounded rectangle.
@@ -63393,10 +63393,10 @@ try {
add text to paths. Creates a new empty When path is a Adds to the path the path given by the argument. Changes the current transformation matrix to apply a scaling transformation with
the given characteristics. Changes the current transformation matrix to apply a rotation transformation
with the given characteristics. The angle is in radians. Changes the current transformation matrix to apply a translation transformation
with the given characteristics. Changes the current transformation matrix to apply the matrix given by the
arguments as described below. Returns a copy of the current transformation matrix, as a newly created
Changes the current transformation matrix to the matrix given by the
arguments as described below. Changes the current transformation matrix to the matrix represented by
the passed Changes the current transformation matrix to the identity matrix. Returns the current style used for filling shapes. Returns the current style used for stroking shapes. Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset
@@ -64036,14 +64036,14 @@ try {
the color cannot be parsed. Returns a Returns a Returns a Returns a Sets the transformation matrix that will be used when rendering the pattern during a fill or
@@ -64341,16 +64341,16 @@ try {
Clears all pixels on the bitmap in the given rectangle to transparent
black. Paints the given rectangle onto the bitmap, using the current fill style. Paints the box that outlines the given rectangle onto the bitmap, using the current stroke
@@ -64425,33 +64425,33 @@ try {
Fills or strokes (respectively) the given text at the given position. If a maximum width is
provided, the text will be scaled to fit that width if necessary. Returns a Returns the measurement described below. Resets the current default path. Fills the subpaths of the current default path or the given path with the
@@ -64673,8 +64673,8 @@ try {
Strokes the subpaths of the current default path or the given path with the
@@ -64682,8 +64682,8 @@ try {
Further constrains the clipping region to the current default path or the given
@@ -64691,8 +64691,8 @@ try {
Returns true if the given point is in the current default path or the given
@@ -64700,8 +64700,8 @@ try {
Returns true if the given point would be in the region covered by the stroke of the
@@ -64885,8 +64885,8 @@ try {
If the given element is focused, draws a focus ring around the current
@@ -64894,8 +64894,8 @@ try {
Scrolls the current default path or the given path into view. This is especially
@@ -65004,9 +65004,9 @@ try {
Draws the given image onto the canvas. The arguments are interpreted as follows: Returns an Returns an Returns an Returns an Returns an Returns the actual dimensions of the data in the Returns the one-dimensional array containing the data in RGBA order, as integers in the
range 0 to 255. Returns the color space of the pixels. Paints the data from the given Returns the current alpha value applied to rendering operations. Returns the current composition operation, from the values defined in Compositing and
@@ -65723,7 +65723,7 @@ console.log(pixels.data[2]);
Returns whether pattern fills and the Returns the current image-smoothing-quality preference. Returns the current shadow color. Returns the current shadow offset. Can be set, to change the shadow offset. Values that are not finite numbers are ignored. Returns the current level of blur applied to shadows. Returns the current filter. Returns an Returns the Transfers the underlying bitmap data
@@ -66213,7 +66213,7 @@ dictionary ImageBitmapRenderingContextSettings {
Replaces contents of the Returns a new Returns an object that exposes an API for drawing on the These attributes return the dimensions of the Returns a promise that will fulfill with a new Returns a newly created Copies the rendering context's bitmap to the
@@ -66907,7 +66907,7 @@ interface OffscreenCanvasRenderingContext2D {
automatically during the event loop execution. Returns the associated CloseEventInit : EventInit {
wasClean
code
reason
port1
MessagePort
object.MessagePort
object.port2
MessagePort
object.MessagePort
object.name
postMessage
(message)close
()BroadcastChannel
object, opening it up to garbage collection.BroadcastChannel
object, opening it up to garbage
+ collection.
and convert inner
- s into s
---
source | 1236 ++++++++++++++++++++++++++++----------------------------
1 file changed, 618 insertions(+), 618 deletions(-)
diff --git a/source b/source
index 702a5f3fd59..a176bdaecca 100644
--- a/source
+++ b/source
@@ -7766,7 +7766,7 @@ interface HTMLOptionsCollection : HTMLCollectionIf there are multiple matching items, then the first is returned.
-
- collection.
add
(element[, before])collection.add(element[, before])
-
@@ -9319,7 +9319,7 @@ partial interface Document {
length
strings . length
item
(index)strings[index]
strings . item(index)
contains
(string)strings . contains(string)
-
referrer
document . referrer
Document
from
which the user navigated to this one, unless it was blocked or there was no such document, in
@@ -9341,7 +9341,7 @@ partial interface Document {
-
cookie
[ = value ]document . cookie [ = value ]
Document
. If there are no cookies or
cookies can't be applied to this resource, the empty string will be returned.
-
lastModified
document . lastModified
MM/DD/YYYY hh:mm:ss
", in the user's local time zone.
-
readyState
document . readyState
loading
" while the Document
is loading, "interactive
" once it is finished parsing but still loading subresources, and
@@ -9587,7 +9587,7 @@ partial interface Document {
-
@@ -9607,7 +9607,7 @@ partial interface Document {
head
document . head
head
element.
-
title
[ = value ]document . title [ = value ]
title
element for
HTML and as given by the SVG title
element for SVG.
-
body
[ = value ]document . body [ = value ]
-
images
document . images
HTMLCollection
of the img
elements in the
Document
.embeds
plugins
document . embeds
document . plugins
HTMLCollection
of the embed
elements in the
Document
.links
document . links
HTMLCollection
of the a
and area
elements
in the Document
that have href
attributes.forms
document . forms
HTMLCollection
of the form
elements in the
Document
.scripts
document . scripts
HTMLCollection
of the script
elements in the
Document
.
-
@@ -9868,7 +9868,7 @@ partial interface Document {
getElementsByName
(name)collection = document . getElementsByName(name)
NodeList
of elements in the Document
that have a name
attribute with the value name.
-
currentScript
document . currentScript
script
element, or the SVG script
element,
that is currently executing, as long as the element represents a classic script. In
@@ -12248,7 +12248,7 @@ Transport Protocol">HTTP</abbr> today.</p>password
hyperlink . password
host
hyperlink . host
hostname
hyperlink . hostname
port
hyperlink . port
pathname
hyperlink . pathname
search
hyperlink . search
?
" if
non-empty).?
").hash
hyperlink . hash
#
" if
non-empty).
-
width
[ = value ]height
[ = value ]image . width [ = value ]
image . height [ = value ]
naturalWidth
naturalHeight
image . naturalWidth
image . naturalHeight
complete
image . complete
currentSrc
image . currentSrc
decode
()image . decode()
DOMException
if the image cannot be decoded.Image
( [ width [, height ] ] )image = new Image( [ width [, height ] ] )
-
videoWidth
videoHeight
video . videoWidth
video . videoHeight
-
Audio
( [ url ] )audio = new Audio( [ url ] )
audio
element, with the src
@@ -33105,23 +33105,23 @@ interface HTMLTrackElement : HTMLElement {
-
readyState
track . readyState
-
NONE
(0)track . NONE (0)
LOADING
(1)track . LOADING (1)
LOADED
(2)track . LOADED (2)
ERROR
(3)track . ERROR (3)
track
track . track
TextTrack
object corresponding to the text track of the
@@ -33328,7 +33328,7 @@ interface HTMLMediaElement : HTMLElement {
-
error
media . error
MediaError
object representing the current error state of the
@@ -33362,11 +33362,11 @@ interface MediaError {
-
error
. code
media . error . code
error
. message
media . error . message
-
srcObject
[ = source ]media . srcObject [ = source ]
currentSrc
media . currentSrc
-
canPlayType
(type)media . canPlayType(type)
-
networkState
media . networkState
-
load
()media . load()
-
buffered
media . buffered
TimeRanges
object that represents the ranges of the media
@@ -34812,7 +34812,7 @@ interface MediaError {
-
duration
media . duration
currentTime
[ = value ]media . currentTime [ = value ]
-
readyState
media . readyState
-
paused
media . paused
ended
media . ended
defaultPlaybackRate
[ = value ]media . defaultPlaybackRate [ = value ]
playbackRate
[ = value ]media . playbackRate [ = value ]
preservesPitch
media . preservesPitch
MediaError {
aesthetic and performance reasons.
played
media . played
TimeRanges
object that represents the ranges of the media
resource that the user agent has played.play
()media . play()
paused
attribute to false, loading the
@@ -35405,7 +35405,7 @@ interface MediaError {
restart it from the start.pause
()media . pause()
paused
attribute to true, loading the
@@ -36125,18 +36125,18 @@ interface MediaError {
-
seeking
media . seeking
seekable
media . seekable
TimeRanges
object that represents the ranges of the media
resource to which it is possible for the user agent to seek.fastSeek
( time )media . fastSeek( time )
-
audioTracks
media . audioTracks
AudioTrackList
object representing the audio tracks available in the
media resource.videoTracks
media . videoTracks
VideoTrackList
object representing the video tracks available in the
@@ -36394,26 +36394,26 @@ interface VideoTrack {
-
audioTracks
. length
videoTracks
. length
media . audioTracks . length
media . videoTracks . length
audioTracks
[index]videoTracks
[index]audioTrack = media . audioTracks[index]
videoTrack = media . videoTracks[index]
AudioTrack
or VideoTrack
object.audioTracks
. getTrackById
( id )videoTracks
. getTrackById
( id )audioTrack = media . audioTracks . getTrackById( id )
videoTrack = media . videoTracks . getTrackById( id )
AudioTrack
or VideoTrack
object with the given
identifier, or null if no track has that identifier.id
id
audioTrack . id
videoTrack . id
getTrackById()
method.kind
kind
audioTrack . kind
videoTrack . kind
label
label
audioTrack . label
videoTrack . label
language
language
audioTrack . language
videoTrack . language
enabled
[ = value ]audioTrack . enabled [ = value ]
videoTracks
. selectedIndex
media . videoTracks . selectedIndex
selected
[ = value ]videoTrack . selected [ = value ]
-
textTracks
. length
media . textTracks . length
track
elements). This is the number of TextTrackList : EventTarget {
tracks.textTracks[
n ]
media . textTracks[ n ]
TextTrack
object representing the nth text
track in the media element's list of text tracks.textTracks
. getTrackById
( id )textTrack = media . textTracks . getTrackById( id )
TextTrack
object with the given identifier, or null if no track has
@@ -37706,26 +37706,26 @@ interface TextTrack : EventTarget {
-
@@ -38009,16 +38009,16 @@ interface TextTrackCueList {
addTextTrack
( kind [, label [, language ] ] )textTrack = media . addTextTrack( kind [, label [, language ] ] )
TextTrack
object, which is also added to the
media element's list of text tracks.kind
textTrack . kind
label
textTrack . label
language
textTrack . language
id
textTrack . id
track
element.
inBandMetadataTrackDispatchType
textTrack . inBandMetadataTrackDispatchType
mode
[ = value ]textTrack . mode [ = value ]
cues
textTrack . cues
TextTrackCueList
object.activeCues
textTrack . activeCues
TextTrackCueList
object.addCue
( cue )textTrack . addCue( cue )
removeCue
( cue )textTrack . removeCue( cue )
-
length
cuelist . length
cuelist[index]
getCueById
( id )cuelist . getCueById( id )
-
cue . track
TextTrack
object to which this text track cue belongs,
if any, or null otherwise.cue . id [ = value ]
cue . startTime [ = value ]
cue . endTime [ = value ]
cue . pauseOnExit [ = value ]
-
volume
[ = value ]media . volume [ = value ]
muted
[ = value ]media . muted [ = value ]
volume
@@ -38466,11 +38466,11 @@ interface TimeRanges {
-
length
media . length
start
(index)time = media . start(index)
end
(index)time = media . end(index)
-
track
event . track
TextTrack
, AudioTrack
, or
@@ -39202,7 +39202,7 @@ interface HTMLMapElement : HTMLElement {
-
areas
map . areas
HTMLCollection
of the area
elements in the
@@ -39821,9 +39821,9 @@ interface HTMLAreaElement : HTMLElement {
-
getSVGDocument
()getSVGDocument
()getSVGDocument
()doc = iframe . getSVGDocument()
doc = embed . getSVGDocument()
doc = object . getSVGDocument()
Document
object, in the case of iframe
,
embed
, or object
elements being used to embed SVG.
-
caption
[ = value ]table . caption [ = value ]
caption
element.caption
element.createCaption
()caption = table . createCaption()
caption
element, and returns it.deleteCaption
()table . deleteCaption()
caption
element.tHead
[ = value ]table . tHead [ = value ]
thead
element.DOMException
.
createTHead
()thead = table . createTHead()
thead
element, and returns it.deleteTHead
()table . deleteTHead()
thead
element.tFoot
[ = value ]table . tFoot [ = value ]
tfoot
element.DOMException
.
createTFoot
()tfoot = table . createTFoot()
tfoot
element, and returns it.deleteTFoot
()table . deleteTFoot()
tfoot
element.tBodies
table . tBodies
HTMLCollection
of the tbody
elements of the
table.createTBody
()tbody = table . createTBody()
tbody
element, inserts it into the table, and returns it.rows
table . rows
HTMLCollection
of the tr
elements of the
table.insertRow
( [ index ] )tr = table . insertRow( [ index ] )
tr
element, along with a tbody
if required, inserts them
into the table at the position given by the argument, and returns the tr
.IndexSizeError
" DOMException
.
deleteRow
(index)table . deleteRow(index)
tr
element with the given position in the table.rows
tbody . rows
HTMLCollection
of the tr
elements of the table
section.insertRow
( [ index ] )tr = tbody . insertRow( [ index ] )
tr
element, inserts it into the table section at the position given by
the argument, and returns the tr
.IndexSizeError
" DOMException
.
deleteRow
(index)tbody . deleteRow(index)
tr
element with the given position in the table section.
-
rowIndex
tr . rowIndex
rows
@@ -41079,7 +41079,7 @@ interface HTMLTableRowElement : HTMLElement {
sectionRowIndex
tr . sectionRowIndex
HTMLTableRowElement : HTMLElement {
cells
tr . cells
HTMLCollection
of the td
and th
elements of
the row.insertCell
( [ index ] )cell = tr . insertCell( [ index ] )
td
element, inserts it into the table row at the position given by the
@@ -41107,7 +41107,7 @@ interface HTMLTableRowElement : HTMLElement {
"IndexSizeError
" DOMException
.deleteCell
(index)tr . deleteCell(index)
td
or th
element with the given position in the
row.
-
cellIndex
cell . cellIndex
cells
list.
@@ -43341,28 +43341,28 @@ interface HTMLFormElement : HTMLElement {
-
elements
form . elements
HTMLFormControlsCollection
of the form controls in the form
(excluding image buttons for historical reasons).length
form . length
form[index]
form[name]
RadioNodeList
of the form
@@ -43379,7 +43379,7 @@ interface HTMLFormElement : HTMLElement {
those elements is returned.submit
()form . submit()
requestSubmit
( [ submitter ] )form . requestSubmit( [ submitter ] )
submit()
, this
@@ -43406,15 +43406,15 @@ interface HTMLFormElement : HTMLElement {
normally, buttons are excluded.reset
()form . reset()
checkValidity
()form . checkValidity()
reportValidity
()form . reportValidity()
-
control
label . control
form
label . form
-
labels
control . labels
NodeList
of all the label
elements that the form control
@@ -47776,7 +47776,7 @@ ldh-str = < as defined in
- indeterminate
[ = value ]input . indeterminate [ = value ]
width
[ = value ]height
[ = value ]image . width [ = value ]
image . height [ = value ]
-
value
[ = value ]input . value [ = value ]
checked
[ = value ]input . checked [ = value ]
files
[ = files ]input . files [ = files ]
FileList
object listing the
instance, as the result of a drag-and-drop operation.valueAsDate
[ = value ]input . valueAsDate [ = value ]
Date
object representing the form control's
control isn't date- or time-based.valueAsNumber
[ = value ]input . valueAsNumber [ = value ]
stepUp
( [ n ] )stepDown
( [ n ] )input . stepUp( [ n ] )
input . stepDown( [ n ] )
any
".list
input . list
datalist
element indicated by the list
attribute.
-
type
select . type
select-multiple
" if the element has a HTMLSelectElement : HTMLElement {
otherwise.
options
select . options
HTMLOptionsCollection
of the list of options.length
[ = value ]select . length [ = value ]
select
.item
(index)element = select . item(index)
select[index]
namedItem
(name)element = select . namedItem(name)
name
name from the HTMLSelectElement : HTMLElement {
add
(element [, before ] )select . add(element [, before ] )
selectedOptions
select . selectedOptions
HTMLCollection
of the list
of options that are selected.selectedIndex
[ = value ]select . selectedIndex [ = value ]
value
[ = value ]select . value [ = value ]
-
options
datalist . options
HTMLCollection
of the option
elements of the
@@ -51334,7 +51334,7 @@ interface HTMLOptionElement : HTMLElement {
-
selected
option . selected
index
option . index
select
element's options
list.form
option . form
form
element, if any, or null otherwise.text
option . text
textContent
, except that spaces are collapsed and script
elements are skipped.Option
( [ text [, value [, defaultSelected [, selected ] ] ] ] )option = new Option( [ text [, value [, defaultSelected [, selected ] ] ] ] )
option
element.
-
type
textarea . type
textarea
".value
textarea . value
-
@@ -52300,7 +52300,7 @@ interface HTMLProgressElement : HTMLElement {
value
[ = value ]output . value [ = value ]
defaultValue
[ = value ]output . defaultValue [ = value ]
type
output . type
output
".
-
position
progress . position
-
@@ -52969,7 +52969,7 @@ interface HTMLLegendElement : HTMLElement {
type
fieldset . type
elements
fieldset . elements
HTMLCollection
of the form controls in the element.
-
@@ -53192,7 +53192,7 @@ interface HTMLLegendElement : HTMLElement {
form
legend . form
form
element, if any, or null otherwise.
-
form
element . form
-
select
()element . select()
selectionStart
[ = value ]element . selectionStart [ = value ]
selectionEnd
[ = value ]element . selectionEnd [ = value ]
selectionDirection
[ = value ]element . selectionDirection [ = value ]
none
".
setSelectionRange
(start, end [, direction] )element . setSelectionRange(start, end [, direction] )
setRangeText
(replacement [, start, end [, selectionMode ] ] )element . setRangeText(replacement [, start, end [, selectionMode ] ] )
-
willValidate
element . willValidate
setCustomValidity
(message)element . setCustomValidity(message)
validity
. valueMissing
element . validity . valueMissing
validity
. typeMismatch
element . validity . typeMismatch
validity
. patternMismatch
element . validity . patternMismatch
validity
. tooLong
element . validity . tooLong
validity
. tooShort
element . validity . tooShort
validity
. rangeUnderflow
element . validity . rangeUnderflow
validity
. rangeOverflow
element . validity . rangeOverflow
validity
. stepMismatch
element . validity . stepMismatch
step
attribute; false otherwise.validity
. badInput
element . validity . badInput
validity
. customError
element . validity . customError
validity
. valid
element . validity . valid
checkValidity
()valid = element . checkValidity()
invalid
event at the element in the latter case.reportValidity
()valid = element . reportValidity()
validationMessage
element . validationMessage
-
submitter
event . submitter
-
formData
event . formData
FormData
object representing names and values of elements associated
@@ -58033,11 +58033,11 @@ interface HTMLDialogElement : HTMLElement {
-
show
()dialog . show()
dialog
element.showModal
()dialog . showModal()
dialog
element and makes it the top-most modal dialog.autofocus
attribute.close
( [ result ] )dialog . close( [ result ] )
dialog
element.returnValue
[ = result ]dialog . returnValue [ = result ]
dialog
's return value.
-
text
[ = value ]script . text [ = value ]
-
@@ -60100,25 +60100,25 @@ dictionary AssignedNodesOptions {
data-x="attr-slot">slot attribute value.
content
template . content
DocumentFragment
).
-
@@ -60435,7 +60435,7 @@ callback BlobCallback = undefined (Blob? blob);
name
slot . name
assignedNodes
()slot . assignedNodes()
assignedNodes
({ flatten: true })slot . assignedNodes({ flatten: true })
slot
elements encountered therein, recursively,
until there are no slot
elements left.assignedElements
()slot . assignedElements()
assignedElements
({ flatten: true })slot . assignedElements({ flatten: true })
assignedNodes({ flatten: true
})
, limited to elements.assign
(...nodes)slot . assign(...nodes)
-
getContext
(contextId [, options ] )context = canvas . getContext(contextId [, options ] )
2d
", "BlobCallback = undefined (Blob? blob);
-
toDataURL
( [ type [, quality ] ] )url = canvas . toDataURL( [ type [, quality ] ] )
data:
URL for the image in the
@@ -60622,7 +60622,7 @@ callback BlobCallback = undefined (Blob? blob);
which case the result might simply be "data:,
".)toBlob
(callback [, type [, quality ] ] )canvas . toBlob(callback [, type [, quality ] ] )
Blob
object representing a file containing the image in the canvas,
@@ -60635,7 +60635,7 @@ callback BlobCallback = undefined (Blob? blob);
indicating the desired quality level for the resulting image.transferControlToOffscreen
()canvas . transferControlToOffscreen()
OffscreenCanvas
object that uses the canvas
@@ -61042,7 +61042,7 @@ interface Path2D {
objects.
-
getContext
('2d' [, { [ alpha
: true ] [, desynchronized
: false ] [, colorSpace
: 'srgb'] [, willReadFrequently
: false ]} ] )context = canvas . getContext('2d' [, { [ alpha: true ] [, desynchronized: false ] [, colorSpace: 'srgb'] [, willReadFrequently: false ]} ] )
CanvasRenderingContext2D
object that is permanently bound to a
particular canvas
element.canvas
context . canvas
canvas
element.getContextAttributes
()attributes = canvas . getContextAttributes()
canvas
element.
-
@@ -61472,8 +61472,8 @@ context.fillRect(100,0,50,50); // only this square remains
save
()context . save()
restore
()context . restore()
reset
()context . reset()
-
lineWidth
[ = value ]lineWidth
[ = value ]context . lineWidth [ = value ]
styles . lineWidth [ = value ]
lineCap
[ = value ]lineCap
[ = value ]context . lineCap [ = value ]
styles . lineCap [ = value ]
square
". Other values are ignored.
lineJoin
[ = value ]lineJoin
[ = value ]context . lineJoin [ = value ]
styles . lineJoin [ = value ]
miter
". Other values are ignored.
miterLimit
[ = value ]miterLimit
[ = value ]context . miterLimit [ = value ]
styles . miterLimit [ = value ]
setLineDash
(segments)setLineDash
(segments)context . setLineDash(segments)
styles . setLineDash(segments)
getLineDash
()getLineDash
()segments = context . getLineDash()
segments = styles . getLineDash()
lineDashOffset
lineDashOffset
context . lineDashOffset
styles . lineDashOffset
Text styles
-
font
[ = value ]font
[ = value ]context . font [ = value ]
styles . font [ = value ]
textAlign
[ = value ]textAlign
[ = value ]context . textAlign [ = value ]
styles . textAlign [ = value ]
start
".
textBaseline
[ = value ]textBaseline
[ = value ]context . textBaseline [ = value ]
styles . textBaseline [ = value ]
direction
[ = value ]direction
[ = value ]context . direction [ = value ]
styles . direction [ = value ]
textLetterSpacing
[ = value ]textLetterSpacing
[ = value ]context . textLetterSpacing [ = value ]
styles . textLetterSpacing [ = value ]
textWordSpacing
[ = value ]textWordSpacing
[ = value ]context . textWordSpacing [ = value ]
styles . textWordSpacing [ = value ]
fontKerning
[ = value ]fontKerning
[ = value ]context . fontKerning [ = value ]
styles . fontKerning [ = value ]
fontStretch
[ = value ]fontStretch
[ = value ]context . fontStretch [ = value ]
styles . fontStretch [ = value ]
fontVariantCaps
[ = value ]fontVariantCaps
[ = value ]context . fontVariantCaps [ = value ]
styles . fontVariantCaps [ = value ]
textRendering
[ = value ]textRendering
[ = value ]context . textRendering [ = value ]
styles . textRendering [ = value ]
-
moveTo
(x, y)moveTo
(x, y)context . moveTo(x, y)
path . moveTo(x, y)
closePath
()closePath
()context . closePath()
path . closePath()
lineTo
(x, y)lineTo
(x, y)context . lineTo(x, y)
path . lineTo(x, y)
quadraticCurveTo
(cpx, cpy, x, y)quadraticCurveTo
(cpx, cpy, x, y)context . quadraticCurveTo(cpx, cpy, x, y)
path . quadraticCurveTo(cpx, cpy, x, y)
bezierCurveTo
(cp1x, cp1y, cp2x, cp2y, x, y)bezierCurveTo
(cp1x, cp1y, cp2x, cp2y, x, y)context . bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
path . bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
arcTo
(x1, y1, x2, y2, radius)arcTo
(x1, y1, x2, y2, radius)context . arcTo(x1, y1, x2, y2, radius)
path . arcTo(x1, y1, x2, y2, radius)
arc
(x, y, radius, startAngle, endAngle [, counterclockwise ] )arc
(x, y, radius, startAngle, endAngle [, counterclockwise ] )context . arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
path . arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
ellipse
(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )ellipse
(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )context . ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
path . ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
rect
(x, y, w, h)rect
(x, y, w, h)context . rect(x, y, w, h)
path . rect(x, y, w, h)
roundRect
(x, y, w, h, radii)roundRect
(x, y, w, h, radii)context . roundRect(x, y, w, h, radii)
path . roundRect(x, y, w, h, radii)
-
@@ -63501,56 +63501,56 @@ try {
Path2D
()path = new Path2D()
Path2D
object.Path2D
(path)path = new Path2D(path)
Path2D
object, returns a copy.addPath
(path [, transform ] )path . addPath(path [, transform ] )
-
@@ -63842,7 +63842,7 @@ try {
scale
(x, y)context . scale(x, y)
rotate
(angle)context . rotate(angle)
translate
(x, y)context . translate(x, y)
transform
(a, b, c, d, e, f)context . transform(a, b, c, d, e, f)
getTransform
()matrix = context . getTransform()
DOMMatrix
object.setTransform
(a, b, c, d, e, f)context . setTransform(a, b, c, d, e, f)
setTransform
(transform)context . setTransform(transform)
DOMMatrix2DInit
dictionary.resetTransform
()context . resetTransform()
-
fillStyle
[ = value ]context . fillStyle [ = value ]
CanvasPattern
object. Invalid values are ignored.
strokeStyle
[ = value ]context . strokeStyle [ = value ]
-
addColorStop
(offset, color)gradient . addColorStop(offset, color)
createLinearGradient
(x0, y0, x1, y1)gradient = context . createLinearGradient(x0, y0, x1, y1)
CanvasGradient
object that represents a linear gradient that paints
along the line given by the coordinates represented by the arguments.createRadialGradient
(x0, y0, r0, x1, y1, r1)gradient = context . createRadialGradient(x0, y0, r0, x1, y1, r1)
CanvasGradient
object that represents a radial gradient that paints
@@ -64053,7 +64053,7 @@ try {
DOMException
exception.createConicGradient
(startAngle, x, y)gradient = context . createConicGradient(startAngle, x, y)
CanvasGradient
object that represents a conic gradient that paints
clockwise along the rotation around the center represented by the arguments.
-
createPattern
(image, repetition)pattern = context . createPattern(image, repetition)
CanvasPattern
object that uses the given image and repeats in the
@@ -64202,7 +64202,7 @@ try {
data, throws an "InvalidStateError
" DOMException
.setTransform
(transform)pattern . setTransform(transform)
-
clearRect
(x, y, w, h)context . clearRect(x, y, w, h)
fillRect
(x, y, w, h)context . fillRect(x, y, w, h)
strokeRect
(x, y, w, h)context . strokeRect(x, y, w, h)
-
@@ -64660,12 +64660,12 @@ try {
fillText
(text, x, y [, maxWidth ] )strokeText
(text, x, y [, maxWidth ] )context . fillText(text, x, y [, maxWidth ] )
context . strokeText(text, x, y [, maxWidth ] )
measureText
(text)metrics = context . measureText(text)
TextMetrics
object with the metrics of the given text in the current
font.width
actualBoundingBoxLeft
actualBoundingBoxRight
fontBoundingBoxAscent
fontBoundingBoxDescent
actualBoundingBoxAscent
actualBoundingBoxDescent
emHeightAscent
emHeightDescent
hangingBaseline
alphabeticBaseline
ideographicBaseline
metrics . width
metrics . actualBoundingBoxLeft
metrics . actualBoundingBoxRight
metrics . fontBoundingBoxAscent
metrics . fontBoundingBoxDescent
metrics . actualBoundingBoxAscent
metrics . actualBoundingBoxDescent
metrics . emHeightAscent
metrics . emHeightDescent
metrics . hangingBaseline
metrics . alphabeticBaseline
metrics . ideographicBaseline
-
beginPath
()context . beginPath()
fill
( [ fillRule ] )fill
(path [, fillRule ] )context . fill( [ fillRule ] )
context . fill(path [, fillRule ] )
stroke
()stroke
(path)context . stroke()
context . stroke(path)
clip
( [ fillRule ] )clip
(path [, fillRule ] )context . clip( [ fillRule ] )
context . clip(path [, fillRule ] )
isPointInPath
(x, y [, fillRule ] )isPointInPath
(path, x, y [, fillRule ] )context . isPointInPath(x, y [, fillRule ] )
context . isPointInPath(path, x, y [, fillRule ] )
isPointInStroke
(x, y)isPointInStroke
(path, x, y)context . isPointInStroke(x, y)
context . isPointInStroke(path, x, y)
-
drawFocusIfNeeded
(element)drawFocusIfNeeded
(path, element)context . drawFocusIfNeeded(element)
context . drawFocusIfNeeded(path, element)
scrollPathIntoView
()scrollPathIntoView
(path)context . scrollPathIntoView()
context . scrollPathIntoView(path)
-
drawImage
(image, dx, dy)drawImage
(image, dx, dy, dw, dh)drawImage
(image, sx, sy, sw, sh, dx, dy, dw, dh)context . drawImage(image, dx, dy)
context . drawImage(image, dx, dy, dw, dh)
context . drawImage(image, sx, sy, sw, sh, dx, dy, dw, dh)
Pixel manipulation
-
ImageData
(sw, sh [, settings])imagedata = new ImageData(sw, sh [, settings])
ImageData
object with the given dimensions and the color space
indicated by settings. All the pixels in the returned object are transparent
@@ -65143,7 +65143,7 @@ try {
the width or height arguments are zero.ImageData
(data, sw [, sh [, settings ] ])imagedata = new ImageData(data, sw [, sh [, settings ] ])
ImageData
object using the data provided in the Uint8ClampedArray
argument, interpreted using the given
@@ -65157,11 +65157,11 @@ try {
data and dimensions can't be interpreted consistently, or if either dimension is zero.createImageData
(imagedata)imagedata = context . createImageData(imagedata)
ImageData
object with the same dimensions and color space as the
argument. All the pixels in the returned object are transparent black.createImageData
(sw, sh [, settings])imagedata = context . createImageData(sw, sh [, settings])
ImageData
object with the given dimensions. The color space of the
returned object is the color space of
@@ -65172,7 +65172,7 @@ try {
the width or height arguments are zero.getImageData
(sx, sy, sw, sh [, settings])imagedata = context . getImageData(sx, sy, sw, sh [, settings])
ImageData
object containing the image data for the given rectangle of
the bitmap. The color space of the returned object is the
width
height
imagedata . width
imagedata . height
ImageData
object, in
pixels.data
imagedata . data
colorSpace
imagedata . colorSpace
putImageData
(imagedata, dx, dy [, dirtyX, dirtyY, dirtyWidth, dirtyHeight ])context . putImageData(imagedata, dx, dy [, dirtyX, dirtyY, dirtyWidth, dirtyHeight ])
ImageData
object onto the bitmap. If a dirty
rectangle is provided, only the pixels from that rectangle are painted.
-
globalAlpha
[ = value ]context . globalAlpha [ = value ]
globalCompositeOperation
[ = value ]context . globalCompositeOperation [ = value ]
-
imageSmoothingEnabled
[ = value ]context . imageSmoothingEnabled [ = value ]
Can be set, to change whether images are smoothed (true) or not (false).
imageSmoothingQuality
[ = value ]context . imageSmoothingQuality [ = value ]
-
shadowColor
[ = value ]context . shadowColor [ = value ]
shadowOffsetX
[ = value ]shadowOffsetY
[ = value ]context . shadowOffsetX [ = value ]
context . shadowOffsetY [ = value ]
shadowBlur
[ = value ]context . shadowBlur [ = value ]
-
filter
[ = value ]context . filter [ = value ]
-
getContext
('bitmaprenderer' [, { [ alpha
: false ] } ] )context = canvas . getContext('bitmaprenderer' [, { [ alpha: false ] } ] )
ImageBitmapRenderingContext
object that is permanently bound to a
@@ -66201,11 +66201,11 @@ dictionary ImageBitmapRenderingContextSettings {
provided and set to false, then the canvas is forced to always be opaque.canvas
context . canvas
canvas
element that the context is bound to.transferFromImageBitmap
(imageBitmap)context . transferFromImageBitmap(imageBitmap)
canvas
element to which context is bound.transferFromImageBitmap
(null)context . transferFromImageBitmap(null)
canvas
element to which context is bound
@@ -66434,16 +66434,16 @@ interface OffscreenCanvas : EventTarget {
for offscreen canvases is defined in this specification.
-
OffscreenCanvas
(width,
- height)offscreenCanvas = new OffscreenCanvas(width,
+ height)
OffscreenCanvas
object that is not linked to a placeholder canvas
element, and whose
bitmap's size is determined by the width and height arguments.getContext
(contextId [,
- options ] )context = offscreenCanvas . getContext(contextId [,
+ options ] )
OffscreenCanvas
object.
contextId specifies the desired API: "OffscreenCanvas : EventTarget {
-
width
[
- = value ]offscreenCanvas . width [
+ = value ]
height
[
- = value ]offscreenCanvas . height [
+ = value ]
OffscreenCanvas
object's OffscreenCanvas : EventTarget {
object's rendering context.
-
convertToBlob
( [options] )promise = offscreenCanvas . convertToBlob( [options] )
Blob
object representing a file
@@ -66729,7 +66729,7 @@ interface OffscreenCanvas : EventTarget {
resulting image.transferToImageBitmap
()canvas . transferToImageBitmap()
ImageBitmap
object with the image in the
@@ -66897,7 +66897,7 @@ interface OffscreenCanvasRenderingContext2D {
-
@@ -68110,15 +68110,15 @@ dictionary ElementDefinitionOptions {
commit
()offscreenCanvasRenderingContext2D . commit()
canvas
offscreenCanvas = offscreenCanvasRenderingContext2D . canvas
OffscreenCanvas
object.
customElements
. define
(name,
- constructor)window . customElements . define(name,
+ constructor)
customElements
. define
(name, constructor,
- { extends: baseLocalName })window . customElements . define(name, constructor,
+ { extends: baseLocalName })
DOMException
will be thrown upon trying to extend a custom element or
an unknown element.customElements
. get
(name)window . customElements . get(name)
customElements
. whenDefined
(name)window . customElements . whenDefined(name)
SyntaxError
" DOMException
if not
given a valid custom element name.customElements
. upgrade
(root)window . customElements . upgrade(root)
attachInternals()
element . attachInternals()
Returns an Returns the Sets both the state and submission value of internals's ValidityStateFlags {
If value is null, the element won't participate in form submission. Sets the submission value of
internals's target element to
@@ -69109,12 +69109,12 @@ dictionary ValidityStateFlags {
If value is null, the element won't participate in form submission. Returns the form owner of internals's target element. Marks internals's target element as
suffering from the constraints indicated by the flags argument, and sets the element's
validation message to message. If anchor is specified, the user agent might
@@ -69123,39 +69123,39 @@ dictionary ValidityStateFlags {
interactively or Marks internals's target element as
satisfying its constraints. Returns true if internals's target
element will be validated when the form is submitted; false otherwise. Returns the Returns the error message that would be shown to the user if internals's target element was to be checked for validity. Returns true if internals's target
element has no validity problems; false otherwise. Fires an Returns true if internals's target
element has no validity problems; otherwise, returns false, fires an Returns a Sets or retrieves the default ARIA role for internals's target element, which will be used unless the page author
overrides it using the Sets or retrieves various default ARIA states or property values for
internals's target element, which will be used
unless the page author overrides them using the Acts as if the element was clicked. Returns the deepest element in the document through which or to which key events are being
@@ -75477,7 +75477,7 @@ END:VCARD
shadow-including inclusive ancestor of the focused element, and null if not. Returns true if key events are being routed through or to the document; otherwise, returns
@@ -75485,7 +75485,7 @@ END:VCARD
being focused. No effect. Moves the focus to the element.ElementInternals
object targeting the custom element
element. Throws an exception if element is not a custom
@@ -69061,7 +69061,7 @@ dictionary ValidityStateFlags {
Shadow root access
-
shadowRoot
internals . shadowRoot
ShadowRoot
for internals's target element, if the target
element is a shadow host, or null otherwise.Form-associated custom elements
-
setFormValue
(value)internals . setFormValue(value)
setFormValue
(value,
- state)internals . setFormValue(value,
+ state)
form
internals . form
setValidity
(flags,
- message [, anchor ])internals . setValidity(flags,
+ message [, anchor ])
reportValidity()
is
called.setValidity
({})internals . setValidity({})
willValidate
internals .
+ willValidate
validity
internals . validity
ValidityState
object for internals's target element.validationMessage
internals .
+ validationMessage
checkValidity()
valid = internals .
+ checkValidity()
invalid
event at the element in the latter case.reportValidity()
valid = internals .
+ reportValidity()
invalid
event at the element, and (if the event isn't canceled)
reports the problem to the user.labels
internals . labels
NodeList
of all the label
elements that
internals's target element is associated
with.Accessibility semantics
-
role
[ = value ]internals . role [ = value ]
role
attribute.aria*
[ = value ]internals . aria* [ = value ]
aria-*
@@ -74226,7 +74226,7 @@ END:VCARD
-
@@ -75457,7 +75457,7 @@ END:VCARD
click
()element . click()
-
activeElement
documentOrShadowRoot . activeElement
hasFocus
()document . hasFocus()
focus
()window . focus()
focus
([ { preventScroll
: true } ])element . focus([ { preventScroll: true } ])
blur
()element . blur()
Moves the focus to the viewport. Use of this method is discouraged; if you want @@ -76123,7 +76123,7 @@ body { display:none }
contentEditable
[ = value ]element . contentEditable [ = value ]
Returns "true
", "false
", or "
isContentEditable
element . isContentEditable
Returns true if the element is editable; otherwise, returns false.
designMode
getter and setter
designMode
[ = value ]document . designMode [ = value ]
Returns "on
" if the document is editable, and "off
" if it isn't.
spellcheck
[ = value ]element . spellcheck [ = value ]
Returns true if the element is to have its spelling and grammar checked; otherwise, returns @@ -76588,7 +76588,7 @@ body { display:none } state.
autocapitalize
[ = value ]element . autocapitalize [ = value ]
Returns the current autocapitalization state for the element, or an empty string if it hasn't @@ -77239,14 +77239,14 @@ interface DataTransfer {
DataTransfer
()dataTransfer = new DataTransfer()
Creates a new DataTransfer
object with an empty drag data
store.
dropEffect
[ = value ]dataTransfer . dropEffect [ = value ]
Returns the kind of operation that is currently selected. If the kind of operation isn't one @@ -77263,7 +77263,7 @@ interface DataTransfer {
effectAllowed
[ = value ]dataTransfer . effectAllowed [ = value ]
Returns the kinds of operations that are to be allowed.
@@ -77283,12 +77283,12 @@ interface DataTransfer {items
dataTransfer . items
Returns a DataTransferItemList
object, with the drag data.
setDragImage
(element, x, y)dataTransfer . setDragImage(element, x, y)
Uses the given element to update the drag feedback, replacing any previously specified @@ -77296,7 +77296,7 @@ interface DataTransfer {
types
dataTransfer . types
Returns a frozen array listing the formats that were set in the DataTransfer {
getData
(format)data = dataTransfer . getData(format)
Returns the specified data. If there is no such data, returns the empty string.
setData
(format, data)dataTransfer . setData(format, data)
Adds the specified data.
clearData
( [ format ] )dataTransfer . clearData( [ format ] )
Removes the data of the specified formats. Removes all data if the argument is omitted.
files
dataTransfer . files
Returns a FileList
of the files being dragged, if any.
length
items . length
Returns the number of items in the drag data store.
items[index]
Returns the Removes the indexth entry in the drag data store. Removes all the entries in the drag data store. Adds a new entry for the given data to the drag data store. If the data is plain
@@ -77782,16 +77782,16 @@ callback FunctionObjectCallback = undefined (any data);-->
- Returns the drag data item kind, one of: "string",
"file". Returns the drag data item type string. Invokes the callback with the string data as the argument, if the drag data item
kind is text. Returns a Returns the Returns true if the element is draggable; otherwise, returns false.DataTransferItem
object representing the indexth entry in
@@ -77620,18 +77620,18 @@ DND-v5: DataTransferItem? remove(index)
+ items . remove(index)
clear
()items . clear()
add
(data)add
(data, type)items . add(data)
items . add(data, type)
kind
item . kind
type
item . type
getAsString
(callback)item . getAsString(callback)
getAsFile
()file = item . getAsFile()
File
object, if the drag data item kind is
File.
-
@@ -78850,7 +78850,7 @@ dictionary DragEventInit : MouseEventInit {
dataTransfer
event . dataTransfer
DataTransfer
object for the event.
-
draggable
[ = value ]element . draggable [ = value ]
top
window . top
Returns the WindowProxy
for the top-level browsing
context.
opener
[ = value ]window . opener [ = value ]
Returns the WindowProxy
for the opener browsing context.
Can be set to null.
parent
window . parent
Returns the WindowProxy
for the parent browsing
context.
frameElement
window . frameElement
Returns the Element
for the browsing context container.
window
frames
self
window . window
window . frames
window . self
These attributes all return window.
document
window . document
Returns the Document
associated with window.
defaultView
document . defaultView
Returns the Window
object of the active document.
open
( [ url [, target [, features ] ] ] )window = window . open( [ url [, target [, features ] ] ] )
Opens a window to show url (defaults to about:blank
), and returns it.
@@ -80590,7 +80590,7 @@ dictionary WindowPostMessageOptions : PostMessageOpt
rendering of the new window.
name
[ = value ]window . name [ = value ]
Returns the name of the window.
@@ -80598,15 +80598,15 @@ dictionary WindowPostMessageOptions : PostMessageOptCan be set, to change the name.
close
()window . close()
Closes the window.
closed
window . closed
Returns true if the window has been closed, false otherwise.
stop
()window . stop()
Cancels the document load.
length
window . length
Returns the number of document-tree child browsing contexts.
window[index]
Returns the indicated document-tree child browsing context.
window[name]
Returns the indicated element or collection of elements.
@@ -81218,22 +81218,22 @@ interface BarProp { };locationbar
. visible
window . locationbar . visible
Returns true if the location bar is visible; otherwise, returns false.
menubar
. visible
window . menubar . visible
Returns true if the menu bar is visible; otherwise, returns false.
personalbar
. visible
window . personalbar . visible
Returns true if the personal bar is visible; otherwise, returns false.
scrollbars
. visible
window . scrollbars . visible
Returns true if the scrollbars are visible; otherwise, returns false.
statusbar
. visible
window . statusbar . visible
Returns true if the status bar is visible; otherwise, returns false.
toolbar
. visible
window . toolbar . visible
Returns true if the toolbar is visible; otherwise, returns false.
domain
[ = domain ]document . domain [ = domain ]
Returns the current domain used for security checks.
@@ -84542,11 +84542,11 @@ interface History {history
. length
window . history . length
Returns the number of entries in the joint session history.
history
. scrollRestoration
[ = value ]window . history . scrollRestoration [ = value ]
Returns the scroll restoration mode of the @@ -84556,11 +84556,11 @@ interface History { mode
history
. state
window . history . state
Returns the current serialized state, deserialized into an object.
history
. go
( [ delta ] )window . history . go( [ delta ] )
Goes back or forward the specified number of steps in the joint session
@@ -84571,7 +84571,7 @@ interface History {
If the delta is out of range, does nothing.
history
. back
()window . history . back()
Goes back one step in the joint session history.
@@ -84579,7 +84579,7 @@ interface History {If there is no previous page, does nothing.
history
. forward
()window . history . forward()
Goes forward one step in the joint session history.
@@ -84587,7 +84587,7 @@ interface History {If there is no next page, does nothing.
history
. pushState
(data, ""[, url])window . history . pushState(data, ""[, url])
Pushes the given data onto the session history, and, if provided and not null, the given URL. @@ -84595,7 +84595,7 @@ interface History { string is traditional.)
history
. replaceState
(data, ""[, url])window . history . replaceState(data, ""[, url])
Updates the current entry in the session history to have the given data, and if provided and @@ -85187,8 +85187,8 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O
location
[ = value ]location
[ = value ]document . location [ = value ]
window . location [ = value ]
Returns a Location
object with the current page's location.
toString()
href
location . toString()
location . href
Returns the Location
object's URL.
Can be set, to navigate to the given URL.
origin
location . origin
Returns the Location
object's URL's origin.
protocol
location . protocol
Returns the Location
object's URL's scheme.
Can be set, to navigate to the same URL with a changed scheme.
host
location . host
Returns the Location
object's URL's host and port (if different from the default
port for the scheme).
location . hostname
Returns the Location
object's URL's host.
Can be set, to navigate to the same URL with a changed host.
port
location . port
Returns the Location
object's URL's port.
Can be set, to navigate to the same URL with a changed port.
pathname
location . pathname
Returns the Location
object's URL's path.
Can be set, to navigate to the same URL with a changed path.
search
location . search
Returns the Location
object's URL's query (includes leading "?
" if non-empty).
hash
location . hash
Returns the Location
object's URL's fragment (includes leading "#
" if non-empty).
assign
(url)location . assign(url)
Navigates to the given URL.
replace
(url)location . replace(url)
Removes the current page from the session history and navigates to the given URL.
reload
()location . reload()
Reloads the current page.
ancestorOrigins
location . ancestorOrigins
Returns a Returns a copy of the information that was provided to Returns the URL of the session history entry that was previously
@@ -88358,7 +88358,7 @@ dictionary HashChangeEventInit : EventInit {
Returns the URL of the session history entry that is now
@@ -88396,7 +88396,7 @@ dictionary PageTransitionEventInit : EventInit
- For the Returns a promise for the module namespace object for the module script
@@ -92374,7 +92374,7 @@ dictionary PromiseRejectionEventInit : EventInit
Returns the active module script's
Takes the input data, in the form of a Unicode string containing only characters in the range
@@ -94989,7 +94989,7 @@ document.body.appendChild(frame)
exception if the input string contains any out-of-range characters. Takes the input data, in the form of a Unicode string containing base64-encoded binary data,
@@ -95052,7 +95052,7 @@ document.body.appendChild(frame)
Causes the Works like the Closes the input stream that was opened by the In general, adds the given string(s) to the Adds the given string(s) to the Constructs a new Parses string using either the HTML or XML parser, according to type,
and returns the resulting Schedules a timeout to run handler after timeout milliseconds. Any
arguments are passed straight through to the handler. Schedules a timeout to compile and run code after timeout
@@ -95586,14 +95586,14 @@ enum DOMParserSupportedType {
Cancels the timeout set with Schedules a timeout to run handler every timeout milliseconds. Any
arguments are passed straight through to the handler. Schedules a timeout to compile and run code every timeout
@@ -95879,7 +95879,7 @@ scheduleWork(); // queues a task to do lots of work
Queues a microtask to run the given
callback. Displays a modal alert with the given message, and waits for the user to dismiss
it. Displays a modal OK/Cancel prompt with the given message, waits for the user to dismiss it,
and returns true if the user clicks OK and false if the user clicks Cancel. Displays a modal text control prompt with the given message, waits for the user to dismiss
it, and returns the value that the user entered. If the user cancels the prompt, then returns
@@ -96154,7 +96154,7 @@ function sendData(data) {
Prompts the user to print the page.DOMStringList
object listing the origins of the ancestor browsing contexts, from the parent browsing
@@ -88316,7 +88316,7 @@ dictionary PopStateEventInit : EventInit {
-
state
event . state
pushState()
or HashChangeEventInit : EventInit {
element.
-
oldURL
event . oldURL
newURL
event . newURL
persisted
event . persisted
pageshow
event, returns false if the page is
@@ -92356,7 +92356,7 @@ dictionary PromiseRejectionEventInit : EventInitscript
-
@@ -95236,7 +95236,7 @@ document.body.appendChild(frame)
import(specifier)
modulePromise = import(specifier)
import . meta
. url
url = import . meta . url
-
btoa
( data )result = self . btoa( data )
atob
( data )result = self . atob( data )
Opening the input stream
-
open
( )document = document . open( )
Document
to be replaced in-place, as if it was a new
Document
object, but reusing the previous object, which is then returned.open
( url, name, features )window = document . open( url, name, features )
window.open()
method.
-
close
()document . close()
-
write
(text...)document . write(text...)
Document
's input stream.
-
writeln
(text...)document . writeln(text...)
Document
's input stream, followed by a newline
@@ -95420,10 +95420,10 @@ document.body.appendChild(frame)
by parsing strings, as either HTML or XML.
-
DOMParser
()parser = new DOMParser()
DOMParser
object.parseFromString
( string, type )document = parser . parseFromString( string, type )
Document
. type can be "text/html
"
@@ -95566,14 +95566,14 @@ enum DOMParserSupportedType {
-
setTimeout
( handler [, timeout [, arguments... ] ] )handle = self . setTimeout( handler [, timeout [, arguments... ] ] )
setTimeout
( code [, timeout ] )handle = self . setTimeout( code [, timeout ] )
setTimeout()
or setInterval()
identified by handle.setInterval
( handler [, timeout [, arguments... ] ] )handle = self . setInterval( handler [, timeout [, arguments... ] ] )
setInterval
( code [, timeout ] )handle = self . setInterval( code [, timeout ] )
Microtask queuing
-
@@ -96011,17 +96011,17 @@ function sendData(data) {
queueMicrotask
(callback)self . queueMicrotask(callback)
-
alert
(message)window . alert(message)
confirm
(message)result = window . confirm(message)
prompt
(message [, default] )result = window . prompt(message [, default] )
-
@@ -96313,33 +96313,33 @@ interface Navigator {
and unknown versions should always be assumed to be fully compliant.print
()window . print()
navigator
. appCodeName
self . navigator . appCodeName
Returns the string "Mozilla
".
navigator
. appName
self . navigator . appName
Returns the string "Netscape
".
navigator
. appVersion
self . navigator . appVersion
Returns the version of the browser.
navigator
. platform
self . navigator . platform
Returns the name of the platform.
navigator
. product
self . navigator . product
Returns the string "Gecko
".
navigator
. productSub
window . navigator . productSub
Returns either the string "20030107
", or the string "20100101
".
navigator
. userAgent
self . navigator . userAgent
Returns the complete `User-Agent
` header.
navigator
. vendor
window . navigator . vendor
Returns either the empty string, the string "Apple Computer, Inc.
",
or the string "Google Inc.
".
navigator
. vendorSub
window . navigator . vendorSub
Returns the empty string.
navigator
. language
self . navigator . language
Returns a language tag representing the user's preferred language.
navigator
. languages
self . navigator . languages
Returns an array of language tags representing the user's preferred languages, with the most preferred language first.
@@ -96541,7 +96541,7 @@ interface Navigator { };navigator
. onLine
self . navigator . onLine
Returns false if the user agent is definitely offline (disconnected from the network). @@ -96607,7 +96607,7 @@ interface Navigator { };
navigator
. registerProtocolHandler
(scheme, url)window . navigator . registerProtocolHandler(scheme, url)
Registers a handler for scheme at url. For example, an online telephone
messaging service could register itself as a handler of the %s
" string is missing in url.
navigator
. unregisterProtocolHandler
(scheme, url)window . navigator . unregisterProtocolHandler(scheme, url)
Unregisters the handler given by the arguments.
@@ -96874,7 +96874,7 @@ interface Navigator {navigator
. cookieEnabled
window . navigator . cookieEnabled
Returns false if setting a cookie will be ignored, and true otherwise.
navigator
. pdfViewerEnabled
window . navigator . pdfViewerEnabled
Returns true if the user agent supports inline viewing of PDF files when navigating to them, or false otherwise. In the latter case, PDF files @@ -97215,8 +97215,8 @@ dictionary ImageBitmapOptions {
createImageBitmap
(image [, options ])createImageBitmap
(image, sx, sy, sw, sh [, options ])promise = self . createImageBitmap(image [, options ])
promise = self . createImageBitmap(image, sx, sy, sw, sh [, options ])
Takes image, which can be an img
element, an SVG
@@ -97255,19 +97255,19 @@ dictionary ImageBitmapOptions {
origin).
close
()imageBitmap . close()
Releases imageBitmap's underlying bitmap data.
width
imageBitmap . width
Returns the intrinsic width of the image, in CSS pixels.
height
imageBitmap . height
Returns the intrinsic height of the image, in CSS
@@ -97960,25 +97960,25 @@ typedef (WindowProxy or MessagePort or ServiceWo
Returns the data of the message. Returns the origin of the message, for server-sent events and
cross-document messaging. Returns the last event ID string,
for server-sent events. Returns the Returns the Creates a new Aborts any instances of the fetch algorithm started for
@@ -98185,12 +98185,12 @@ dictionary EventSourceInit {
data-x="dom-EventSource-CLOSED">CLOSED. Returns the URL providing the event
stream. Returns true if the credentials mode
@@ -98198,7 +98198,7 @@ dictionary EventSourceInit {
stream
-
is set to "data
event . data
origin
event . origin
lastEventId
event . lastEventId
source
event . source
WindowProxy
of the source window, for cross-document
@@ -97987,7 +97987,7 @@ typedef (WindowProxy or MessagePort or ServiceWo
SharedWorkerGlobalScope
objects.ports
event . ports
MessagePort
array sent with the message, for cross-document
@@ -98162,9 +98162,9 @@ dictionary EventSourceInit {
-
EventSource
(
- url [, { withCredentials
:
- true } ])source = new EventSource(
+ url [, { withCredentials:
+ true } ])
EventSource
object.include
".close
()source . close()
url
source . url
withCredentials
source . withCredentials
include
", and false otherwise.
readyState
source . readyState
Returns the state of this EventSource
object's connection. It can have the
@@ -98952,7 +98952,7 @@ interface WebSocket : EventTarget {
WebSocket
(url [, protocols ] )socket = new WebSocket(url [, protocols ] )
Creates a new WebSocket
object, immediately establishing the associated
WebSocket connection.
send
( data )socket . send( data )
Transmits data using the WebSocket connection. data can be a string, a @@ -98980,7 +98980,7 @@ interface WebSocket : EventTarget { data-x="idl-ArrayBufferView">ArrayBufferView.
close
( [ code ] [, reason ] )socket . close( [ code ] [, reason ] )
Closes the WebSocket connection, optionally using code as WebSocket : EventTarget { close reason.
url
socket . url
Returns the URL that was used to establish the WebSocket connection.
readyState
socket . readyState
Returns the state of the WebSocket
object's connection. It can have the values
described below.
bufferedAmount
socket . bufferedAmount
Returns the number of bytes of application data (UTF-8 text and binary data) that have been @@ -99015,18 +99015,18 @@ interface WebSocket : EventTarget { to zero once the connection closes.)
extensions
socket . extensions
Returns the extensions selected by the server, if any.
protocol
socket . protocol
Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor's second argument to perform subprotocol negotiation.
binaryType
[ = value ]socket . binaryType [ = value ]
Returns a string that indicates how binary data from the WebSocket
object is
@@ -99646,13 +99646,13 @@ dictionary CloseEventInit : EventInit {
wasClean
event . wasClean
Returns true if the connection closed cleanly; false otherwise.
code
event . code
Returns the WebSocket connection close code provided by the server.
reason
event . reason
Returns the WebSocket connection close reason provided by the server.
postMessage
(message [, options ] )window . postMessage(message [, options ] )
Posts a message to the given window. Messages can be structured objects, e.g. nested objects @@ -99879,7 +99879,7 @@ function receiver(e) { cloned.
postMessage
(message, targetOrigin [, transfer ] )window . postMessage(message, targetOrigin [, transfer ] )
This is an alternate version of postMessage()
where the target origin is specified
@@ -100225,18 +100225,18 @@ interface MessageChannel {
MessageChannel
()channel = new MessageChannel()
Returns a new MessageChannel
object with two new MessagePort
objects.
port1
channel . port1
Returns the first MessagePort
object.
port2
channel . port2
Returns the second MessagePort
object.
postMessage
(message [, transfer] )postMessage
(message [, { transfer
}] )port . postMessage(message [, transfer] )
port . postMessage(message [, { transfer }] )
Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.
@@ -100307,10 +100307,10 @@ dictionary PostMessageOptions { could not be cloned.start
()port . start()
Begins dispatching messages received on the port.
close
()port . close()
Disconnects the port, so that it is no longer active.
BroadcastChannel
(name)broadcastChannel = new BroadcastChannel(name)
Returns a new BroadcastChannel
object via which messages for the given channel
name can be sent and received.
name
broadcastChannel . name
Returns the channel name (as passed to the constructor).
postMessage
(message)broadcastChannel . postMessage(message)
Sends the given message to other BroadcastChannel
objects set up for this
channel. Messages can be structured objects, e.g. nested objects and arrays.
close
()broadcastChannel . close()
Closes the BroadcastChannel
object, opening it up to garbage
collection.
self
workerGlobal . self
location
workerGlobal . location
WorkerLocation
object.navigator
workerGlobal . navigator
WorkerNavigator
object.importScripts
(urls...)workerGlobal . importScripts(urls...)
DedicatedWorkerGlobalScope
object.
name
dedicatedWorkerGlobal . name
Returns dedicatedWorkerGlobal's name, i.e. the value given to the
Worker
constructor. Primarily useful for debugging.
postMessage
(message [,
- transfer ])postMessage
(message
- [, { transfer
} ])dedicatedWorkerGlobal . postMessage(message [,
+ transfer ])
dedicatedWorkerGlobal . postMessage(message
+ [, { transfer } ])
Clones message and transmits it to the Worker
object associated
with dedicatedWorkerGlobal. transfer can be passed as a list of objects
that are to be transferred rather than cloned.
close
()dedicatedWorkerGlobal . close()
Aborts dedicatedWorkerGlobal.
name
sharedWorkerGlobal . name
Returns sharedWorkerGlobal's name, i.e. the value given to the
SharedWorker
constructor. Multiple SharedWorker
objects can correspond
to the same shared worker (and SharedWorkerGlobalScope
), by reusing the same
name.
close
()sharedWorkerGlobal . close()
Aborts sharedWorkerGlobal.
Worker
(scriptURL [, options ])worker = new Worker(scriptURL [, options ])
Returns a new Worker
object. scriptURL will be fetched and
executed in the background, creating a new global environment for which worker
represents the communication channel. options can be used to define the WorkerType { "classic", "module" };
and if that is specified, can also be used to specify how scriptURL is fetched through
the credentials
option.
terminate
()worker . terminate()
postMessage
(message [, transfer ] )postMessage
(message [, { transfer
} ] )worker . postMessage(message [, transfer ] )
worker . postMessage(message [, { transfer } ] )
Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.
SharedWorker
(scriptURL [, name ])sharedWorker = new SharedWorker(scriptURL [, name ])
Returns a new SharedWorker
object. scriptURL will be fetched and
executed in the background, creating a new global environment for which sharedWorker
represents the communication channel. name can be used to define the name of that global environment.
SharedWorker
(scriptURL [, options ])sharedWorker = new SharedWorker(scriptURL [, options ])
Returns a new SharedWorker
object. scriptURL will be fetched and
executed in the background, creating a new global environment for which sharedWorker
represents the communication channel. options can be used to define the SharedWorker : EventTarget {
mismatch an existing shared worker will cause the returned sharedWorker to fire an
error event and not connect to the existing shared worker.
port
sharedWorker . port
Returns sharedWorker's MessagePort
object which can be used to
communicate with the global environment.
navigator
. hardwareConcurrency
self . navigator . hardwareConcurrency
Returns the number of logical processors potentially available to the user agent.
length
storage . length
Returns the number of key/value pairs.
key
( n )storage . key ( n )
Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs.
getItem
( key )value = storage . getItem ( key )
value = storage[key]
Returns the current value associated with the given key, or null if the given key does not exist.
setItem
( key, value )storage . setItem ( key, value )
storage[key] = value
Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously.
@@ -103693,7 +103693,7 @@ interface Storage { holding an equivalentStorage
object.
removeItem
( key )storage . removeItem ( key )
delete
storage[key]Removes the key/value pair with the given key, if a key/value pair with the given
@@ -103703,7 +103703,7 @@ interface Storage {
holding an equivalent Storage
object.
clear
()storage . clear()
Removes all key/value pairs, if there are any.
@@ -103892,7 +103892,7 @@ interface Storage { Window includes WindowSessionStorage;sessionStorage
window . sessionStorage
Returns the Storage
object associated with that window's origin's
session storage area.
localStorage
window . localStorage
Returns the Storage
object associated with window's origin's local
storage area.
key
event . key
Returns the key of the storage item being changed.
oldValue
event . oldValue
Returns the old value of the key of the storage item whose value is being changed.
newValue
event . newValue
Returns the new value of the key of the storage item whose value is being changed.
url
event . url
Returns the URL of the document whose storage item changed.
storageArea
event . storageArea
Returns the Storage
object that was affected.
strings . length
strings.length
Returns the number of strings in strings.
strings[index]
strings . item(index)
strings.item(index)
Returns the string with index index from strings.
strings . contains(string)
strings.contains(string)
Returns true if strings contains string, and false otherwise.
document . referrer
document.referrer
Returns the URL of the Document
from
which the user navigated to this one, unless it was blocked or there was no such document, in
@@ -9341,7 +9341,7 @@ partial interface Document {
document . cookie [ = value ]
document.cookie [ = value ]
Returns the HTTP cookies that apply to the Document
. If there are no cookies or
cookies can't be applied to this resource, the empty string will be returned.
document . lastModified
document.lastModified
Returns the date of the last modification to the document, as reported by the server, in the
form "MM/DD/YYYY hh:mm:ss
", in the user's local time zone.
document . readyState
document.readyState
Returns "loading
" while the Document
is loading, "interactive
" once it is finished parsing but still loading subresources, and
@@ -9587,7 +9587,7 @@ partial interface Document {
document . head
document.head
Returns the head
element.
document . title [ = value ]
document.title [ = value ]
Returns the document's title, as given by the title
element for
HTML and as given by the SVG title
element for SVG.
document . body [ = value ]
document.body [ = value ]
Returns the body element.
@@ -9777,33 +9777,33 @@ partial interface Document {document . images
document.images
Returns an HTMLCollection
of the img
elements in the
Document
.
document . embeds
document . plugins
document.embeds
document.plugins
Return an HTMLCollection
of the embed
elements in the
Document
.
document . links
document.links
Returns an HTMLCollection
of the a
and area
elements
in the Document
that have href
attributes.
document . forms
document.forms
Return an HTMLCollection
of the form
elements in the
Document
.
document . scripts
document.scripts
Return an HTMLCollection
of the script
elements in the
Document
.
collection = document . getElementsByName(name)
collection = document.getElementsByName(name)
Returns a NodeList
of elements in the Document
that have a name
attribute with the value name.
document . currentScript
document.currentScript
Returns the script
element, or the SVG script
element,
that is currently executing, as long as the element represents a classic script. In
@@ -12248,7 +12248,7 @@ Transport Protocol">HTTP</abbr> today.</p>
-
hyperlink . password
hyperlink.password
Returns the hyperlink's URL's password.
@@ -23282,7 +23282,7 @@ document.body.appendChild(wbr);hyperlink . host
hyperlink.host
Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
@@ -23290,28 +23290,28 @@ document.body.appendChild(wbr);Can be set, to change the URL's host and port.
hyperlink . hostname
hyperlink.hostname
Returns the hyperlink's URL's host.
Can be set, to change the URL's host.
hyperlink . port
hyperlink.port
Returns the hyperlink's URL's port.
Can be set, to change the URL's port.
hyperlink . pathname
hyperlink.pathname
Returns the hyperlink's URL's path.
Can be set, to change the URL's path.
hyperlink . search
hyperlink.search
Returns the hyperlink's URL's query (includes leading "?
" if
non-empty).
Can be set, to change the URL's query (ignores leading "?
").
hyperlink . hash
hyperlink.hash
Returns the hyperlink's URL's fragment (includes leading "#
" if
non-empty).
image . width [ = value ]
image . height [ = value ]
image.width [ = value ]
image.height [ = value ]
They can be set, to change the corresponding content attributes.
image . naturalWidth
image . naturalHeight
image.naturalWidth
image.naturalHeight
image . complete
image.complete
image . currentSrc
image.currentSrc
Returns the image's absolute URL.
image . decode()
image.decode()
This method causes the user agent to decode the @@ -32608,8 +32608,8 @@ interface HTMLVideoElement : HTMLMediaElement
video . videoWidth
video . videoHeight
video.videoWidth
video.videoHeight
These attributes return the intrinsic dimensions of the video, or zero if the dimensions are @@ -33105,23 +33105,23 @@ interface HTMLTrackElement : HTMLElement {
track . readyState
track.readyState
Returns the text track readiness state, represented by a number from the following list:
track . NONE (0)
track.NONE (0)
The text track not loaded state.
track . LOADING (1)
track.LOADING (1)
The text track loading state.
track . LOADED (2)
track.LOADED (2)
The text track loaded state.
track . ERROR (3)
track.ERROR (3)
The text track failed to load state.
track . track
track.track
Returns the TextTrack
object corresponding to the text track of the
@@ -33328,7 +33328,7 @@ interface HTMLMediaElement : HTMLElement {
media . error
media.error
Returns a MediaError
object representing the current error state of the
@@ -33362,11 +33362,11 @@ interface MediaError {
media . error . code
media.error.code
Returns the current error's error code, from the list below.
media . error . message
media.error.message
Returns a specific informative diagnostic message about the error condition encountered. The @@ -33484,14 +33484,14 @@ interface MediaError {
media . srcObject [ = source ]
media.srcObject [ = source ]
Allows the media element to be assigned a media provider object.
media . currentSrc
media.currentSrc
Returns the URL of the current media resource, if any.
@@ -33556,7 +33556,7 @@ interface MediaError {media . canPlayType(type)
media.canPlayType(type)
Returns the empty string (a negative response), "maybe", or "probably" based on how confident @@ -33624,7 +33624,7 @@ interface MediaError {
media . networkState
media.networkState
Returns the current state of network activity for the element, from the codes in the list @@ -33678,7 +33678,7 @@ interface MediaError {
media . load()
media.load()
Causes the element to reset and start selecting and loading a new media resource @@ -34774,7 +34774,7 @@ interface MediaError {
media . buffered
media.buffered
Returns a Returns the length of the media resource, in seconds, assuming that the start of
@@ -34823,7 +34823,7 @@ interface MediaError {
Returns Infinity for unbounded streams. Returns the official playback position, in seconds. Returns a value that expresses the current state of the element with respect to rendering the
@@ -35350,15 +35350,15 @@ interface MediaError {
Returns true if playback is paused; false otherwise. Returns true if playback has reached the end of the media resource. Returns the default rate of playback, for when the user is not fast-forwarding or reversing
@@ -35371,7 +35371,7 @@ interface MediaError {
will be returned to the default rate of playback. Returns the current rate playback, where 1.0 is normal speed. Can be set, to change the rate of playback. Returns true if pitch-preserving algorithms are used when the Returns a Sets the Sets the Returns true if the user agent is currently seeking. Returns a Seeks to near the given time as fast as possible, trading precision for speed. (To
@@ -36311,14 +36311,14 @@ interface MediaError {
Returns an Returns a Returns the number of tracks in the list. Returns the specified Returns the Returns the ID of the given track. This is the ID that can be used with a VideoTrack {
syntax, and that can be used with the Returns the category the given track falls into. The possible track categories are given below. Returns the label of the given track, if known, or the empty string otherwise. Returns the language of the given track, if known, or the empty string otherwise. Returns true if the given track is active, and false otherwise.TimeRanges
object that represents the ranges of the media
@@ -34812,7 +34812,7 @@ interface MediaError {
-
media . duration
media.duration
media . currentTime [ = value ]
media.currentTime [ = value ]
-
media . readyState
media.readyState
-
media . paused
media.paused
media . ended
media.ended
media . defaultPlaybackRate [ = value ]
media.defaultPlaybackRate [ = value ]
media . playbackRate [ = value ]
media.playbackRate [ = value ]
media . preservesPitch
media.preservesPitch
MediaError {
aesthetic and performance reasons.
media . played
media.played
TimeRanges
object that represents the ranges of the media
resource that the user agent has played.media . play()
media.play()
paused
attribute to false, loading the
@@ -35405,7 +35405,7 @@ interface MediaError {
restart it from the start.media . pause()
media.pause()
paused
attribute to true, loading the
@@ -36125,18 +36125,18 @@ interface MediaError {
-
media . seeking
media.seeking
media . seekable
media.seekable
TimeRanges
object that represents the ranges of the media
resource to which it is possible for the user agent to seek.media . fastSeek( time )
media.fastSeek( time )
-
media . audioTracks
media.audioTracks
AudioTrackList
object representing the audio tracks available in the
media resource.media . videoTracks
media.videoTracks
VideoTrackList
object representing the video tracks available in the
@@ -36394,26 +36394,26 @@ interface VideoTrack {
-
media . audioTracks . length
media . videoTracks . length
media.audioTracks.length
media.videoTracks.length
audioTrack = media . audioTracks[index]
videoTrack = media . videoTracks[index]
audioTrack = media.audioTracks[index]
videoTrack = media.videoTracks[index]
AudioTrack
or VideoTrack
object.audioTrack = media . audioTracks . getTrackById( id )
videoTrack = media . videoTracks . getTrackById( id )
audioTrack = media.audioTracks.getTrackById( id )
videoTrack = media.videoTracks.getTrackById( id )
AudioTrack
or VideoTrack
object with the given
identifier, or null if no track has that identifier.audioTrack . id
videoTrack . id
audioTrack.id
videoTrack.id
getTrackById()
method.audioTrack . kind
videoTrack . kind
audioTrack.kind
videoTrack.kind
audioTrack . label
videoTrack . label
audioTrack.label
videoTrack.label
audioTrack . language
videoTrack . language
audioTrack.language
videoTrack.language
audioTrack . enabled [ = value ]
audioTrack.enabled [ = value ]
media . videoTracks . selectedIndex
media.videoTracks.selectedIndex
Returns the index of the currently selected track, if any, or −1 otherwise.
videoTrack . selected [ = value ]
videoTrack.selected [ = value ]
Returns true if the given track is active, and false otherwise.
@@ -37613,7 +37613,7 @@ interface TextTrackList : EventTarget {media . textTracks . length
media.textTracks.length
Returns the number of text tracks associated with the
media element (e.g. from track
elements). This is the number of TextTrackList : EventTarget {
tracks.
media . textTracks[ n ]
media.textTracks[ n ]
Returns the TextTrack
object representing the nth text
track in the media element's list of text tracks.
textTrack = media . textTracks . getTrackById( id )
textTrack = media.textTracks.getTrackById( id )
Returns the TextTrack
object with the given identifier, or null if no track has
@@ -37706,26 +37706,26 @@ interface TextTrack : EventTarget {
textTrack = media . addTextTrack( kind [, label [, language ] ] )
textTrack = media.addTextTrack( kind [, label [, language ] ] )
Creates and returns a new TextTrack
object, which is also added to the
media element's list of text tracks.
textTrack . kind
textTrack.kind
Returns the text track kind string.
textTrack . label
textTrack.label
Returns the text track label, if there is one, or the empty string otherwise (indicating that a custom label probably needs to be generated from the other attributes of the object if the object is exposed to the user).
textTrack . language
textTrack.language
Returns the text track language string.
textTrack . id
textTrack.id
Returns the ID of the given track.
@@ -37738,10 +37738,10 @@ interface TextTrack : EventTarget { ID of thetrack
element.
textTrack . inBandMetadataTrackDispatchType
textTrack.inBandMetadataTrackDispatchType
Returns the text track in-band metadata track dispatch type string.
textTrack . mode [ = value ]
textTrack.mode [ = value ]
Returns the text track mode, represented by a string from the following list:
@@ -37758,24 +37758,24 @@ interface TextTrack : EventTarget {Can be set, to change the mode.
textTrack . cues
textTrack.cues
Returns the text track list of cues, as a TextTrackCueList
object.
textTrack . activeCues
textTrack.activeCues
Returns the text track cues from the text track
list of cues that are currently active (i.e. that start before the current playback
position and end after it), as a TextTrackCueList
object.
textTrack . addCue( cue )
textTrack.addCue( cue )
Adds the given cue to textTrack's text track list of cues.
textTrack . removeCue( cue )
textTrack.removeCue( cue )
Removes the given cue from textTrack's text track list of cues.
cuelist . length
cuelist.length
Returns the number of cues in the list.
cuelist[index]
cuelist . getCueById( id )
cuelist.getCueById( id )
Returns the first text track cue (in text track cue order) with text track cue identifier id.
@@ -38074,27 +38074,27 @@ interface TextTrackCue : EventTarget {cue . track
cue.track
Returns the TextTrack
object to which this text track cue belongs,
if any, or null otherwise.
cue . id [ = value ]
cue.id [ = value ]
Returns the text track cue identifier.
Can be set.
cue . startTime [ = value ]
cue.startTime [ = value ]
Returns the text track cue start time, in seconds.
Can be set.
cue . endTime [ = value ]
cue.endTime [ = value ]
Returns the text track cue end time, in seconds.
@@ -38103,7 +38103,7 @@ interface TextTrackCue : EventTarget {Can be set.
cue . pauseOnExit [ = value ]
cue.pauseOnExit [ = value ]
Returns true if the text track cue pause-on-exit flag is set, false otherwise.
@@ -38343,7 +38343,7 @@ red:89media . volume [ = value ]
media.volume [ = value ]
Returns the current playback volume, as a number in the range 0.0 to 1.0, where 0.0 is the @@ -38355,7 +38355,7 @@ red:89 value is not in the range 0.0 .. 1.0.
media . muted [ = value ]
media.muted [ = value ]
Returns true if audio is muted, overriding the volume
@@ -38466,11 +38466,11 @@ interface TimeRanges {
media . length
media.length
Returns the number of ranges in the object.
time = media . start(index)
time = media.start(index)
Returns the time for the start of the range with the given index.
@@ -38479,7 +38479,7 @@ interface TimeRanges { is out of range.time = media . end(index)
time = media.end(index)
Returns the time for the end of the range with the given index.
@@ -38555,7 +38555,7 @@ dictionary TrackEventInit : EventInit {event . track
event.track
Returns the track object (TextTrack
, AudioTrack
, or
@@ -39202,7 +39202,7 @@ interface HTMLMapElement : HTMLElement {
map . areas
map.areas
Returns an HTMLCollection
of the area
elements in the
@@ -39821,9 +39821,9 @@ interface HTMLAreaElement : HTMLElement {
doc = iframe . getSVGDocument()
doc = embed . getSVGDocument()
doc = object . getSVGDocument()
doc = iframe.getSVGDocument()
doc = embed.getSVGDocument()
doc = object.getSVGDocument()
Returns the Document
object, in the case of iframe
,
embed
, or object
elements being used to embed SVG.
table . caption [ = value ]
table.caption [ = value ]
Returns the table's caption
element.
Can be set, to replace the caption
element.
caption = table . createCaption()
caption = table.createCaption()
Ensures the table has a caption
element, and returns it.
table . deleteCaption()
table.deleteCaption()
Ensures the table does not have a caption
element.
table . tHead [ = value ]
table.tHead [ = value ]
Returns the table's thead
element.
DOMException
.
thead = table . createTHead()
thead = table.createTHead()
Ensures the table has a thead
element, and returns it.
table . deleteTHead()
table.deleteTHead()
Ensures the table does not have a thead
element.
table . tFoot [ = value ]
table.tFoot [ = value ]
Returns the table's tfoot
element.
DOMException
.
tfoot = table . createTFoot()
tfoot = table.createTFoot()
Ensures the table has a tfoot
element, and returns it.
table . deleteTFoot()
table.deleteTFoot()
Ensures the table does not have a tfoot
element.
table . tBodies
table.tBodies
Returns an HTMLCollection
of the tbody
elements of the
table.
tbody = table . createTBody()
tbody = table.createTBody()
Creates a tbody
element, inserts it into the table, and returns it.
table . rows
table.rows
Returns an HTMLCollection
of the tr
elements of the
table.
tr = table . insertRow( [ index ] )
tr = table.insertRow( [ index ] )
Creates a tr
element, along with a tbody
if required, inserts them
into the table at the position given by the argument, and returns the tr
.
IndexSizeError
" DOMException
.
table . deleteRow(index)
table.deleteRow(index)
Removes the tr
element with the given position in the table.
tbody . rows
tbody.rows
Returns an HTMLCollection
of the tr
elements of the table
section.
tr = tbody . insertRow( [ index ] )
tr = tbody.insertRow( [ index ] )
Creates a tr
element, inserts it into the table section at the position given by
the argument, and returns the tr
.
IndexSizeError
"DOMException
.
- tbody . deleteRow(index)
tbody.deleteRow(index)
Removes the tr
element with the given position in the table section.
tr . rowIndex
tr.rowIndex
Returns the position of the row in the table's rows
@@ -41079,7 +41079,7 @@ interface HTMLTableRowElement : HTMLElement {
Returns −1 if the element isn't in a table.
tr . sectionRowIndex
tr.sectionRowIndex
Returns the position of the row in the table section's Returns −1 if the element isn't in a table section.HTMLTableRowElement : HTMLElement {
tr . cells
tr.cells
Returns an HTMLCollection
of the td
and th
elements of
the row.
cell = tr . insertCell( [ index ] )
cell = tr.insertCell( [ index ] )
Creates a td
element, inserts it into the table row at the position given by the
@@ -41107,7 +41107,7 @@ interface HTMLTableRowElement : HTMLElement {
"IndexSizeError
" DOMException
.
tr . deleteCell(index)
tr.deleteCell(index)
Removes the td
or th
element with the given position in the
row.
cell . cellIndex
cell.cellIndex
Returns the position of the cell in the row's cells
list.
@@ -43341,14 +43341,14 @@ interface HTMLFormElement : HTMLElement {
form . elements
form.elements
Returns an HTMLFormControlsCollection
of the form controls in the form
(excluding image buttons for historical reasons).
form . length
form.length
Returns the number of form controls in the form (excluding image buttons for historical @@ -43379,7 +43379,7 @@ interface HTMLFormElement : HTMLElement { those elements is returned.
form . submit()
form.submit()
Submits the form, bypassing interactive @@ -43387,7 +43387,7 @@ interface HTMLFormElement : HTMLElement { event.
form . requestSubmit( [ submitter ] )
form.requestSubmit( [ submitter ] )
Requests to submit the form. Unlike submit()
, this
@@ -43406,15 +43406,15 @@ interface HTMLFormElement : HTMLElement {
normally, buttons are excluded.
form . reset()
form.reset()
Resets the form.
form . checkValidity()
form.checkValidity()
Returns true if the form's controls are all valid; otherwise, returns false.
form . reportValidity()
form.reportValidity()
Returns true if the form's controls are all valid; otherwise, returns false and informs the @@ -43790,11 +43790,11 @@ interface HTMLLabelElement : HTMLElement {
label . control
label.control
Returns the form control that is associated with this element.
label . form
label.form
Returns the form owner of the form control that is associated with this @@ -43840,7 +43840,7 @@ interface HTMLLabelElement : HTMLElement {
control . labels
control.labels
Returns a When set, overrides the rendering of checkbox
@@ -48610,8 +48610,8 @@ ldh-str = < as defined in
- These attributes return the actual rendered dimensions of the image, or zero if the
@@ -49764,7 +49764,7 @@ You cannot submit this form when the field is incorrect.
Returns the current value of the form control. Returns the current checkedness of the form
@@ -49784,7 +49784,7 @@ You cannot submit this form when the field is incorrect.
Can be set, to change the checkedness. Returns a Returns a Returns a number representing the form control's
control is neither date- or time-based nor numeric. Changes the form control's value by the value given in
@@ -49835,7 +49835,7 @@ You cannot submit this form when the field is incorrect.
attribute's value is " Returns the Returns " Returns an Returns the number of elements in the list of
options.NodeList
of all the label
elements that the form control
@@ -47776,7 +47776,7 @@ ldh-str = < as defined in
- input . indeterminate [ = value ]
input.indeterminate [ = value ]
image . width [ = value ]
image . height [ = value ]
image.width [ = value ]
image.height [ = value ]
-
input . value [ = value ]
input.value [ = value ]
input . checked [ = value ]
input.checked [ = value ]
input . files [ = files ]
input.files [ = files ]
FileList
object listing the
instance, as the result of a drag-and-drop operation.input . valueAsDate [ = value ]
input.valueAsDate [ = value ]
Date
object representing the form control's
control isn't date- or time-based.input . valueAsNumber [ = value ]
input.valueAsNumber [ = value ]
input . stepUp( [ n ] )
input . stepDown( [ n ] )
input.stepUp( [ n ] )
input.stepDown( [ n ] )
any
".input . list
input.list
datalist
element indicated by the list
attribute.
-
select . type
select.type
select-multiple
" if the element has a HTMLSelectElement : HTMLElement {
otherwise.
select . options
select.options
HTMLOptionsCollection
of the list of options.select . length [ = value ]
select.length [ = value ]
select
.
element = select . item(index)
element = select.item(index)
select[index]
Returns the item with index index from the HTMLSelectElement : HTMLElement { order.
element = select . namedItem(name)
element = select.namedItem(name)
Returns the first item with ID or Returns null if no element with that ID could be found.name
name from the HTMLSelectElement : HTMLElement {
select . add(element [, before ] )
select.add(element [, before ] )
Inserts element before the node given by before.
@@ -50769,14 +50769,14 @@ interface HTMLSelectElement : HTMLElement { to be inserted.select . selectedOptions
select.selectedOptions
Returns an HTMLCollection
of the list
of options that are selected.
select . selectedIndex [ = value ]
select.selectedIndex [ = value ]
Returns the index of the first selected item, if any, or −1 if there is no selected @@ -50785,7 +50785,7 @@ interface HTMLSelectElement : HTMLElement {
Can be set, to change the selection.
select . value [ = value ]
select.value [ = value ]
Returns the value of the first selected item, if @@ -51081,7 +51081,7 @@ interface HTMLDataListElement : HTMLElement {
datalist . options
datalist.options
Returns an HTMLCollection
of the option
elements of the
@@ -51334,7 +51334,7 @@ interface HTMLOptionElement : HTMLElement {
option . selected
option.selected
Returns true if the element is selected, and false otherwise.
@@ -51342,16 +51342,16 @@ interface HTMLOptionElement : HTMLElement {Can be set, to override the current state of the element.
option . index
option.index
Returns the index of the element in its select
element's options
list.
option . form
option.form
Returns the element's form
element, if any, or null otherwise.
option . text
option.text
Same as textContent
, except that spaces are collapsed and script
@@ -51826,11 +51826,11 @@ interface HTMLTextAreaElement : HTMLElement {
textarea . type
textarea.type
Returns the string "textarea
".
textarea . value
textarea.value
Returns the current value of the element.
@@ -52069,21 +52069,21 @@ interface HTMLOutputElement : HTMLElement {output . value [ = value ]
output.value [ = value ]
Returns the element's current value.
Can be set, to change the value.
output . defaultValue [ = value ]
output.defaultValue [ = value ]
Returns the element's current default value.
Can be set, to change the default value.
output . type
output.type
Returns the string "output
".
progress . position
progress.position
For a determinate progress bar (one with known current and maximum values), returns the @@ -52802,11 +52802,11 @@ interface HTMLFieldSetElement : HTMLElement {
fieldset . type
fieldset.type
Returns the string "fieldset".
fieldset . elements
fieldset.elements
Returns an HTMLCollection
of the form controls in the element.
legend . form
legend.form
Returns the element's form
element, if any, or null otherwise.
element . form
element.form
Returns the element's form owner.
@@ -55358,11 +55358,11 @@ MIT Room 32-G524element . select()
element.select()
Selects everything in the text control.
element . selectionStart [ = value ]
element.selectionStart [ = value ]
Returns the offset to the start of the selection.
@@ -55370,7 +55370,7 @@ MIT Room 32-G524Can be set, to change the start of the selection.
element . selectionEnd [ = value ]
element.selectionEnd [ = value ]
Returns the offset to the end of the selection.
@@ -55378,7 +55378,7 @@ MIT Room 32-G524Can be set, to change the end of the selection.
element . selectionDirection [ = value ]
element.selectionDirection [ = value ]
Returns the current direction of the selection.
@@ -55389,14 +55389,14 @@ MIT Room 32-G524 and "none
".
element . setSelectionRange(start, end [, direction] )
element.setSelectionRange(start, end [, direction] )
Changes the selection to cover the given substring in the given direction. If the direction is omitted, it will be reset to be the platform default (none or forward).
element . setRangeText(replacement [, start, end [, selectionMode ] ] )
element.setRangeText(replacement [, start, end [, selectionMode ] ] )
Replaces a range of text with the new text. If the start and end @@ -56141,14 +56141,14 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD
element . willValidate
element.willValidate
Returns true if the element will be validated when the form is submitted; false otherwise.
element . setCustomValidity(message)
element.setCustomValidity(message)
Sets a custom error, so that the element would fail to validate. The given message is the @@ -56157,71 +56157,71 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD
If the argument is the empty string, clears the custom error.
element . validity . valueMissing
element.validity.valueMissing
Returns true if the element has no value but is a required field; false otherwise.
element . validity . typeMismatch
element.validity.typeMismatch
Returns true if the element's value is not in the correct syntax; false otherwise.
element . validity . patternMismatch
element.validity.patternMismatch
Returns true if the element's value doesn't match the provided pattern; false otherwise.
element . validity . tooLong
element.validity.tooLong
Returns true if the element's value is longer than the provided maximum length; false otherwise.
element . validity . tooShort
element.validity.tooShort
Returns true if the element's value, if it is not the empty string, is shorter than the provided minimum length; false otherwise.
element . validity . rangeUnderflow
element.validity.rangeUnderflow
Returns true if the element's value is lower than the provided minimum; false otherwise.
element . validity . rangeOverflow
element.validity.rangeOverflow
Returns true if the element's value is higher than the provided maximum; false otherwise.
element . validity . stepMismatch
element.validity.stepMismatch
Returns true if the element's value doesn't fit the rules given by the step
attribute; false otherwise.
element . validity . badInput
element.validity.badInput
Returns true if the user has provided input in the user interface that the user agent is unable to convert to a value; false otherwise.
element . validity . customError
element.validity.customError
Returns true if the element has a custom error; false otherwise.
element . validity . valid
element.validity.valid
Returns true if the element's value has no validity problems; false otherwise.
valid = element . checkValidity()
valid = element.checkValidity()
Returns true if the element's value has no validity problems; false otherwise. Fires an
invalid
event at the element in the latter case.
valid = element . reportValidity()
valid = element.reportValidity()
Returns true if the element's value has no validity problems; otherwise, returns false, fires @@ -56229,7 +56229,7 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD canceled) reports the problem to the user.
element . validationMessage
element.validationMessage
Returns the error message that would be shown to the user if the element was to be checked @@ -57383,7 +57383,7 @@ dictionary SubmitEventInit : EventInit { };
event . submitter
event.submitter
Returns the element representing the submit button that triggered the form submission, or null if the submission was not triggered by a button.
event . formData
event.formData
Returns a FormData
object representing names and values of elements associated
@@ -58033,11 +58033,11 @@ interface HTMLDialogElement : HTMLElement {
dialog . show()
dialog.show()
Displays the dialog
element.
dialog . showModal()
dialog.showModal()
Displays the dialog
element and makes it the top-most modal dialog.
This method honors the autofocus
attribute.
dialog . close( [ result ] )
dialog.close( [ result ] )
Closes the dialog
element.
The argument, if provided, provides a return value.
dialog . returnValue [ = result ]
dialog.returnValue [ = result ]
Returns the dialog
's return value.
script . text [ = value ]
script.text [ = value ]
Returns the child text content of the element.
@@ -59854,7 +59854,7 @@ interface HTMLTemplateElement : HTMLElement {template . content
template.content
Returns the template contents (a DocumentFragment
).
slot . name
slot.name
slot . assignedNodes()
slot.assignedNodes()
slot . assignedNodes({ flatten: true })
slot.assignedNodes({ flatten: true })
slot
elements encountered therein, recursively,
until there are no slot
elements left.slot . assignedElements()
slot.assignedElements()
slot . assignedElements({ flatten: true })
slot.assignedElements({ flatten: true })
assignedNodes({ flatten: true
})
, limited to elements.slot . assign(...nodes)
slot.assign(...nodes)
Set slot's manually assigned nodes to the given nodes.
context = canvas . getContext(contextId [, options ] )
context = canvas.getContext(contextId [, options ] )
Returns an object that exposes an API for drawing on the canvas. contextId
specifies the desired API: " Returns a Creates a Returns a newly created Returns a 2d
", "BlobCallback = undefined (Blob? blob);
-
url = canvas . toDataURL( [ type [, quality ] ] )
url = canvas.toDataURL( [ type [, quality ] ] )
data:
URL for the image in the
@@ -60622,7 +60622,7 @@ callback BlobCallback = undefined (Blob? blob);
which case the result might simply be "data:,
".)canvas . toBlob(callback [, type [, quality ] ] )
canvas.toBlob(callback [, type [, quality ] ] )
Blob
object representing a file containing the image in the canvas,
@@ -60635,7 +60635,7 @@ callback BlobCallback = undefined (Blob? blob);
indicating the desired quality level for the resulting image.canvas . transferControlToOffscreen()
canvas.transferControlToOffscreen()
OffscreenCanvas
object that uses the canvas
@@ -61042,7 +61042,7 @@ interface Path2D {
objects.
-
context = canvas . getContext('2d' [, { [ alpha: true ] [, desynchronized: false ] [, colorSpace: 'srgb'] [, willReadFrequently: false ]} ] )
context = canvas.getContext('2d' [, { [ alpha: true ] [, desynchronized: false ] [, colorSpace: 'srgb'] [, willReadFrequently: false ]} ] )
CanvasRenderingContext2D
object that is permanently bound to a
particular canvas
element.
context . canvas
context.canvas
Returns the canvas
element.
attributes = canvas . getContextAttributes()
attributes = canvas.getContextAttributes()
Returns an object whose:
@@ -61429,13 +61429,13 @@ context.fillRect(100,0,50,50); // only this square remains depend on whether and how the rendering context is bound to acanvas
element.
context . save()
context.save()
Pushes the current state onto the stack.
context . restore()
context.restore()
Pops the top state on the stack, restoring the context to that state.
context . reset()
context.reset()
Resets the rendering context, which includes the backing buffer, the drawing state stack, path, and styles.
context . lineWidth [ = value ]
styles . lineWidth [ = value ]
context.lineWidth [ = value ]
styles.lineWidth [ = value ]
Returns the current line width.
@@ -61482,8 +61482,8 @@ context.fillRect(100,0,50,50); // only this square remains ignored.context . lineCap [ = value ]
styles . lineCap [ = value ]
context.lineCap [ = value ]
styles.lineCap [ = value ]
Returns the current line cap style.
@@ -61494,8 +61494,8 @@ context.fillRect(100,0,50,50); // only this square remains data-x="">round", and "square
". Other values are ignored.
context . lineJoin [ = value ]
styles . lineJoin [ = value ]
context.lineJoin [ = value ]
styles.lineJoin [ = value ]
Returns the current line join style.
@@ -61506,8 +61506,8 @@ context.fillRect(100,0,50,50); // only this square remains data-x="">round", and "miter
". Other values are ignored.
context . miterLimit [ = value ]
styles . miterLimit [ = value ]
context.miterLimit [ = value ]
styles.miterLimit [ = value ]
Returns the current miter limit ratio.
@@ -61517,8 +61517,8 @@ context.fillRect(100,0,50,50); // only this square remainscontext . setLineDash(segments)
styles . setLineDash(segments)
context.setLineDash(segments)
styles.setLineDash(segments)
Sets the current line dash pattern (as used when stroking). The argument is a list of @@ -61526,8 +61526,8 @@ context.fillRect(100,0,50,50); // only this square remains
segments = context . getLineDash()
segments = styles . getLineDash()
segments = context.getLineDash()
segments = styles.getLineDash()
Returns a copy of the current line dash pattern. The array returned will always have an even @@ -61535,8 +61535,8 @@ context.fillRect(100,0,50,50); // only this square remains
context . lineDashOffset
styles . lineDashOffset
context.lineDashOffset
styles.lineDashOffset
Returns the phase offset (in the same units as the line dash pattern).
@@ -61893,8 +61893,8 @@ transform. ack Shaun Morris. -->context . font [ = value ]
styles . font [ = value ]
context.font [ = value ]
styles.font [ = value ]
Returns the current font settings.
@@ -61905,8 +61905,8 @@ transform. ack Shaun Morris. --> element.context . textAlign [ = value ]
styles . textAlign [ = value ]
context.textAlign [ = value ]
styles.textAlign [ = value ]
Returns the current text alignment settings.
@@ -61914,8 +61914,8 @@ transform. ack Shaun Morris. --> below. Other values are ignored. The default is "start
".
context . textBaseline [ = value ]
styles . textBaseline [ = value ]
context.textBaseline [ = value ]
styles.textBaseline [ = value ]
Returns the current baseline alignment settings.
@@ -61924,8 +61924,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-textBaseline-alphabetic">alphabetic".context . direction [ = value ]
styles . direction [ = value ]
context.direction [ = value ]
styles.direction [ = value ]
Returns the current directionality.
@@ -61934,8 +61934,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-direction-inherit">inherit".context . textLetterSpacing [ = value ]
styles . textLetterSpacing [ = value ]
context.textLetterSpacing [ = value ]
styles.textLetterSpacing [ = value ]
Returns the current spacing between characters in the text.
@@ -61943,8 +61943,8 @@ transform. ack Shaun Morris. --> apart, while negative values brings them closer together. The default is 0.context . textWordSpacing [ = value ]
styles . textWordSpacing [ = value ]
context.textWordSpacing [ = value ]
styles.textWordSpacing [ = value ]
Returns the current spacing between words in the text.
@@ -61952,8 +61952,8 @@ transform. ack Shaun Morris. --> while negative values brings them closer together. The default is 0.context . fontKerning [ = value ]
styles . fontKerning [ = value ]
context.fontKerning [ = value ]
styles.fontKerning [ = value ]
Returns the current font kerning settings.
@@ -61962,8 +61962,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-fontKerning-auto">auto".context . fontStretch [ = value ]
styles . fontStretch [ = value ]
context.fontStretch [ = value ]
styles.fontStretch [ = value ]
Returns the current font stretch settings.
@@ -61972,8 +61972,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-fontStretch-normal">normal".context . fontVariantCaps [ = value ]
styles . fontVariantCaps [ = value ]
context.fontVariantCaps [ = value ]
styles.fontVariantCaps [ = value ]
Returns the current font variant caps settings.
@@ -61982,8 +61982,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-fontVariantCaps-normal">normal".context . textRendering [ = value ]
styles . textRendering [ = value ]
context.textRendering [ = value ]
styles.textRendering [ = value ]
Returns the current text rendering settings.
@@ -62588,45 +62588,45 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);context . moveTo(x, y)
path . moveTo(x, y)
context.moveTo(x, y)
path.moveTo(x, y)
Creates a new subpath with the given point.
context . closePath()
path . closePath()
context.closePath()
path.closePath()
Marks the current subpath as closed, and starts a new subpath with a point the same as the start and end of the newly closed subpath.
context . lineTo(x, y)
path . lineTo(x, y)
context.lineTo(x, y)
path.lineTo(x, y)
Adds the given point to the current subpath, connected to the previous one by a straight line.
context . quadraticCurveTo(cpx, cpy, x, y)
path . quadraticCurveTo(cpx, cpy, x, y)
context.quadraticCurveTo(cpx, cpy, x, y)
path.quadraticCurveTo(cpx, cpy, x, y)
Adds the given point to the current subpath, connected to the previous one by a quadratic Bézier curve with the given control point.
context . bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
path . bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
context.bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
path.bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
Adds the given point to the current subpath, connected to the previous one by a cubic Bézier curve with the given control points.
context . arcTo(x1, y1, x2, y2, radius)
path . arcTo(x1, y1, x2, y2, radius)
context.arcTo(x1, y1, x2, y2, radius)
path.arcTo(x1, y1, x2, y2, radius)
Adds an arc with the given control points and radius to the current subpath, connected to the @@ -62782,8 +62782,8 @@ try { -->
context . arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
path . arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
context.arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
path.arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
Adds points to the subpath such that the arc described by the circumference of the circle @@ -62950,8 +62950,8 @@ try { -->
context . ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
path . ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
context.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
path.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
Adds points to the subpath such that the arc described by the circumference of the ellipse @@ -62963,13 +62963,13 @@ try { radius is negative.
context . rect(x, y, w, h)
path . rect(x, y, w, h)
context.rect(x, y, w, h)
path.rect(x, y, w, h)
Adds a new closed subpath to the path, representing the given rectangle.
context . roundRect(x, y, w, h, radii)
path . roundRect(x, y, w, h, radii)
context.roundRect(x, y, w, h, radii)
path.roundRect(x, y, w, h, radii)
Adds a new closed subpath to the path representing the given rounded rectangle. @@ -63404,7 +63404,7 @@ try { SVG path data.
path . addPath(path [, transform ] )
path.addPath(path [, transform ] )
Adds to the path the path given by the argument.
context . scale(x, y)
context.scale(x, y)
Changes the current transformation matrix to apply a scaling transformation with the given characteristics.
context . rotate(angle)
context.rotate(angle)
Changes the current transformation matrix to apply a rotation transformation with the given characteristics. The angle is in radians.
context . translate(x, y)
context.translate(x, y)
Changes the current transformation matrix to apply a translation transformation with the given characteristics.
context . transform(a, b, c, d, e, f)
context.transform(a, b, c, d, e, f)
Changes the current transformation matrix to apply the matrix given by the arguments as described below.
matrix = context . getTransform()
matrix = context.getTransform()
Returns a copy of the current transformation matrix, as a newly created
DOMMatrix
object.
context . setTransform(a, b, c, d, e, f)
context.setTransform(a, b, c, d, e, f)
Changes the current transformation matrix to the matrix given by the arguments as described below.
context . setTransform(transform)
context.setTransform(transform)
Changes the current transformation matrix to the matrix represented by
the passed DOMMatrix2DInit
dictionary.
context . resetTransform()
context.resetTransform()
Changes the current transformation matrix to the identity matrix.
context . fillStyle [ = value ]
context.fillStyle [ = value ]
Returns the current style used for filling shapes.
@@ -63853,7 +63853,7 @@ try {CanvasPattern
object. Invalid values are ignored.
context . strokeStyle [ = value ]
context.strokeStyle [ = value ]
Returns the current style used for stroking shapes.
@@ -64025,7 +64025,7 @@ try {gradient . addColorStop(offset, color)
gradient.addColorStop(offset, color)
Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset @@ -64036,14 +64036,14 @@ try { the color cannot be parsed.
gradient = context . createLinearGradient(x0, y0, x1, y1)
gradient = context.createLinearGradient(x0, y0, x1, y1)
Returns a CanvasGradient
object that represents a linear gradient that paints
along the line given by the coordinates represented by the arguments.
gradient = context . createRadialGradient(x0, y0, r0, x1, y1, r1)
gradient = context.createRadialGradient(x0, y0, r0, x1, y1, r1)
Returns a CanvasGradient
object that represents a radial gradient that paints
@@ -64053,7 +64053,7 @@ try {
DOMException
exception.
gradient = context . createConicGradient(startAngle, x, y)
gradient = context.createConicGradient(startAngle, x, y)
Returns a CanvasGradient
object that represents a conic gradient that paints
clockwise along the rotation around the center represented by the arguments.
pattern = context . createPattern(image, repetition)
pattern = context.createPattern(image, repetition)
Returns a CanvasPattern
object that uses the given image and repeats in the
@@ -64202,7 +64202,7 @@ try {
data, throws an "InvalidStateError
" DOMException
.
pattern . setTransform(transform)
pattern.setTransform(transform)
Sets the transformation matrix that will be used when rendering the pattern during a fill or @@ -64341,16 +64341,16 @@ try {
context . clearRect(x, y, w, h)
context.clearRect(x, y, w, h)
Clears all pixels on the bitmap in the given rectangle to transparent black.
context . fillRect(x, y, w, h)
context.fillRect(x, y, w, h)
Paints the given rectangle onto the bitmap, using the current fill style.
context . strokeRect(x, y, w, h)
context.strokeRect(x, y, w, h)
Paints the box that outlines the given rectangle onto the bitmap, using the current stroke @@ -64425,33 +64425,33 @@ try {
context . fillText(text, x, y [, maxWidth ] )
context . strokeText(text, x, y [, maxWidth ] )
context.fillText(text, x, y [, maxWidth ] )
context.strokeText(text, x, y [, maxWidth ] )
Fills or strokes (respectively) the given text at the given position. If a maximum width is provided, the text will be scaled to fit that width if necessary.
metrics = context . measureText(text)
metrics = context.measureText(text)
Returns a TextMetrics
object with the metrics of the given text in the current
font.
metrics . width
metrics . actualBoundingBoxLeft
metrics . actualBoundingBoxRight
metrics . fontBoundingBoxAscent
metrics . fontBoundingBoxDescent
metrics . actualBoundingBoxAscent
metrics . actualBoundingBoxDescent
metrics . emHeightAscent
metrics . emHeightDescent
metrics . hangingBaseline
metrics . alphabeticBaseline
metrics . ideographicBaseline
metrics.width
metrics.actualBoundingBoxLeft
metrics.actualBoundingBoxRight
metrics.fontBoundingBoxAscent
metrics.fontBoundingBoxDescent
metrics.actualBoundingBoxAscent
metrics.actualBoundingBoxDescent
metrics.emHeightAscent
metrics.emHeightDescent
metrics.hangingBaseline
metrics.alphabeticBaseline
metrics.ideographicBaseline
Returns the measurement described below.
context . beginPath()
context.beginPath()
Resets the current default path.
context . fill( [ fillRule ] )
context . fill(path [, fillRule ] )
context.fill( [ fillRule ] )
context.fill(path [, fillRule ] )
Fills the subpaths of the current default path or the given path with the @@ -64673,8 +64673,8 @@ try {
context . stroke()
context . stroke(path)
context.stroke()
context.stroke(path)
Strokes the subpaths of the current default path or the given path with the @@ -64682,8 +64682,8 @@ try {
context . clip( [ fillRule ] )
context . clip(path [, fillRule ] )
context.clip( [ fillRule ] )
context.clip(path [, fillRule ] )
Further constrains the clipping region to the current default path or the given @@ -64691,8 +64691,8 @@ try {
context . isPointInPath(x, y [, fillRule ] )
context . isPointInPath(path, x, y [, fillRule ] )
context.isPointInPath(x, y [, fillRule ] )
context.isPointInPath(path, x, y [, fillRule ] )
Returns true if the given point is in the current default path or the given @@ -64700,8 +64700,8 @@ try {
context . isPointInStroke(x, y)
context . isPointInStroke(path, x, y)
context.isPointInStroke(x, y)
context.isPointInStroke(path, x, y)
Returns true if the given point would be in the region covered by the stroke of the @@ -64885,8 +64885,8 @@ try {
context . drawFocusIfNeeded(element)
context . drawFocusIfNeeded(path, element)
context.drawFocusIfNeeded(element)
context.drawFocusIfNeeded(path, element)
If the given element is focused, draws a focus ring around the current @@ -64894,8 +64894,8 @@ try {
context . scrollPathIntoView()
context . scrollPathIntoView(path)
context.scrollPathIntoView()
context.scrollPathIntoView(path)
Scrolls the current default path or the given path into view. This is especially @@ -65004,9 +65004,9 @@ try {
context . drawImage(image, dx, dy)
context . drawImage(image, dx, dy, dw, dh)
context . drawImage(image, sx, sy, sw, sh, dx, dy, dw, dh)
context.drawImage(image, dx, dy)
context.drawImage(image, dx, dy, dw, dh)
context.drawImage(image, sx, sy, sw, sh, dx, dy, dw, dh)
Draws the given image onto the canvas. The arguments are interpreted as follows:
@@ -65157,11 +65157,11 @@ try { data and dimensions can't be interpreted consistently, or if either dimension is zero.imagedata = context . createImageData(imagedata)
imagedata = context.createImageData(imagedata)
Returns an ImageData
object with the same dimensions and color space as the
argument. All the pixels in the returned object are transparent black.
imagedata = context . createImageData(sw, sh [, settings])
imagedata = context.createImageData(sw, sh [, settings])
Returns an ImageData
object with the given dimensions. The color space of the
returned object is the color space of
@@ -65172,7 +65172,7 @@ try {
the width or height arguments are zero.
imagedata = context . getImageData(sx, sy, sw, sh [, settings])
imagedata = context.getImageData(sx, sy, sw, sh [, settings])
Returns an ImageData
object containing the image data for the given rectangle of
the bitmap. The color space of the returned object is the
imagedata . width
imagedata . height
imagedata.width
imagedata.height
Returns the actual dimensions of the data in the ImageData
object, in
pixels.
imagedata . data
imagedata.data
Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.
imagedata . colorSpace
imagedata.colorSpace
Returns the color space of the pixels.
context . putImageData(imagedata, dx, dy [, dirtyX, dirtyY, dirtyWidth, dirtyHeight ])
context.putImageData(imagedata, dx, dy [, dirtyX, dirtyY, dirtyWidth, dirtyHeight ])
Paints the data from the given ImageData
object onto the bitmap. If a dirty
rectangle is provided, only the pixels from that rectangle are painted.
context . globalAlpha [ = value ]
context.globalAlpha [ = value ]
Returns the current alpha value applied to rendering operations.
@@ -65662,7 +65662,7 @@ console.log(pixels.data[2]);context . globalCompositeOperation [ = value ]
context.globalCompositeOperation [ = value ]
Returns the current composition operation, from the values defined in Compositing and
@@ -65723,7 +65723,7 @@ console.log(pixels.data[2]);
Returns whether pattern fills and the Returns the current image-smoothing-quality preference. Returns the current shadow color.
-
context . imageSmoothingEnabled [ = value ]
context.imageSmoothingEnabled [ = value ]
Can be set, to change whether images are smoothed (true) or not (false).
context . imageSmoothingQuality [ = value ]
context.imageSmoothingQuality [ = value ]
-
context . shadowColor [ = value ]
context.shadowColor [ = value ]
context . shadowOffsetX [ = value ]
context . shadowOffsetY [ = value ]
context.shadowOffsetX [ = value ]
context.shadowOffsetY [ = value ]
Returns the current shadow offset.
@@ -65790,7 +65790,7 @@ console.log(pixels.data[2]);Can be set, to change the shadow offset. Values that are not finite numbers are ignored.
context . shadowBlur [ = value ]
context.shadowBlur [ = value ]
Returns the current level of blur applied to shadows.
@@ -65902,7 +65902,7 @@ console.log(pixels.data[2]);context . filter [ = value ]
context.filter [ = value ]
Returns the current filter.
@@ -66191,7 +66191,7 @@ dictionary ImageBitmapRenderingContextSettings {context = canvas . getContext('bitmaprenderer' [, { [ alpha: false ] } ] )
context = canvas.getContext('bitmaprenderer' [, { [ alpha: false ] } ] )
Returns an ImageBitmapRenderingContext
object that is permanently bound to a
@@ -66201,11 +66201,11 @@ dictionary ImageBitmapRenderingContextSettings {
provided and set to false, then the canvas is forced to always be opaque.
context . canvas
context.canvas
Returns the canvas
element that the context is bound to.
context . transferFromImageBitmap(imageBitmap)
context.transferFromImageBitmap(imageBitmap)
Transfers the underlying bitmap data
@@ -66213,7 +66213,7 @@ dictionary ImageBitmapRenderingContextSettings {
canvas
element to which context is bound.
context . transferFromImageBitmap(null)
context.transferFromImageBitmap(null)
Replaces contents of the canvas
element to which context is bound
@@ -66442,7 +66442,7 @@ interface OffscreenCanvas : EventTarget {
bitmap's size is determined by the width and height arguments.
context = offscreenCanvas . getContext(contextId [,
+ context = offscreenCanvas.getContext(contextId [,
options ] )
-
Returns an object that exposes an API for drawing on the OffscreenCanvas
object.
@@ -66668,10 +66668,10 @@ interface OffscreenCanvas : EventTarget {
offscreenCanvas . width [
+ offscreenCanvas.width [
= value ]
- offscreenCanvas . height [
+ offscreenCanvas.height [
= value ]
-
@@ -66714,7 +66714,7 @@ interface OffscreenCanvas : EventTarget {
object's rendering context.
- promise = offscreenCanvas . convertToBlob( [options] )
+ promise = offscreenCanvas.convertToBlob( [options] )
-
Returns a promise that will fulfill with a new Blob
object representing a file
@@ -66729,7 +66729,7 @@ interface OffscreenCanvas : EventTarget {
resulting image.
- canvas . transferToImageBitmap()
+ canvas.transferToImageBitmap()
-
Returns a newly created ImageBitmap
object with the image in the
@@ -66897,7 +66897,7 @@ interface OffscreenCanvasRenderingContext2D {
- offscreenCanvasRenderingContext2D . commit()
+ offscreenCanvasRenderingContext2D.commit()
-
Copies the rendering context's bitmap to the
@@ -66907,7 +66907,7 @@ interface OffscreenCanvasRenderingContext2D {
automatically during the event loop execution.
- offscreenCanvas = offscreenCanvasRenderingContext2D . canvas
+ offscreenCanvas = offscreenCanvasRenderingContext2D.canvas
Returns the associated OffscreenCanvas
object.
@@ -68110,14 +68110,14 @@ dictionary ElementDefinitionOptions {
window . customElements . define(name,
+ window.customElements.define(name,
constructor)
- Defines a new custom element, mapping the given name to the given constructor as
an autonomous custom element.
- window . customElements . define(name, constructor,
+ window.customElements.define(name, constructor,
{ extends: baseLocalName })
- Defines a new custom element, mapping the given name to the given constructor as
@@ -68126,12 +68126,12 @@ dictionary ElementDefinitionOptions {
DOMException
will be thrown upon trying to extend a custom element or
an unknown element.
- window . customElements . get(name)
+ window.customElements.get(name)
- Retrieves the custom element constructor defined for the given name. Returns undefined if there is no
custom element definition with the given name.
- window . customElements . whenDefined(name)
+ window.customElements.whenDefined(name)
- Returns a promise that will be fulfilled with the custom element's constructor
when a custom element becomes defined with the given name. (If such a custom
@@ -68139,7 +68139,7 @@ dictionary ElementDefinitionOptions {
promise rejected with a "
SyntaxError
" DOMException
if not
given a valid custom element name.
- window . customElements . upgrade(root)
+ window.customElements.upgrade(root)
- Tries to upgrade all shadow-including
inclusive descendant elements of root, even if they are not
@@ -68962,7 +68962,7 @@ customElements.define("x-foo", class extends HTMLElement {
control over internal features which the user agent provides to all elements.
- element . attachInternals()
+ element.attachInternals()
Returns an ElementInternals
object targeting the custom element
element. Throws an exception if element is not a custom
@@ -69061,7 +69061,7 @@ dictionary ValidityStateFlags {
Shadow root access
- internals . shadowRoot
+ internals.shadowRoot
Returns the ShadowRoot
for internals's target element, if the target
element is a shadow host, or null otherwise.
@@ -69090,7 +69090,7 @@ dictionary ValidityStateFlags {
Form-associated custom elements
- internals . setFormValue(value)
+ internals.setFormValue(value)
-
Sets both the state and submission value of internals's ValidityStateFlags {
If value is null, the element won't participate in form submission.
- internals . setFormValue(value,
+ internals.setFormValue(value,
state)
-
Sets the submission value of
@@ -69109,11 +69109,11 @@ dictionary ValidityStateFlags {
If value is null, the element won't participate in form submission.
- internals . form
+ internals.form
Returns the form owner of internals's target element.
- internals . setValidity(flags,
+ internals.setValidity(flags,
message [, anchor ])
Marks internals's target element as
suffering from the constraints indicated by the flags argument, and sets the element's
@@ -69123,7 +69123,7 @@ dictionary ValidityStateFlags {
interactively or reportValidity()
is
called.
- internals . setValidity({})
+ internals.setValidity({})
Marks internals's target element as
satisfying its constraints.
@@ -69133,7 +69133,7 @@ dictionary ValidityStateFlags {
Returns true if internals's target
element will be validated when the form is submitted; false otherwise.
- internals . validity
+ internals.validity
Returns the ValidityState
object for internals's target element.
@@ -69155,7 +69155,7 @@ dictionary ValidityStateFlags {
data-x="event-invalid">invalid
event at the element, and (if the event isn't canceled)
reports the problem to the user.
- internals . labels
+ internals.labels
Returns a NodeList
of all the label
elements that
internals's target element is associated
with.
@@ -69331,12 +69331,12 @@ dictionary ValidityStateFlags {
Accessibility semantics
- internals . role [ = value ]
+ internals.role [ = value ]
Sets or retrieves the default ARIA role for internals's target element, which will be used unless the page author
overrides it using the role
attribute.
- internals . aria* [ = value ]
+ internals.aria* [ = value ]
Sets or retrieves various default ARIA states or property values for
internals's target element, which will be used
unless the page author overrides them using the aria-*
@@ -74226,7 +74226,7 @@ END:VCARD
- element . click()
+ element.click()
Acts as if the element was clicked.
@@ -75457,7 +75457,7 @@ END:VCARD
- documentOrShadowRoot . activeElement
+ documentOrShadowRoot.activeElement
-
Returns the deepest element in the document through which or to which key events are being
@@ -75477,7 +75477,7 @@ END:VCARD
shadow-including inclusive ancestor of the focused element, and null if not.
- document . hasFocus()
+ document.hasFocus()
-
Returns true if key events are being routed through or to the document; otherwise, returns
@@ -75485,7 +75485,7 @@ END:VCARD
being focused.
- window . focus()
+ window.focus()
-
@@ -75494,12 +75494,12 @@ END:VCARD
- element . focus([ { preventScroll: true } ])
+ element.focus([ { preventScroll: true } ])
-
Moves the focus to the element.
@@ -75512,7 +75512,7 @@ END:VCARD
prevents this behavior.
- element . blur()
+ element.blur()
-
Moves the focus to the viewport. Use of this method is discouraged; if you want
@@ -76123,7 +76123,7 @@ body { display:none }
- element . contentEditable [ = value ]
+ element.contentEditable [ = value ]
-
Returns "true
", "false
", or "
- element . isContentEditable
+ element.isContentEditable
Returns true if the element is editable; otherwise, returns false.
@@ -76169,7 +76169,7 @@ body { display:none }
editable: the designMode
getter and setter
- document . designMode [ = value ]
+ document.designMode [ = value ]
-
Returns "on
" if the document is editable, and "off
" if it isn't.
@@ -76334,7 +76334,7 @@ body { display:none }
- element . spellcheck [ = value ]
+ element.spellcheck [ = value ]
-
Returns true if the element is to have its spelling and grammar checked; otherwise, returns
@@ -76588,7 +76588,7 @@ body { display:none }
state.
- element . autocapitalize [ = value ]
+ element.autocapitalize [ = value ]
-
Returns the current autocapitalization state for the element, or an empty string if it hasn't
@@ -77246,7 +77246,7 @@ interface DataTransfer {
store.
- dataTransfer . dropEffect [ = value ]
+ dataTransfer.dropEffect [ = value ]
-
Returns the kind of operation that is currently selected. If the kind of operation isn't one
@@ -77263,7 +77263,7 @@ interface DataTransfer {
- dataTransfer . effectAllowed [ = value ]
+ dataTransfer.effectAllowed [ = value ]
-
Returns the kinds of operations that are to be allowed.
@@ -77283,12 +77283,12 @@ interface DataTransfer {
- dataTransfer . items
+ dataTransfer.items
Returns a DataTransferItemList
object, with the drag data.
- dataTransfer . setDragImage(element, x, y)
+ dataTransfer.setDragImage(element, x, y)
-
Uses the given element to update the drag feedback, replacing any previously specified
@@ -77296,7 +77296,7 @@ interface DataTransfer {
- dataTransfer . types
+ dataTransfer.types
-
Returns a frozen array listing the formats that were set in the DataTransfer {
- data = dataTransfer . getData(format)
+ data = dataTransfer.getData(format)
Returns the specified data. If there is no such data, returns the empty string.
- dataTransfer . setData(format, data)
+ dataTransfer.setData(format, data)
Adds the specified data.
- dataTransfer . clearData( [ format ] )
+ dataTransfer.clearData( [ format ] )
Removes the data of the specified formats. Removes all data if the argument is
omitted.
- dataTransfer . files
+ dataTransfer.files
Returns a FileList
of the files being dragged, if any.
@@ -77607,7 +77607,7 @@ DND-v5: DataTransferItem?
- items . length
+ items.length
Returns the number of items in the drag data store.
@@ -77620,18 +77620,18 @@ DND-v5: DataTransferItem? items . remove(index)
+ items.remove(index)
Removes the indexth entry in the drag data store.
- items . clear()
+ items.clear()
Removes all the entries in the drag data store.
- items . add(data)
- items . add(data, type)
+ items.add(data)
+ items.add(data, type)
-
Adds a new entry for the given data to the drag data store. If the data is plain
@@ -77782,37 +77782,37 @@ callback FunctionObjectCallback = undefined (any data);-->
- item . kind
item.kind
Returns the drag data item kind, one of: "string", "file".
item . type
item.type
Returns the drag data item type string.
item . getAsString(callback)
item.getAsString(callback)
Invokes the callback with the string data as the argument, if the drag data item kind is text.
file = item . getAsFile()
file = item.getAsFile()
Returns a File
object, if the drag data item kind is
File.
Cancels the timeout set with setTimeout()
or setInterval()
identified by handle.
handle = self . setInterval( handler [, timeout [, arguments... ] ] )
handle = self.setInterval( handler [, timeout [, arguments... ] ] )
Schedules a timeout to run handler every timeout milliseconds. Any arguments are passed straight through to the handler.
handle = self . setInterval( code [, timeout ] )
handle = self.setInterval( code [, timeout ] )
Schedules a timeout to compile and run code every timeout milliseconds.
clearInterval
( handle )clearInterval
( handle )Cancels the timeout set with Queues a microtask to run the given
callback. Displays a modal alert with the given message, and waits for the user to dismiss
it. Displays a modal OK/Cancel prompt with the given message, waits for the user to dismiss it,
and returns true if the user clicks OK and false if the user clicks Cancel. Displays a modal text control prompt with the given message, waits for the user to dismiss
it, and returns the value that the user entered. If the user cancels the prompt, then returns
@@ -96154,7 +96154,7 @@ function sendData(data) {
Prompts the user to print the page.setInterval()
or
Microtask queuing
-
@@ -96011,17 +96011,17 @@ function sendData(data) {
self . queueMicrotask(callback)
self.queueMicrotask(callback)
-
window . alert(message)
window.alert(message)
result = window . confirm(message)
result = window.confirm(message)
result = window . prompt(message [, default] )
result = window.prompt(message [, default] )
-
@@ -96313,33 +96313,33 @@ interface Navigator {
and unknown versions should always be assumed to be fully compliant.window . print()
window.print()
self . navigator . appCodeName
self.navigator.appCodeName
Returns the string "Mozilla
".
self . navigator . appName
self.navigator.appName
Returns the string "Netscape
".
self . navigator . appVersion
self.navigator.appVersion
Returns the version of the browser.
self . navigator . platform
self.navigator.platform
Returns the name of the platform.
self . navigator . product
self.navigator.product
Returns the string "Gecko
".
window . navigator . productSub
window.navigator.productSub
Returns either the string "20030107
", or the string "20100101
".
self . navigator . userAgent
self.navigator.userAgent
Returns the complete `User-Agent
` header.
window . navigator . vendor
window.navigator.vendor
Returns either the empty string, the string "Apple Computer, Inc.
",
or the string "Google Inc.
".
window . navigator . vendorSub
window.navigator.vendorSub
Returns the empty string.
self . navigator . language
self.navigator.language
Returns a language tag representing the user's preferred language.
self . navigator . languages
self.navigator.languages
Returns an array of language tags representing the user's preferred languages, with the most preferred language first.
@@ -96541,7 +96541,7 @@ interface Navigator { };self . navigator . onLine
self.navigator.onLine
Returns false if the user agent is definitely offline (disconnected from the network). @@ -96607,7 +96607,7 @@ interface Navigator { };
window . navigator . registerProtocolHandler(scheme, url)
window.navigator.registerProtocolHandler(scheme, url)
Registers a handler for scheme at url. For example, an online telephone
messaging service could register itself as a handler of the %s
" string is missing in url.
window . navigator . unregisterProtocolHandler(scheme, url)
window.navigator.unregisterProtocolHandler(scheme, url)
Unregisters the handler given by the arguments.
@@ -96874,7 +96874,7 @@ interface Navigator {window . navigator . cookieEnabled
window.navigator.cookieEnabled
Returns false if setting a cookie will be ignored, and true otherwise.
window . navigator . pdfViewerEnabled
window.navigator.pdfViewerEnabled
Returns true if the user agent supports inline viewing of PDF files when navigating to them, or false otherwise. In the latter case, PDF files @@ -97215,8 +97215,8 @@ dictionary ImageBitmapOptions {
promise = self . createImageBitmap(image [, options ])
promise = self . createImageBitmap(image, sx, sy, sw, sh [, options ])
promise = self.createImageBitmap(image [, options ])
promise = self.createImageBitmap(image, sx, sy, sw, sh [, options ])
Takes image, which can be an img
element, an SVG
@@ -97255,19 +97255,19 @@ dictionary ImageBitmapOptions {
origin).
imageBitmap . close()
imageBitmap.close()
Releases imageBitmap's underlying bitmap data.
imageBitmap . width
imageBitmap.width
Returns the intrinsic width of the image, in CSS pixels.
imageBitmap . height
imageBitmap.height
Returns the intrinsic height of the image, in CSS
@@ -97960,25 +97960,25 @@ typedef (WindowProxy or MessagePort or ServiceWo
Returns the data of the message. Returns the origin of the message, for server-sent events and
cross-document messaging. Returns the last event ID string,
for server-sent events. Returns the Returns the Aborts any instances of the fetch algorithm started for
@@ -98185,12 +98185,12 @@ dictionary EventSourceInit {
data-x="dom-EventSource-CLOSED">CLOSED. Returns the URL providing the event
stream. Returns true if the credentials mode
@@ -98198,7 +98198,7 @@ dictionary EventSourceInit {
stream
-
is set to "event . data
event.data
event . origin
event.origin
event . lastEventId
event.lastEventId
event . source
event.source
WindowProxy
of the source window, for cross-document
@@ -97987,7 +97987,7 @@ typedef (WindowProxy or MessagePort or ServiceWo
SharedWorkerGlobalScope
objects.event . ports
event.ports
MessagePort
array sent with the message, for cross-document
@@ -98176,7 +98176,7 @@ dictionary EventSourceInit {
connection requests to url to "include
".source . close()
source.close()
source . url
source.url
source . withCredentials
source.withCredentials
include
", and false otherwise.
source . readyState
source.readyState
Returns the state of this EventSource
object's connection. It can have the
@@ -98972,7 +98972,7 @@ interface WebSocket : EventTarget {
The WebSocket protocol.
socket . send( data )
socket.send( data )
Transmits data using the WebSocket connection. data can be a string, a @@ -98980,7 +98980,7 @@ interface WebSocket : EventTarget { data-x="idl-ArrayBufferView">ArrayBufferView.
socket . close( [ code ] [, reason ] )
socket.close( [ code ] [, reason ] )
Closes the WebSocket connection, optionally using code as WebSocket : EventTarget { close reason.
socket . url
socket.url
Returns the URL that was used to establish the WebSocket connection.
socket . readyState
socket.readyState
Returns the state of the WebSocket
object's connection. It can have the values
described below.
socket . bufferedAmount
socket.bufferedAmount
Returns the number of bytes of application data (UTF-8 text and binary data) that have been @@ -99015,18 +99015,18 @@ interface WebSocket : EventTarget { to zero once the connection closes.)
socket . extensions
socket.extensions
Returns the extensions selected by the server, if any.
socket . protocol
socket.protocol
Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor's second argument to perform subprotocol negotiation.
socket . binaryType [ = value ]
socket.binaryType [ = value ]
Returns a string that indicates how binary data from the WebSocket
object is
@@ -99646,13 +99646,13 @@ dictionary CloseEventInit : EventInit {
event . wasClean
event.wasClean
Returns true if the connection closed cleanly; false otherwise.
event . code
event.code
Returns the WebSocket connection close code provided by the server.
event . reason
event.reason
Returns the WebSocket connection close reason provided by the server.
window . postMessage(message [, options ] )
window.postMessage(message [, options ] )
Posts a message to the given window. Messages can be structured objects, e.g. nested objects @@ -99879,7 +99879,7 @@ function receiver(e) { cloned.
window . postMessage(message, targetOrigin [, transfer ] )
window.postMessage(message, targetOrigin [, transfer ] )
This is an alternate version of postMessage()
where the target origin is specified
@@ -100232,11 +100232,11 @@ interface MessageChannel {
objects.
channel . port1
channel.port1
Returns the first MessagePort
object.
channel . port2
channel.port2
Returns the second MessagePort
object.
port . postMessage(message [, transfer] )
port . postMessage(message [, { transfer }] )
port.postMessage(message [, transfer] )
port.postMessage(message [, { transfer }] )
Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.
@@ -100307,10 +100307,10 @@ dictionary PostMessageOptions { could not be cloned.port . start()
port.start()
Begins dispatching messages received on the port.
port . close()
port.close()
Disconnects the port, so that it is no longer active.
broadcastChannel . name
broadcastChannel.name
Returns the channel name (as passed to the constructor).
broadcastChannel . postMessage(message)
broadcastChannel.postMessage(message)
Sends the given message to other BroadcastChannel
objects set up for this
channel. Messages can be structured objects, e.g. nested objects and arrays.
broadcastChannel . close()
broadcastChannel.close()
Closes the BroadcastChannel
object, opening it up to garbage
collection.
workerGlobal . self
workerGlobal.self
workerGlobal . location
workerGlobal.location
WorkerLocation
object.workerGlobal . navigator
workerGlobal.navigator
WorkerNavigator
object.workerGlobal . importScripts(urls...)
workerGlobal.importScripts(urls...)
DedicatedWorkerGlobalScope
object.
dedicatedWorkerGlobal . name
dedicatedWorkerGlobal.name
Returns dedicatedWorkerGlobal's name, i.e. the value given to the
Worker
constructor. Primarily useful for debugging.
dedicatedWorkerGlobal . postMessage(message [,
+ dedicatedWorkerGlobal.postMessage(message [,
transfer ])
- dedicatedWorkerGlobal . postMessage(message
+ dedicatedWorkerGlobal.postMessage(message
[, { transfer } ])
Clones message and transmits it to the Worker
object associated
with dedicatedWorkerGlobal. transfer can be passed as a list of objects
that are to be transferred rather than cloned.
- dedicatedWorkerGlobal . close()
+ dedicatedWorkerGlobal.close()
Aborts dedicatedWorkerGlobal.
sharedWorkerGlobal . name
sharedWorkerGlobal.name
Returns sharedWorkerGlobal's name, i.e. the value given to the
SharedWorker
constructor. Multiple SharedWorker
objects can correspond
to the same shared worker (and SharedWorkerGlobalScope
), by reusing the same
name.
sharedWorkerGlobal . close()
sharedWorkerGlobal.close()
Aborts sharedWorkerGlobal.
credentials
option.
- worker . terminate()
worker.terminate()
worker . postMessage(message [, transfer ] )
worker . postMessage(message [, { transfer } ] )
worker.postMessage(message [, transfer ] )
worker.postMessage(message [, { transfer } ] )
Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.
sharedWorker . port
sharedWorker.port
Returns sharedWorker's MessagePort
object which can be used to
communicate with the global environment.
self . navigator . hardwareConcurrency
self.navigator.hardwareConcurrency
Returns the number of logical processors potentially available to the user agent.
window . fakeWorklet1
window.fakeWorklet1
window . fakeWorklet2
window.fakeWorklet2
await worklet . addModule(moduleURL[, { credentials }])
await worklet.addModule(moduleURL[, { credentials }])
Loads and executes the module script given by moduleURL into all of worklet's global scopes. It can @@ -103667,19 +103667,19 @@ interface Storage { };
storage . length
storage.length
Returns the number of key/value pairs.
storage . key ( n )
storage.key ( n )
Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs.
value = storage . getItem ( key )
value = storage.getItem ( key )
value = storage[key]
Returns the current value associated with the given key, or null if the given key does not exist.
storage . setItem ( key, value )
storage.setItem ( key, value )
storage[key] = value
Sets the value of the pair identified by key to value, creating a new
@@ -103693,7 +103693,7 @@ interface Storage {
holding an equivalent Storage
object.
storage . removeItem ( key )
storage.removeItem ( key )
delete
storage[key]Removes the key/value pair with the given key, if a key/value pair with the given
@@ -103703,7 +103703,7 @@ interface Storage {
holding an equivalent Storage
object.
storage . clear()
storage.clear()
Removes all key/value pairs, if there are any.
@@ -103892,7 +103892,7 @@ interface Storage { Window includes WindowSessionStorage;window . sessionStorage
window.sessionStorage
Returns the Storage
object associated with that window's origin's
session storage area.
window . localStorage
window.localStorage
Returns the Storage
object associated with window's origin's local
storage area.
event . key
event.key
Returns the key of the storage item being changed.
event . oldValue
event.oldValue
Returns the old value of the key of the storage item whose value is being changed.
event . newValue
event.newValue
Returns the new value of the key of the storage item whose value is being changed.
event . url
event.url
Returns the URL of the document whose storage item changed.
event . storageArea
event.storageArea
Returns the Storage
object that was affected.
DOMException
if the image cannot be decoded.
image = new Image( [ width [, height ] ] )
image = new Image([ width [, height ] ])
audio = new Audio( [ url ] )
audio = new Audio([ url ])
Returns a new audio
element, with the src
@@ -36136,7 +36136,7 @@ interface MediaError {
resource
media.fastSeek( time )
media.fastSeek(time)
Seeks to near the given time as fast as possible, trading precision for speed. (To @@ -36404,8 +36404,8 @@ interface VideoTrack {
Returns the specified AudioTrack
or VideoTrack
object.
audioTrack = media.audioTracks.getTrackById( id )
videoTrack = media.videoTracks.getTrackById( id )
audioTrack = media.audioTracks.getTrackById(id)
videoTrack = media.videoTracks.getTrackById(id)
Returns the AudioTrack
or VideoTrack
object with the given
@@ -37627,7 +37627,7 @@ interface TextTrackList : EventTarget {
track
textTrack = media.textTracks.getTrackById( id )
textTrack = media.textTracks.getTrackById(id)
Returns the TextTrack
object with the given identifier, or null if no track has
@@ -37706,7 +37706,7 @@ interface TextTrack : EventTarget {
textTrack = media.addTextTrack( kind [, label [, language ] ] )
textTrack = media.addTextTrack(kind [, label [, language ] ])
Creates and returns a new TextTrack
object, which is also added to the
media element's list of text tracks.
TextTrackCueList
object.
textTrack.addCue( cue )
textTrack.addCue(cue)
Adds the given cue to textTrack's text track list of cues.
textTrack.removeCue( cue )
textTrack.removeCue(cue)
Removes the given cue from textTrack's text track list of cues.
cuelist.getCueById( id )
cuelist.getCueById(id)
Returns the first text track cue (in text track cue order) with text track cue identifier id.
@@ -40132,7 +40132,7 @@ interface HTMLTableElement : HTMLElement {Returns an HTMLCollection
of the tr
elements of the
table.
tr = table.insertRow( [ index ] )
tr = table.insertRow([ index ])
Creates a tr
element, along with a tbody
if required, inserts them
into the table at the position given by the argument, and returns the tr
.
tr = tbody.insertRow( [ index ] )
tr = tbody.insertRow([ index ])
Creates a tr
element, inserts it into the table section at the position given by
the argument, and returns the tr
.
cell = tr.insertCell( [ index ] )
cell = tr.insertCell([ index ])
Creates a td
element, inserts it into the table row at the position given by the
@@ -43387,7 +43387,7 @@ interface HTMLFormElement : HTMLElement {
event.
form.requestSubmit( [ submitter ] )
form.requestSubmit([ submitter ])
Requests to submit the form. Unlike submit()
, this
@@ -49822,8 +49822,8 @@ You cannot submit this form when the field is incorrect.
control is neither date- or time-based nor numeric.
input.stepUp( [ n ] )
input.stepDown( [ n ] )
input.stepUp([ n ])
input.stepDown([ n ])
Changes the form control's value by the value given in @@ -50752,7 +50752,7 @@ interface HTMLSelectElement : HTMLElement {
Returns null if no element with that ID could be found.
select.add(element [, before ] )
select.add(element [, before ])
Inserts element before the node given by before.
@@ -51358,7 +51358,7 @@ interface HTMLOptionElement : HTMLElement { elements are skipped.option = new Option( [ text [, value [, defaultSelected [, selected ] ] ] ] )
option = new Option([ text [, value [, defaultSelected [, selected ] ] ] ])
Returns a new option
element.
none
".
element.setSelectionRange(start, end [, direction] )
element.setSelectionRange(start, end [, direction])
Changes the selection to cover the given substring in the given direction. If the direction is omitted, it will be reset to be the platform default (none or forward).
element.setRangeText(replacement [, start, end [, selectionMode ] ] )
element.setRangeText(replacement [, start, end [, selectionMode ] ])
Replaces a range of text with the new text. If the start and end @@ -58045,7 +58045,7 @@ interface HTMLDialogElement : HTMLElement {
This method honors the autofocus
attribute.
dialog.close( [ result ] )
dialog.close([ result ])
Closes the dialog
element.
context = canvas.getContext(contextId [, options ] )
context = canvas.getContext(contextId [, options ])
Returns an object that exposes an API for drawing on the canvas. contextId
specifies the desired API: " Returns a Creates a Returns a Adds points to the subpath such that the arc described by the circumference of the circle
@@ -62950,8 +62950,8 @@ try {
-->
Adds points to the subpath such that the arc described by the circumference of the ellipse
@@ -63404,7 +63404,7 @@ try {
SVG path data.
Adds to the path the path given by the argument. Fills or strokes (respectively) the given text at the given position. If a maximum width is
@@ -64664,8 +64664,8 @@ try {
Resets the current default path. Fills the subpaths of the current default path or the given path with the
@@ -64682,8 +64682,8 @@ try {
Further constrains the clipping region to the current default path or the given
@@ -64691,8 +64691,8 @@ try {
Returns true if the given point is in the current default path or the given
@@ -66191,7 +66191,7 @@ dictionary ImageBitmapRenderingContextSettings {
Returns an 2d
", "BlobCallback = undefined (Blob? blob);
-
url = canvas.toDataURL( [ type [, quality ] ] )
url = canvas.toDataURL([ type [, quality ] ])
data:
URL for the image in the
@@ -60622,7 +60622,7 @@ callback BlobCallback = undefined (Blob? blob);
which case the result might simply be "data:,
".)canvas.toBlob(callback [, type [, quality ] ] )
canvas.toBlob(callback [, type [, quality ] ])
Blob
object representing a file containing the image in the canvas,
@@ -61042,7 +61042,7 @@ interface Path2D {
objects.
-
@@ -64425,8 +64425,8 @@ try {
context = canvas.getContext('2d' [, { [ alpha: true ] [, desynchronized: false ] [, colorSpace: 'srgb'] [, willReadFrequently: false ]} ] )
context = canvas.getContext('2d' [, { [ alpha: true ] [, desynchronized: false ] [, colorSpace: 'srgb'] [, willReadFrequently: false ]} ])
CanvasRenderingContext2D
object that is permanently bound to a
particular canvas
element.context.arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
path.arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
context.arc(x, y, radius, startAngle, endAngle [, counterclockwise ])
path.arc(x, y, radius, startAngle, endAngle [, counterclockwise ])
context.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
path.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
context.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise])
path.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise])
path.addPath(path [, transform ] )
path.addPath(path [, transform ])
-
context.fillText(text, x, y [, maxWidth ] )
context.strokeText(text, x, y [, maxWidth ] )
context.fillText(text, x, y [, maxWidth ])
context.strokeText(text, x, y [, maxWidth ])
context.fill( [ fillRule ] )
context.fill(path [, fillRule ] )
context.fill([ fillRule ])
context.fill(path [, fillRule ])
context.clip( [ fillRule ] )
context.clip(path [, fillRule ] )
context.clip([ fillRule ])
context.clip(path [, fillRule ])
context.isPointInPath(x, y [, fillRule ] )
context.isPointInPath(path, x, y [, fillRule ] )
context.isPointInPath(x, y [, fillRule ])
context.isPointInPath(path, x, y [, fillRule ])
-
context = canvas.getContext('bitmaprenderer' [, { [ alpha: false ] } ] )
context = canvas.getContext('bitmaprenderer' [, { [ alpha: false ] } ])
ImageBitmapRenderingContext
object that is permanently bound to a
@@ -66443,7 +66443,7 @@ interface OffscreenCanvas : EventTarget {
context = offscreenCanvas.getContext(contextId [,
- options ] )
Returns an object that exposes an API for drawing on the OffscreenCanvas
object.
contextId specifies the desired API: "OffscreenCanvas : EventTarget {
object's rendering context.
promise = offscreenCanvas.convertToBlob( [options] )
promise = offscreenCanvas.convertToBlob([options])
Returns a promise that will fulfill with a new Blob
object representing a file
@@ -77315,7 +77315,7 @@ interface DataTransfer {
Adds the specified data.
dataTransfer.clearData( [ format ] )
dataTransfer.clearData([ format ])
Removes the data of the specified formats. Removes all data if the argument is omitted.
window = window.open( [ url [, target [, features ] ] ] )
window = window.open([ url [, target [, features ] ] ])
Opens a window to show url (defaults to about:blank
), and returns it.
@@ -84560,7 +84560,7 @@ interface History {
Returns the current serialized state, deserialized into an object.
window.history.go( [ delta ] )
window.history.go([ delta ])
Goes back or forward the specified number of steps in the joint session
@@ -94978,7 +94978,7 @@ document.body.appendChild(frame)
Takes the input data, in the form of a Unicode string containing only characters in the range
@@ -94989,7 +94989,7 @@ document.body.appendChild(frame)
exception if the input string contains any out-of-range characters. Takes the input data, in the form of a Unicode string containing base64-encoded binary data,
@@ -95052,7 +95052,7 @@ document.body.appendChild(frame)
Causes the
-
result = self.btoa( data )
result = self.btoa(data)
result = self.atob( data )
result = self.atob(data)
Opening the input stream
-
document = document.open( )
document = document.open()
Document
to be replaced in-place, as if it was a new
Document
object, but reusing the previous object, which is then returned.
window = document.open( url, name, features )
window = document.open(url, name, features)
Works like the window.open()
method.
parser = new DOMParser()
Constructs a new DOMParser
object.
document = parser.parseFromString( string, type )
document = parser.parseFromString(string, type)
Parses string using either the HTML or XML parser, according to type,
and returns the resulting Document
. type can be "text/html
"
@@ -95566,41 +95566,41 @@ enum DOMParserSupportedType {
handle = self.setTimeout( handler [, timeout [, arguments... ] ] )
handle = self.setTimeout(handler [, timeout [, arguments... ] ])
Schedules a timeout to run handler after timeout milliseconds. Any arguments are passed straight through to the handler.
handle = self.setTimeout( code [, timeout ] )
handle = self.setTimeout(code [, timeout ])
Schedules a timeout to compile and run code after timeout milliseconds.
clearTimeout
( handle )clearTimeout
(handle)Cancels the timeout set with setTimeout()
or setInterval()
identified by handle.
handle = self.setInterval( handler [, timeout [, arguments... ] ] )
handle = self.setInterval(handler [, timeout [, arguments... ] ])
Schedules a timeout to run handler every timeout milliseconds. Any arguments are passed straight through to the handler.
handle = self.setInterval( code [, timeout ] )
handle = self.setInterval(code [, timeout ])
Schedules a timeout to compile and run code every timeout milliseconds.
clearInterval
( handle )clearInterval
(handle)Cancels the timeout set with setInterval()
or
result = window.prompt(message [, default] )
result = window.prompt(message [, default])
Displays a modal text control prompt with the given message, waits for the user to dismiss it, and returns the value that the user entered. If the user cancels the prompt, then returns @@ -98952,7 +98952,7 @@ interface WebSocket : EventTarget {
socket = new WebSocket(url [, protocols ] )
socket = new WebSocket(url [, protocols ])
Creates a new WebSocket
object, immediately establishing the associated
WebSocket connection.
socket.send( data )
socket.send(data)
Transmits data using the WebSocket connection. data can be a string, a @@ -98980,7 +98980,7 @@ interface WebSocket : EventTarget { data-x="idl-ArrayBufferView">ArrayBufferView.
socket.close( [ code ] [, reason ] )
socket.close([ code ] [, reason ])
Closes the WebSocket connection, optionally using code as Posting messages
Posts a message to the given window. Messages can be structured objects, e.g. nested objects
@@ -99879,7 +99879,7 @@ function receiver(e) {
cloned. This is an alternate version of Posts a message through the channel. Objects listed in transfer are transferred,
not just cloned, meaning that they are no longer usable on the sending side. Clones message and transmits it to worker's global environment.
transfer can be passed as a list of objects that are to be transferred rather than
cloned. Returns the number of key/value pairs. Returns the name of the nth key, or null if n is greater than or
equal to the number of key/value pairs. Returns the current value associated with the given key, or null if the given
key does not exist. Sets the value of the pair identified by key to value, creating a new
@@ -103693,7 +103693,7 @@ interface Storage {
holding an equivalent Removes the key/value pair with the given key, if a key/value pair with the given
From 95b9f5dfa05ca152161933fb02ae79c8f5cc1bb9 Mon Sep 17 00:00:00 2001
From: Domenic Denicola In general, adds the given string(s) to the Adds the given string(s) to the Schedules a timeout to run handler after timeout milliseconds. Any
@@ -95586,7 +95586,7 @@ enum DOMParserSupportedType {
Cancels the timeout set with Schedules a timeout to run handler every timeout milliseconds. Any
@@ -101345,7 +101345,7 @@ interface WorkerGlobalScope : EventTarget {
Returns the number of strings in strings. Returns the URL of the Returns the HTTP cookies that apply to the
-
window.postMessage(message [, options ] )
window.postMessage(message [, options ])
window.postMessage(message, targetOrigin [, transfer ] )
window.postMessage(message, targetOrigin [, transfer ])
postMessage()
where the target origin is specified
@@ -100296,8 +100296,8 @@ dictionary PostMessageOptions {
};
-
port.postMessage(message [, transfer] )
port.postMessage(message [, { transfer }] )
port.postMessage(message [, transfer])
port.postMessage(message [, { transfer }])
worker.terminate()
worker.postMessage(message [, transfer ] )
worker.postMessage(message [, { transfer } ] )
worker.postMessage(message [, transfer ])
worker.postMessage(message [, { transfer } ])
storage.length
storage.key ( n )
storage.key (n)
value = storage.getItem ( key )
value = storage.getItem (key)
value = storage[key]
storage.setItem ( key, value )
storage.setItem (key, value)
storage[key] = value
Storage
object.storage.removeItem ( key )
storage.removeItem (key)
delete
storage[key]
-
document.write(text...)
document.write(...text)
Document
's input stream.
-
document.writeln(text...)
document.writeln(...text)
Document
's input stream, followed by a newline
@@ -95566,7 +95566,7 @@ enum DOMParserSupportedType {
-
From 218442332a4b48ed0357c4be248e496a18336f58 Mon Sep 17 00:00:00 2001
From: Domenic Denicola handle = self.setTimeout(handler [, timeout [, arguments... ] ])
handle = self.setTimeout(handler [, timeout [, ...arguments ] ])
setTimeout()
or setInterval()
identified by handle.handle = self.setInterval(handler [, timeout [, arguments... ] ])
handle = self.setInterval(handler [, timeout [, ...arguments ] ])
workerGlobal.navigator
WorkerNavigator
object.workerGlobal.importScripts(urls...)
workerGlobal.importScripts(...urls)
---
source | 115 ---------------------------------------------------------
1 file changed, 115 deletions(-)
diff --git a/source b/source
index 17fd678afd0..9e07e9a898c 100644
--- a/source
+++ b/source
@@ -7929,7 +7929,6 @@ interface DOMStringList {
equivalent rather than
DOMStringList
.
-
strings.length
Resource metadata management
-
document.referrer
Document
from
@@ -9340,7 +9338,6 @@ partial interface Document {
-
document.cookie [ = value ]
Document
. If there are no cookies or
@@ -9414,7 +9411,6 @@ partial interface Document {
document.lastModified
Returns the date of the last modification to the document, as reported by the server, in the @@ -9472,7 +9468,6 @@ partial interface Document {
document.readyState
Returns " Returns the Returns the document's title, as given by the Returns the body element. Returns an loading
" while the Document
is loading, "Document {
-
@@ -9606,7 +9600,6 @@ partial interface Document {
document.head
head
element.
-
document.title [ = value ]
title
element for
@@ -9704,7 +9697,6 @@ partial interface Document {
-
document.body [ = value ]
-
document.images
HTMLCollection
of the img
elements in the
@@ -9845,7 +9836,6 @@ partial interface Document {
collection = document.getElementsByName(name)
Returns a NodeList
of elements in the Document
that have a name
attribute with the value name.
document.currentScript
Returns the script
element, or the SVG script
element,
@@ -12247,7 +12236,6 @@ Transport Protocol">HTTP</abbr> today.</p>
media.canPlayType(type)
media.networkState
media.load()
media.buffered
media.duration
media.readyState
media.paused
Returns true if playback is paused; false otherwise.
media.seeking
Returns true if the user agent is currently seeking.
media.audioTracks
media.audioTracks.length
media.videoTracks.length
media.textTracks.length
Returns the number of text tracks associated with the @@ -37705,7 +37670,6 @@ interface TextTrack : EventTarget { };
textTrack = media.addTextTrack(kind [, label [, language ] ])
Creates and returns a new TextTrack
object, which is also added to the
@@ -38008,7 +37972,6 @@ interface TextTrackCueList {
};
cuelist.length
Returns the number of cues in the list.
cue.track
Returns the TextTrack
object to which this text track cue belongs,
@@ -38342,7 +38304,6 @@ red:89
media.volume [ = value ]
media.length
Returns the number of ranges in the object.
event.track
map.areas
table.caption [ = value ]
Returns the table's caption
element.
tbody.rows
Returns an HTMLCollection
of the tr
elements of the table
@@ -41069,7 +41025,6 @@ interface HTMLTableRowElement : HTMLElement {
tr.rowIndex
cell.cellIndex
form.elements
label.control
Returns the form control that is associated with this element.
control.labels
input.indeterminate [ = value ]
image.width [ = value ]
image.height [ = value ]
input
element APIsinput.value [ = value ]
select.type
datalist.options
option.selected
textarea.type
Returns the string "textarea
".
fieldset.type
Returns the string "fieldset".
legend.form
Returns the element's form
element, if any, or null otherwise.
element.form
element.select()
Selects everything in the text control.
element.willValidate
event.formData
dialog.show()
Displays the dialog
element.
script.text [ = value ]
template.content
Returns the template contents (a DocumentFragment
).
url = canvas.toDataURL([ type [, quality ] ])
context.lineWidth [ = value ]
styles.lineWidth [ = value ]
context.moveTo(x, y)
path.moveTo(x, y)
context.scale(x, y)
context.fillStyle [ = value ]
gradient.addColorStop(offset, color)
pattern = context.createPattern(image, repetition)
context.clearRect(x, y, w, h)
Clears all pixels on the bitmap in the given rectangle to transparent @@ -64659,7 +64586,6 @@ try { data-x="concept-path">path, as described above.
context.beginPath()
Resets the current default path.
context.drawFocusIfNeeded(element)
context.drawFocusIfNeeded(path, element)
context.drawImage(image, dx, dy)
context.drawImage(image, dx, dy, dw, dh)
context.drawImage(image, sx, sy, sw, sh, dx, dy, dw, dh)
context.globalAlpha [ = value ]
context.imageSmoothingEnabled [ = value ]
context.shadowColor [ = value ]
context.filter [ = value ]
context = canvas.getContext('bitmaprenderer' [, { [ alpha: false ] } ])
OffscreenCanvasRenderingContext2D
object was created.
offscreenCanvasRenderingContext2D.commit()
element.click()
Acts as if the element was clicked.
documentOrShadowRoot.activeElement
element.contentEditable [ = value ]
element.spellcheck [ = value ]
dataTransfer = new DataTransfer()
items.length
Returns the number of items in the drag data store.
item.kind
Returns the drag data item kind, one of: "string", @@ -77974,7 +77885,6 @@ dictionary DragEventInit : MouseEventInit { };
event.dataTransfer
Returns the DataTransfer
object for the event.
element.draggable [ = value ]
window = window.open([ url [, target [, features ] ] ])
window.length
Window
objectwindow[name]
document.domain [ = domain ]
window.history.length
Returns the number of entries in the joint session history.
document.location [ = value ]
window.location [ = value ]
event.state
Returns a copy of the information that was provided to HashChangeEventInit : EventInit {
};
event.oldURL
event.persisted
result = self.btoa(data)
document.close()
document.write()
document.write(...text)
document.writeln()
document.writeln(...text)
handle = self.setTimeout(handler [, timeout [, ...arguments ] ])
window.alert(message)
Displays a modal alert with the given message, and waits for the user to dismiss it.
window.print()
Prompts the user to print the page.
window.navigator.cookieEnabled
Returns false if setting a cookie will be ignored, and true otherwise.
promise = self.createImageBitmap(image [, options ])
promise = self.createImageBitmap(image, sx, sy, sw, sh [, options ])
event.data
Returns the data of the message.
source = new EventSource(
url [, { withCredentials:
true } ])
socket = new WebSocket(url [, protocols ])
Creates a new WebSocket
object, immediately establishing the associated
@@ -99645,7 +99533,6 @@ dictionary CloseEventInit : EventInit {
};
event.wasClean
Returns true if the connection closed cleanly; false otherwise.
channel = new MessageChannel()
broadcastChannel = new BroadcastChannel(name)
document.embeds
document.plugins
Return an HTMLCollection
of the embed
elements in the
+
Returns an HTMLCollection
of the embed
elements in the
Document
.
document.forms
Return an HTMLCollection
of the form
elements in the
+
Returns an HTMLCollection
of the form
elements in the
Document
.
document.scripts
Return an HTMLCollection
of the script
elements in the
+
Returns an HTMLCollection
of the script
elements in the
Document
.
slot.assign(...nodes)
Set slot's manually assigned nodes to the given +
Sets slot's manually assigned nodes to the given nodes.
willReadFrequently
- member is true if the context is marked for readback optimization.reportError
( e )self.reportError
(e)
Dispatches an error
event at the global object for the
given value e, in the same fashion as an unhandled exception.
originAgentCluster
window.originAgentCluster
Returns true if this Window
belongs to an agent cluster which is
@@ -91684,7 +91684,7 @@ document.querySelector("button").addEventListener("click", bound);
self.reportError
(e)
self.reportError(e)
Dispatches an error
event at the global object for the
given value e, in the same fashion as an unhandled exception.
isSecureContext
self.isSecureContext
Returns whether or not this global object represents a secure context.
origin
self.origin
Returns the global object's origin, serialized as string.
crossOriginIsolated
self.crossOriginIsolated
Returns whether scripts running in this global are allowed to use APIs that require
cross-origin isolation. This depends on the `Cross-Origin-Opener-Policy
` and
@@ -95476,7 +95476,7 @@ enum DOMParserSupportedType {
milliseconds.
clearTimeout
(handle)self.clearTimeout(handle)
Cancels the timeout set with setTimeout()
or DOMParserSupportedType {
milliseconds.
clearInterval
(handle)self.clearInterval(handle)
Cancels the timeout set with setInterval()
or
Date: Tue, 27 Jul 2021 12:37:28 -0400
Subject: [PATCH 12/12] Manual spacing fixups
---
source | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
diff --git a/source b/source
index 432518b366c..a58d36bf7cd 100644
--- a/source
+++ b/source
@@ -98862,7 +98862,6 @@ interface WebSocket : EventTarget {
socket.send(data)
Transmits data using the WebSocket connection. data can be a string, a
Blob
, an ArrayBuffer
, or an WebSocket : EventTarget {
socket.close([ code ] [, reason ])
Closes the WebSocket connection, optionally using code as the WebSocket connection close code and @@ -98879,21 +98877,18 @@ interface WebSocket : EventTarget {
socket.url
Returns the URL that was used to establish the WebSocket connection.
socket.readyState
Returns the state of the WebSocket
object's connection. It can have the values
described below.
socket.bufferedAmount
Returns the number of bytes of application data (UTF-8 text and binary data) that have been
queued using send()
but not yet been transmitted to the
@@ -98905,25 +98900,21 @@ interface WebSocket : EventTarget {
socket.extensions
Returns the extensions selected by the server, if any.
socket.protocol
Returns the subprotocol selected by the server, if any. It can be used in conjunction with - the array form of the constructor's second argument to perform subprotocol negotiation.
-Returns the subprotocol selected by the server, if any. It can be used in conjunction with + the array form of the constructor's second argument to perform subprotocol negotiation.
socket.binaryType [ = value ]
Returns a string that indicates how binary data from the WebSocket
object is
exposed to scripts:
blob
"Binary data is returned in Blob
form.
blob
"Binary data is returned in Blob
form.
arraybuffer
"Binary data is returned in ArrayBuffer
form.