diff --git a/dev/droidserif-bold.woff2 b/dev/droidserif-bold.woff2 new file mode 100644 index 00000000000..5679b49bd68 Binary files /dev/null and b/dev/droidserif-bold.woff2 differ diff --git a/dev/droidserif-bolditalic.woff2 b/dev/droidserif-bolditalic.woff2 new file mode 100644 index 00000000000..3df689691ab Binary files /dev/null and b/dev/droidserif-bolditalic.woff2 differ diff --git a/dev/droidserif-italic.woff2 b/dev/droidserif-italic.woff2 new file mode 100644 index 00000000000..604807a77b5 Binary files /dev/null and b/dev/droidserif-italic.woff2 differ diff --git a/dev/droidserif.woff2 b/dev/droidserif.woff2 new file mode 100644 index 00000000000..f94d9dfa54a Binary files /dev/null and b/dev/droidserif.woff2 differ diff --git a/dev/mplus-2p-heavy.woff b/dev/mplus-2p-heavy.woff new file mode 100644 index 00000000000..9f589f48887 Binary files /dev/null and b/dev/mplus-2p-heavy.woff differ diff --git a/dev/styles.css b/dev/styles.css new file mode 100644 index 00000000000..4f1f2f40502 --- /dev/null +++ b/dev/styles.css @@ -0,0 +1,490 @@ +@font-face { + font-family: "M+2pheavy"; + src: url("mplus-2p-heavy.woff"); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: "Droid Serif"; + font-style: normal; + font-weight: 400; + src: local("Droid Serif"), local("DroidSerif"), url("./droidserif.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; +} + +@font-face { + font-family: "Droid Serif"; + font-style: normal; + font-weight: 700; + src: local("Droid Serif Bold"), local("DroidSerif-Bold"), url("./droidserif-bold.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; +} + +@font-face { + font-family: "Droid Serif"; + font-style: italic; + font-weight: 400; + src: local("Droid Serif Italic"), local("DroidSerif-Italic"), url("./droidserif-italic.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; +} + +@font-face { + font-family: "Droid Serif"; + font-style: italic; + font-weight: 700; + src: local("Droid Serif Bold Italic"), local("DroidSerif-BoldItalic"), url("./droidserif-bolditalic.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; +} + +/* GENERAL ELEMENTS */ + +/* Resets */ +body, h1, h2, h3, h4, h5, h6, p, a, ul, ol, dl, dt, dd, table, caption, th, td, fieldset, legend, blockquote { + font-weight: normal; + margin: 0; + padding: 0; + color: inherit; + box-sizing: border-box; +} + +a img, form, legend { + border: 0; +} + +fieldset, abbr { + border: none; +} + +/* Basics */ + +body { + font-size: 14px; + line-height: 1.45em; + font-family: "Droid Serif", Georgia, serif; + color: #222; + width: 760px; + margin: 4em auto; + padding: 0 1em; +} + +/* Headings */ + +h1 { + font-size: 300%; +} + +h2:not(#dev-edition-h2) { + font-size: 160%; + text-transform: uppercase; + letter-spacing: 0.2em; + line-height: 1.5em; + font-family: "M+2pheavy", "Helvetica Neue", Arial, Helvetica, sans-serif; + margin: 2em 0; +} + +h2 .secno { + position: absolute; + display: block; + left: -2em; + text-align: right; +} + +h3 .secno, h4 .secno, h5 .secno, h6 .secno { + display: none; +} + +h3 { + font-size: 140%; +} + +h4, h5 { + font-size: 120%; +} + +h6 { + font-size: 100%; +} + +h5, h6 { + font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; +} + +h2, h3, h4, h5, h6 { + position: relative; +} + +h3, h4, h5, h6 { + margin: 3em 0 1em 0; +} + +h4, h5, h6 { + color: #450b09; +} + +h4, h6 { + font-weight: bold; +} + +h1 dfn, h2 dfn, h3 dfn, h4 dfn, h5 dfn, h6 dfn { + font-style: normal; +} + +/* Self-links */ + +a.self-link { + position: absolute; + top: 0; + left: -2.5em; + width: 2em; + height: 2em; + text-align: center; + transition: opacity 0.2s; + opacity: 0.5; + text-decoration: none; +} +a.self-link:hover { + opacity: 1; + text-decoration: none; +} + +h2 > a.self-link, h3 > a.self-link, h4 > a.self-link, h5 > a.self-link, h6 > a.self-link { + font-size: 83%; + color: inherit; + border-bottom: none; +} + +h2 > a.self-link { + left: -4em; +} + +a.self-link::before { + content: "¶"; +} + +h2 > a.self-link::before, h3 > a.self-link::before, h4 > a.self-link::before, +h5 > a.self-link::before, h6 > a.self-link::before { + content: "§"; +} + + +/* Links */ + +a:link { + color: #0773ca; + text-decoration: none; + border-bottom: 1px solid #aaa; +} + +a:visited { + color: #033b68; + border-bottom: 1px solid #ccc; +} + +a:hover { + color: #000; + border-bottom: 1px solid #000; +} + +a:active { + color: #CC211B; + border-bottom: none; +} + +/* Paragraphs and lists */ + +p { + line-height: 1.7em; +} + +p, ul, ol, dl { + margin-bottom: 1em; + width: 520px; +} + +hr { + display: block; + background: none; + border: none; + padding: 0; + margin: 3em 0; + height: auto; +} + +ul li ul { + margin: 0; +} + +li li { + margin-left: 1.2em; +} + +dt { + font-weight: bold; +} + +dd { + margin-bottom: 0.5em; +} + +ul.domTree li { + margin-bottom: 0; + list-style: none; +} + +/* Tables */ + +table { + border: 0; +} + +table th, table td { + border: 0; + border-bottom: 1px solid #acc; + padding: 4px; + vertical-align: top; +} + +table th li, table td li { + margin: 0 0 0 1.5em; +} + +table caption, table th { + text-align: left; + color: #450b09; +} + +table th { + font-weight: bold; +} + +table td { + vertical-align: top; + padding: 0.25em 1.25em 0.25em 0em; +} + +table tr, table tbody { + border: 0px; +} + +/* Code */ + +code, pre { + font-family: "DejaVu Sans Mono", Inconsolata, Consolas, "Lucida Console", monospace; + display: inline-block; + font-style: normal; +} + +pre { + display: block; + padding: 0.25em 0.3em; + margin: 1em 0em 1em -2.6em; + border: 1px solid #eee; + white-space: pre-wrap; +} + +/* Variables */ + +var sub { + vertical-align: bottom; + font-size: smaller; + top: 0.1em; +} + +var > var::before { + content: "⟨"; + font-style: normal; +} + +var > var::after { + content: "⟩"; + font-style: normal; +} + +/* + Typographic conventions + (http://developers.whatwg.org/introduction.html#typographic-conventions) +*/ +.note, .example, .XXX, .warning, pre { + width: 580px; +} + +.note { + padding: 3px; + background-color: #eee; +} + +.note pre { + background-color: #fff; +} + +.example { + color: #555; + font-style: italic; +} + +.XXX { + background-color: #fceaea; + padding: 0.5em; +} + +.warning { + background-color: #f6bfbd; + border: 1px solid #CC211B; + padding: 0.5em; +} + +.css::before { + content: "CSS:"; + color: #888888; + font-size: 1em; + display: block; + background: transparent; +} + +/* SPECIFIC ELEMENTS */ +/* Header */ + +header#head { + position: relative; +} + +header#head h1 { + line-height: 1em; + font-family: "M+2pheavy", "Helvetica Neue", Arial, Helvetica, sans-serif; + font-weight: bold; + color: black; +} + +header#head a:link, header.head a:visited { + border-bottom: 0; +} + +header#head a { + color: black; +} + +header#head h1 a:hover { + text-shadow: 0 0 5px rgba(0, 0, 0, 0.6); +} + +header#head h2 { + font-size: 12px; + margin-bottom: 0.5em; + font-family: "Droid Serif", Georgia, serif; + font-style: italic; + font-weight: normal; + color: #555; +} + +header#head .logo { + position: absolute; + left: -120px; + top: -20px; +} + +/* Nav and table of contents */ + +body > nav { + margin: 2em 0; +} + +ol.toc a:link { + border-bottom: 1px solid #bbb; +} + +ol.toc a:visited { + border-bottom: 1px solid #eee; +} + +ol.toc a:hover { + color: #000; + border-bottom: 1px solid #000; +} + +ol.toc li { + list-style: none; +} + +ol.toc .secno { + color: #888888; +} + +html.index ol.toc li { + position: relative; +} + +html.index ol.toc li .secno { + position: absolute; + left: -1.7em; +} + +html.index ol.toc li li { + margin-left: 1.6em; +} + +html.index ol.toc li li .secno { + left: -1.7em; +} + +html.index ol.toc li li a { + margin-left: 1em; +} + +html.index ol.toc li ol ol { + display: none; +} + +html:not(.index) ol.toc li { + margin-bottom: 0.2em; +} +html:not(.index) ol.toc ol { + margin: 0; +} + +/* RESPONSIVE STYLES */ + +@media screen and (max-width: 767px) { + body { + font-size: 110%; + line-height: 1.6em; + max-width: 580px; + margin: 1em auto; + padding: 0 2em; + } + + header#head { + text-align: center; + } + + header#head .logo { + width: 60px; + position: static; + left: 0; + } + + img { + max-width: 100%; + height: auto; + } + + h2:not(#dev-edition-h2) { + font-size: 18px; + } + + .note, .example, .XXX, .warning, pre { + width: 560px; + } + + pre { + margin-left: -0.6em; + word-wrap: break-word; + } + + /* Don't position self-link in headings off-screen */ + h2 > a.self-link, h3 > a.self-link, h4 > a.self-link, h5 > a.self-link, h6 > a.self-link { + left: auto; + top: auto; + margin-left: 0.5em; + } +} diff --git a/source b/source index 8f5faa6d09f..c4d266e076a 100644 --- a/source +++ b/source @@ -28,6 +28,7 @@
whatwg.org/html
html.spec.whatwg.org
/dev
whatwg.org/pdf
日本語 • 简体中文
whatwg.org/faq
@htmlstandard
filed on GitHub
whatwg.org/newbug
Document
The WHATWG DOM standard defines a Document interface, which - this specification extends significantly:
enum DocumentReadyState { "loading", "interactive", "complete" }; typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement; @@ -12507,10 +12505,11 @@ interface DOMStringMap {
manifest
[HTMLConstructor] interface HTMLHtmlElement : HTMLElement {};
HTMLHtmlElement
The html element represents the root of an HTML document.
html
[HTMLConstructor] interface HTMLHeadElement : HTMLElement {};
HTMLHeadElement
The head element represents a collection of metadata for the @@ -12641,12 +12641,13 @@ interface HTMLHeadElement : HTMLElement {};
head
[HTMLConstructor] interface HTMLTitleElement : HTMLElement { [CEReactions] attribute DOMString text; };
HTMLTitleElement
The title element represents the document's title or name. Authors @@ -12731,13 +12732,14 @@ interface HTMLTitleElement : HTMLElement {
title
href
target
[HTMLConstructor] interface HTMLBaseElement : HTMLElement { [CEReactions] attribute USVString href; [CEReactions] attribute DOMString target; };
HTMLBaseElement
The base element allows authors to specify the document base URL for @@ -12908,7 +12910,7 @@ interface HTMLBaseElement : HTMLElement {
base
color
[HTMLConstructor] interface HTMLLinkElement : HTMLElement { [CEReactions] attribute USVString href; @@ -12929,6 +12931,7 @@ interface HTMLLinkElement : HTMLElement { }; HTMLLinkElement implements LinkStyle;
HTMLLinkElement
The link element allows authors to link their document to other resources.
link
content
charset
[HTMLConstructor] interface HTMLMetaElement : HTMLElement { [CEReactions] attribute DOMString name; @@ -13474,6 +13477,7 @@ interface HTMLMetaElement : HTMLElement { [CEReactions] attribute DOMString content; };
HTMLMetaElement
The meta element represents various kinds of metadata that cannot be @@ -14673,7 +14677,7 @@ people expect to have work and what is necessary.
meta
type
[HTMLConstructor] interface HTMLStyleElement : HTMLElement { [CEReactions] attribute DOMString media; @@ -14682,6 +14686,7 @@ interface HTMLStyleElement : HTMLElement { }; HTMLStyleElement implements LinkStyle;
HTMLStyleElement
The style element allows authors to embed style information in their documents. @@ -15016,12 +15021,13 @@ c-end = "-->"
style
onunhandledrejection
onunload
[HTMLConstructor] interface HTMLBodyElement : HTMLElement {}; HTMLBodyElement implements WindowEventHandlers;
HTMLBodyElement
The body element represents the main content of the document.
body
[HTMLConstructor] interface HTMLHeadingElement : HTMLElement {};
HTMLHeadingElement
These elements represent headings for their sections.
[HTMLConstructor] interface HTMLParagraphElement : HTMLElement {};
HTMLParagraphElement
The p element represents a paragraph.
p
[HTMLConstructor] interface HTMLHRElement : HTMLElement {};
HTMLHRElement
The hr element represents a paragraph-level thematic @@ -17702,10 +17711,11 @@ of Gralmond's winters.</p>
hr
[HTMLConstructor] interface HTMLPreElement : HTMLElement {};
HTMLPreElement
The pre element represents a block of preformatted text, in which @@ -17814,7 +17824,7 @@ a friend lost to the
pre
cite
[HTMLConstructor] interface HTMLQuoteElement : HTMLElement { [CEReactions] attribute USVString cite; @@ -17822,6 +17832,7 @@ interface HTMLQuoteElement : HTMLElement { The HTMLQuoteElement interface is also used by the q element.
The HTMLQuoteElement interface is also used by the q element.
HTMLQuoteElement
q
The blockquote element represents a section that is quoted from @@ -18002,7 +18013,7 @@ be cowed by the possibility.</blockquote>
blockquote
start
[HTMLConstructor] interface HTMLOListElement : HTMLElement { [CEReactions] attribute boolean reversed; @@ -18010,6 +18021,7 @@ interface HTMLOListElement : HTMLElement { [CEReactions] attribute DOMString type; };
HTMLOListElement
The ol element represents a list of items, where the items have been @@ -18180,10 +18192,11 @@ I first lived there):</p>
ol
[HTMLConstructor] interface HTMLUListElement : HTMLElement {};
HTMLUListElement
The ul element represents a list of items, where the order of the @@ -18237,7 +18250,7 @@ interface HTMLUListElement : HTMLElement {};
ul
[HTMLConstructor] interface HTMLMenuElement : HTMLElement { };
HTMLMenuElement
menu
value
[HTMLConstructor] interface HTMLLIElement : HTMLElement { [CEReactions] attribute long value; };
HTMLLIElement
The li element represents a list item. If its parent element is an @@ -18448,10 +18463,11 @@ interface HTMLLIElement : HTMLElement {
li
[HTMLConstructor] interface HTMLDListElement : HTMLElement {};
HTMLDListElement
The dl element represents an association list consisting of zero or @@ -19103,10 +19119,11 @@ included with Exhibit B.
dl
[HTMLConstructor] interface HTMLDivElement : HTMLElement {};
HTMLDivElement
The div element has no special meaning at all. It represents its @@ -19176,7 +19193,7 @@ interface HTMLDivElement : HTMLElement {};
div
referrerpolicy
[HTMLConstructor] interface HTMLAnchorElement : HTMLElement { [CEReactions] attribute DOMString target; @@ -19193,6 +19210,7 @@ interface HTMLAnchorElement : HTMLElement { }; HTMLAnchorElement implements HTMLHyperlinkElementUtils;
HTMLAnchorElement
If the a element has an href attribute, @@ -20671,12 +20689,13 @@ this specification: the <abbr>WHATWG</abbr> and the
a
[HTMLConstructor] interface HTMLDataElement : HTMLElement { [CEReactions] attribute DOMString value; };
HTMLDataElement
The data element represents its contents, along with a @@ -20746,12 +20765,13 @@ interface HTMLDataElement : HTMLElement {
data
datetime
[HTMLConstructor] interface HTMLTimeElement : HTMLElement { [CEReactions] attribute DOMString dateTime; };
HTMLTimeElement
The time element represents its contents, along with a @@ -21835,10 +21855,11 @@ wormhole connection.</mark></p>
time
[HTMLConstructor] interface HTMLSpanElement : HTMLElement {};
HTMLSpanElement
The span element doesn't mean anything on its own, but can be useful when used @@ -21878,10 +21899,11 @@ interface HTMLSpanElement : HTMLElement {};
span
[HTMLConstructor] interface HTMLBRElement : HTMLElement {};
HTMLBRElement
The br element represents a line break.
br
HTMLModElement
The ins element represents an addition to the document.
ins
The del element represents a removal from the document.
del
This value may be shown to the user, but it is primarily intended for private use.
The ins and del elements must implement the +
The ins and del elements must implement the HTMLModElement interface:
[HTMLConstructor] @@ -24767,10 +24791,9 @@ interface HTMLModElement : HTMLElement { [CEReactions] attribute DOMString dateTime; };
The cite IDL attribute must reflect - the element's cite content attribute. The dateTime IDL attribute must reflect the + the element's cite content attribute. The dateTime IDL attribute must reflect the element's datetime content attribute.
dateTime
[HTMLConstructor] interface HTMLPictureElement : HTMLElement {};
HTMLPictureElement
The picture element is a container @@ -24985,7 +25009,7 @@ interface HTMLPictureElement : HTMLElement {};
picture
sizes
media
[HTMLConstructor] interface HTMLSourceElement : HTMLElement { [CEReactions] attribute USVString src; @@ -24995,6 +25019,7 @@ interface HTMLSourceElement : HTMLElement { [CEReactions] attribute DOMString media; };
HTMLSourceElement
The source element allows authors to specify multiple alternative @@ -25241,7 +25266,7 @@ interface HTMLSourceElement : HTMLElement {
source
height
[HTMLConstructor, NamedConstructor=Image(optional unsigned long width, optional unsigned long height)] interface HTMLImageElement : HTMLElement { [CEReactions] attribute DOMString alt; @@ -25260,6 +25285,7 @@ interface HTMLImageElement : HTMLElement { [CEReactions] attribute DOMString referrerPolicy; };
HTMLImageElement
An img element represents an image.
img
[HTMLConstructor] interface HTMLIFrameElement : HTMLElement { [CEReactions] attribute USVString src; @@ -28834,6 +28860,7 @@ interface HTMLIFrameElement : HTMLElement { Document? getSVGDocument(); };
HTMLIFrameElement
[HTMLConstructor] interface HTMLEmbedElement : HTMLElement { [CEReactions] attribute USVString src; @@ -29622,6 +29649,7 @@ interface HTMLEmbedElement : HTMLElement { interfaces.
HTMLEmbedElement
The embed element provides an integration point for an external (typically @@ -29994,7 +30022,7 @@ attribute's value is a type that a plugin supports, then the value
embed
width
[HTMLConstructor] interface HTMLObjectElement : HTMLElement { [CEReactions] attribute USVString data; @@ -30022,6 +30050,7 @@ interface HTMLObjectElement : HTMLElement { interfaces.
HTMLObjectElement
The object element can represent an external resource, which, depending on the @@ -30786,13 +30815,14 @@ interface HTMLObjectElement : HTMLElement {
object
name
[HTMLConstructor] interface HTMLParamElement : HTMLElement { [CEReactions] attribute DOMString name; [CEReactions] attribute DOMString value; };
HTMLParamElement
The param element defines parameters for plugins invoked by object @@ -30889,7 +30919,7 @@ interface HTMLParamElement : HTMLElement {
param
[HTMLConstructor] interface HTMLVideoElement : HTMLMediaElement { [CEReactions] attribute unsigned long width; @@ -30900,6 +30930,7 @@ interface HTMLVideoElement : HTMLMediaElement { [CEReactions] attribute boolean playsInline; };
HTMLVideoElement
A video element is used for playing videos or movies, and audio files with @@ -31279,10 +31310,11 @@ zero or more track elements, then
video
track
muted
controls
[HTMLConstructor, NamedConstructor=Audio(optional DOMString src)] interface HTMLAudioElement : HTMLMediaElement {};
HTMLAudioElement
An audio element represents a sound or audio stream.
audio
label
default
[HTMLConstructor] interface HTMLTrackElement : HTMLElement { [CEReactions] attribute DOMString kind; @@ -31448,6 +31480,7 @@ interface HTMLTrackElement : HTMLElement { readonly attribute TextTrack track; };
HTMLTrackElement
The track element allows authors to specify explicit external timed TrackEventInit : EventInit { Global attributes name DOM interface: - + [HTMLConstructor] interface HTMLMapElement : HTMLElement { [CEReactions] attribute DOMString name; [SameObject] readonly attribute HTMLCollection areas; }; + Uses HTMLMapElement. The map element, in conjunction with an img element and any @@ -38143,7 +38177,7 @@ interface HTMLMapElement : HTMLElement { rel referrerpolicy DOM interface: - + [HTMLConstructor] interface HTMLAreaElement : HTMLElement { [CEReactions] attribute DOMString alt; @@ -38158,6 +38192,7 @@ interface HTMLAreaElement : HTMLElement { }; HTMLAreaElement implements HTMLHyperlinkElementUtils; + Uses HTMLAreaElement. The area element represents either a hyperlink with some text and a @@ -38828,7 +38863,7 @@ interface HTMLAreaElement : HTMLElement { Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLTableElement : HTMLElement { [CEReactions] attribute HTMLTableCaptionElement? caption; @@ -38851,6 +38886,7 @@ interface HTMLTableElement : HTMLElement { [CEReactions] void deleteRow(long index); }; + Uses HTMLTableElement. The table element represents data with more than one dimension, in @@ -39508,10 +39544,11 @@ side in the right column.</p> Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLTableCaptionElement : HTMLElement {}; + Uses HTMLTableCaptionElement. The caption element represents the title of the table @@ -39595,12 +39632,13 @@ the cell that corresponds to the values of the two dice. Global attributes span DOM interface: - + [HTMLConstructor] interface HTMLTableColElement : HTMLElement { [CEReactions] attribute unsigned long span; }; + Uses HTMLTableColElement. The colgroup element represents a HTMLTableColElement : HTMLElement { span DOM interface: - - HTMLTableColElement, same as for - colgroup elements. This interface defines one member, - span. - + Uses HTMLTableColElement, as defined for colgroup elements. If a col element has a parent and that is a colgroup element that @@ -39691,8 +39725,9 @@ interface HTMLTableSectionElement : HTMLElement { HTMLElement insertRow(optional long index = -1); [CEReactions] void deleteRow(long index); }; - The HTMLTableSectionElement interface is also - used for thead and tfoot elements. + Uses HTMLTableSectionElement. The + HTMLTableSectionElement interface is also used for thead and + tfoot elements. @@ -39814,8 +39849,7 @@ interface HTMLTableSectionElement : HTMLElement { Content attributes: Global attributes DOM interface: - HTMLTableSectionElement, as defined for - tbody elements. + Uses HTMLTableSectionElement, as defined for tbody elements. The thead element represents the HTMLTableSectionElement : HTMLElement { Content attributes: Global attributes DOM interface: - HTMLTableSectionElement, as defined for - tbody elements. + Uses HTMLTableSectionElement, as defined for tbody elements. The tfoot element represents the HTMLTableSectionElement : HTMLElement { Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLTableRowElement : HTMLElement { readonly attribute long rowIndex; @@ -39928,6 +39961,7 @@ interface HTMLTableRowElement : HTMLElement { [CEReactions] void deleteCell(long index); }; + Uses HTMLTableRowElement. The tr element represents a row of @@ -40096,7 +40130,8 @@ interface HTMLTableCellElement : HTMLElement { [CEReactions] attribute DOMString abbr; // only conforming for th elements }; - The HTMLTableCellElement interface is also used for th elements. + Uses HTMLTableCellElement. The + HTMLTableCellElement interface is also used for th elements. @@ -40179,9 +40214,7 @@ interface HTMLTableCellElement : HTMLElement { scope abbr DOM interface: - - HTMLTableCellElement, as defined for td elements. - + Uses HTMLTableCellElement, as defined for td elements. The th element represents a header HTMLTableCellElement : HTMLElement { novalidate target DOM interface: - + [OverrideBuiltins, LegacyUnenumerableNamedProperties, HTMLConstructor] interface HTMLFormElement : HTMLElement { [CEReactions] attribute DOMString acceptCharset; @@ -42327,6 +42360,7 @@ interface HTMLFormElement : HTMLElement { boolean reportValidity(); }; + Uses HTMLFormElement. The form element represents a collection of HTMLFormElement : HTMLElement { Global attributes for DOM interface: - + [HTMLConstructor] interface HTMLLabelElement : HTMLElement { readonly attribute HTMLFormElement? form; @@ -42711,6 +42745,7 @@ interface HTMLLabelElement : HTMLElement { readonly attribute HTMLElement? control; }; + Uses HTMLLabelElement. The label element represents a caption in a user interface. The @@ -42937,7 +42972,7 @@ interface HTMLLabelElement : HTMLElement { width Also, the title attribute has special semantics on this element. DOM interface: - + [HTMLConstructor] interface HTMLInputElement : HTMLElement { [CEReactions] attribute DOMString accept; @@ -43000,6 +43035,7 @@ interface HTMLInputElement : HTMLElement { void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction); }; + Uses HTMLInputElement. The input element represents a typed data field, usually with a form @@ -49107,7 +49143,7 @@ You cannot submit this form when the field is incorrect. type value DOM interface: - + [HTMLConstructor] interface HTMLButtonElement : HTMLElement { [CEReactions] attribute boolean autofocus; @@ -49132,6 +49168,7 @@ interface HTMLButtonElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLButtonElement. The button element represents a button labeled by its contents. @@ -49299,7 +49336,7 @@ interface HTMLButtonElement : HTMLElement { required size DOM interface: - + [HTMLConstructor] interface HTMLSelectElement : HTMLElement { [CEReactions] attribute DOMString autocomplete; @@ -49336,6 +49373,7 @@ interface HTMLSelectElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLSelectElement. DOM interface: - + [HTMLConstructor] interface HTMLOutputElement : HTMLElement { [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor; @@ -50825,6 +50867,7 @@ interface HTMLOutputElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLOutputElement. The output element represents the result of a calculation performed @@ -50995,7 +51038,7 @@ interface HTMLOutputElement : HTMLElement { value max DOM interface: - + [HTMLConstructor] interface HTMLProgressElement : HTMLElement { [CEReactions] attribute double value; @@ -51004,6 +51047,7 @@ interface HTMLProgressElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLProgressElement. The progress element represents the completion progress of a task. @@ -51163,7 +51207,7 @@ interface HTMLProgressElement : HTMLElement { high optimum DOM interface: - + [HTMLConstructor] interface HTMLMeterElement : HTMLElement { [CEReactions] attribute double value; @@ -51175,6 +51219,7 @@ interface HTMLMeterElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLMeterElement. The meter element represents a scalar measurement within a known @@ -51542,7 +51587,7 @@ out of 233 257 824 bytes available</meter></p> form name DOM interface: - + [HTMLConstructor] interface HTMLFieldSetElement : HTMLElement { [CEReactions] attribute boolean disabled; @@ -51561,6 +51606,7 @@ interface HTMLFieldSetElement : HTMLElement { void setCustomValidity(DOMString error); }; + Uses HTMLFieldSetElement. The fieldset element represents a set of form controls optionally @@ -51720,12 +51766,13 @@ interface HTMLFieldSetElement : HTMLElement { Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLLegendElement : HTMLElement { readonly attribute HTMLFormElement? form; }; + Uses HTMLLegendElement. The legend element represents a caption for the rest of the contents @@ -54638,7 +54685,10 @@ MIT Room 32-G524 The setRangeText() method uses the - following enumeration: + following enumeration: "select", + "start", + "end", + "preserve" (default). enum SelectionMode { "select", @@ -56100,12 +56150,13 @@ fur Global attributes open DOM interface: - + [HTMLConstructor] interface HTMLDetailsElement : HTMLElement { [CEReactions] attribute boolean open; }; + Uses HTMLDetailsElement. The details element represents a disclosure widget from which the @@ -56554,7 +56605,7 @@ interface HTMLDetailsElement : HTMLElement { Global attributes open DOM interface: - + [HTMLConstructor] interface HTMLDialogElement : HTMLElement { [CEReactions] attribute boolean open; @@ -56564,6 +56615,7 @@ interface HTMLDialogElement : HTMLElement { [CEReactions] void close(optional DOMString returnValue); }; + Uses HTMLDialogElement. The dialog element represents a part of an application that a user interacts with @@ -56957,7 +57009,7 @@ interface HTMLDialogElement : HTMLElement { nonce integrity DOM interface: - + [HTMLConstructor] interface HTMLScriptElement : HTMLElement { [CEReactions] attribute USVString src; @@ -56973,6 +57025,7 @@ interface HTMLScriptElement : HTMLElement { }; + Uses HTMLScriptElement. The script element allows authors to include dynamic script and data blocks in @@ -58534,12 +58587,13 @@ not-slash = %x0000-002E / %x0030-10FFFF Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLTemplateElement : HTMLElement { readonly attribute DocumentFragment content; }; + Uses HTMLTemplateElement. The template element is used to declare fragments of HTML that can be cloned and @@ -58818,7 +58872,7 @@ interface HTMLTemplateElement : HTMLElement { Global attributes name DOM interface: - + [HTMLConstructor] interface HTMLSlotElement : HTMLElement { [CEReactions] attribute DOMString name; @@ -58829,6 +58883,7 @@ dictionary AssignedNodesOptions { boolean flatten = false; }; + Uses HTMLSlotElement. The slot element defines a slot. It is @@ -58904,7 +58959,7 @@ dictionary AssignedNodesOptions { width height DOM interface: - + typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; [HTMLConstructor] @@ -58921,6 +58976,7 @@ interface HTMLCanvasElement : HTMLElement { callback BlobCallback = void (Blob? blob); + Uses HTMLCanvasElement. The canvas element provides scripts with a resolution-dependent bitmap canvas, @@ -59648,10 +59704,10 @@ interface Path2D { methods, see https://bugzilla.mozilla.org/show_bug.cgi?id=623437 for an example, and its duplicates for more --> - To maintain compatibility with existing Web content, user agents need to enumerate - methods defined in CanvasUserInterface immediately after the stroke(Path2D) method on CanvasRenderingContext2D - objects. + To maintain compatibility with existing Web content, user agents need to + enumerate methods defined in CanvasUserInterface immediately after the stroke() method on CanvasRenderingContext2D + objects. @@ -77373,9 +77429,6 @@ console.assert(iframeWindow.frameElement === null); Return chosen and new. - - - Security infrastructure for Window, WindowProxy, and Location objects @@ -77668,6 +77721,8 @@ console.assert(iframeWindow.frameElement === null); @@hasInstance, @@isConcatSpreadable ». + + The Window object @@ -88973,7 +89028,7 @@ dictionary PromiseRejectionEventInit : EventInit { The EventHandler callback function type represents a callback used for event - handlers. It is represented in Web IDL as follows: + handlers. It is represented in Web IDL as follows: [TreatNonObjectAsNull] callback EventHandlerNonNull = any (Event event); @@ -89016,8 +89071,12 @@ typedef EventHandlerNonNull? EventHandler; callback OnErrorEventHandlerNonNull = any ((Event or DOMString) event, optional DOMString source, optional unsigned long lineno, optional unsigned long colno, optional any error); typedef OnErrorEventHandlerNonNull? OnErrorEventHandler; + + window.onerror = (message, source, lineno, colno, error) => { … }; + + Similarly, the onbeforeunload handler has a - different return value: + different return value: it will be cast to a string. [TreatNonObjectAsNull] callback OnBeforeUnloadEventHandlerNonNull = DOMString? (Event event); @@ -96267,7 +96326,7 @@ worker.port.postMessage({ foo: 'structured', bar: ['data', 'also', 'possible']}) The global scope is the "inside" of a worker. - The WorkerGlobalScope common interface + The WorkerGlobalScope common interface [Exposed=Worker] interface WorkerGlobalScope : EventTarget { @@ -96284,6 +96343,12 @@ interface WorkerGlobalScope : EventTarget { attribute EventHandler onunhandledrejection; }; + WorkerGlobalScope serves as the base class for specific types of worker global + scope objects, including DedicatedWorkerGlobalScope, + SharedWorkerGlobalScope, and ServiceWorkerGlobalScope. + + + A WorkerGlobalScope object has an associated owner set (a set of Document and WorkerGlobalScope @@ -96299,15 +96364,15 @@ interface WorkerGlobalScope : EventTarget { A WorkerGlobalScope object has an associated type ("classic" or "module"). It is set during creation. + data-x="">classic" or "module"). It is set during creation. A WorkerGlobalScope object has an associated url (null or a - URL). It is initially null. + URL). It is initially null. A WorkerGlobalScope object has an associated name (a string). It - is set during creation. + is set during creation. The name can have different semantics for each subclass of of WorkerGlobalScope. For @@ -96320,20 +96385,22 @@ interface WorkerGlobalScope : EventTarget { A WorkerGlobalScope object has an associated HTTPS state - (an HTTPS state value). It is initially "none". + (an HTTPS state value). It is initially "none". A WorkerGlobalScope object has an associated referrer - policy (a referrer policy). It is initially the empty string. + policy (a referrer policy). It is initially the empty string. A WorkerGlobalScope object has an associated CSP list. It is - initially an empty list. + initially an empty list. A WorkerGlobalScope object has an associated module map. It is a module map, initially empty. + + workerGlobal . self Returns workerGlobal. @@ -96363,10 +96430,10 @@ interface WorkerGlobalScope : EventTarget { WorkerGlobalScope object, this is not problematic as it cannot be observed from script.
[HTMLConstructor] interface HTMLMapElement : HTMLElement { [CEReactions] attribute DOMString name; [SameObject] readonly attribute HTMLCollection areas; };
HTMLMapElement
The map element, in conjunction with an img element and any @@ -38143,7 +38177,7 @@ interface HTMLMapElement : HTMLElement {
map
rel
[HTMLConstructor] interface HTMLAreaElement : HTMLElement { [CEReactions] attribute DOMString alt; @@ -38158,6 +38192,7 @@ interface HTMLAreaElement : HTMLElement { }; HTMLAreaElement implements HTMLHyperlinkElementUtils;
HTMLAreaElement
The area element represents either a hyperlink with some text and a @@ -38828,7 +38863,7 @@ interface HTMLAreaElement : HTMLElement {
area
[HTMLConstructor] interface HTMLTableElement : HTMLElement { [CEReactions] attribute HTMLTableCaptionElement? caption; @@ -38851,6 +38886,7 @@ interface HTMLTableElement : HTMLElement { [CEReactions] void deleteRow(long index); };
HTMLTableElement
The table element represents data with more than one dimension, in @@ -39508,10 +39544,11 @@ side in the right column.</p>
table
[HTMLConstructor] interface HTMLTableCaptionElement : HTMLElement {};
HTMLTableCaptionElement
The caption element represents the title of the table @@ -39595,12 +39632,13 @@ the cell that corresponds to the values of the two dice.
caption
[HTMLConstructor] interface HTMLTableColElement : HTMLElement { [CEReactions] attribute unsigned long span; };
HTMLTableColElement
The colgroup element represents a HTMLTableColElement : HTMLElement { span DOM interface: - - HTMLTableColElement, same as for - colgroup elements. This interface defines one member, - span. - + Uses HTMLTableColElement, as defined for colgroup elements. If a col element has a parent and that is a colgroup element that @@ -39691,8 +39725,9 @@ interface HTMLTableSectionElement : HTMLElement { HTMLElement insertRow(optional long index = -1); [CEReactions] void deleteRow(long index); }; - The HTMLTableSectionElement interface is also - used for thead and tfoot elements. + Uses HTMLTableSectionElement. The + HTMLTableSectionElement interface is also used for thead and + tfoot elements.
colgroup
HTMLTableColElement, same as for - colgroup elements. This interface defines one member, - span.
If a col element has a parent and that is a colgroup element that @@ -39691,8 +39725,9 @@ interface HTMLTableSectionElement : HTMLElement { HTMLElement insertRow(optional long index = -1); [CEReactions] void deleteRow(long index); }; -
col
The HTMLTableSectionElement interface is also - used for thead and tfoot elements.
HTMLTableSectionElement
thead
tfoot
Uses HTMLTableSectionElement. The + HTMLTableSectionElement interface is also used for thead and + tfoot elements.
tbody
The thead element represents the HTMLTableSectionElement : HTMLElement { Content attributes: Global attributes DOM interface: - HTMLTableSectionElement, as defined for - tbody elements. + Uses HTMLTableSectionElement, as defined for tbody elements. The tfoot element represents the HTMLTableSectionElement : HTMLElement { Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLTableRowElement : HTMLElement { readonly attribute long rowIndex; @@ -39928,6 +39961,7 @@ interface HTMLTableRowElement : HTMLElement { [CEReactions] void deleteCell(long index); }; + Uses HTMLTableRowElement. The tr element represents a row of @@ -40096,7 +40130,8 @@ interface HTMLTableCellElement : HTMLElement { [CEReactions] attribute DOMString abbr; // only conforming for th elements }; - The HTMLTableCellElement interface is also used for th elements. + Uses HTMLTableCellElement. The + HTMLTableCellElement interface is also used for th elements. @@ -40179,9 +40214,7 @@ interface HTMLTableCellElement : HTMLElement { scope abbr DOM interface: - - HTMLTableCellElement, as defined for td elements. - + Uses HTMLTableCellElement, as defined for td elements. The th element represents a header HTMLTableCellElement : HTMLElement { novalidate target DOM interface: - + [OverrideBuiltins, LegacyUnenumerableNamedProperties, HTMLConstructor] interface HTMLFormElement : HTMLElement { [CEReactions] attribute DOMString acceptCharset; @@ -42327,6 +42360,7 @@ interface HTMLFormElement : HTMLElement { boolean reportValidity(); }; + Uses HTMLFormElement. The form element represents a collection of HTMLFormElement : HTMLElement { Global attributes for DOM interface: - + [HTMLConstructor] interface HTMLLabelElement : HTMLElement { readonly attribute HTMLFormElement? form; @@ -42711,6 +42745,7 @@ interface HTMLLabelElement : HTMLElement { readonly attribute HTMLElement? control; }; + Uses HTMLLabelElement. The label element represents a caption in a user interface. The @@ -42937,7 +42972,7 @@ interface HTMLLabelElement : HTMLElement { width Also, the title attribute has special semantics on this element. DOM interface: - + [HTMLConstructor] interface HTMLInputElement : HTMLElement { [CEReactions] attribute DOMString accept; @@ -43000,6 +43035,7 @@ interface HTMLInputElement : HTMLElement { void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction); }; + Uses HTMLInputElement. The input element represents a typed data field, usually with a form @@ -49107,7 +49143,7 @@ You cannot submit this form when the field is incorrect. type value DOM interface: - + [HTMLConstructor] interface HTMLButtonElement : HTMLElement { [CEReactions] attribute boolean autofocus; @@ -49132,6 +49168,7 @@ interface HTMLButtonElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLButtonElement. The button element represents a button labeled by its contents. @@ -49299,7 +49336,7 @@ interface HTMLButtonElement : HTMLElement { required size DOM interface: - + [HTMLConstructor] interface HTMLSelectElement : HTMLElement { [CEReactions] attribute DOMString autocomplete; @@ -49336,6 +49373,7 @@ interface HTMLSelectElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLSelectElement. DOM interface: - + [HTMLConstructor] interface HTMLOutputElement : HTMLElement { [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor; @@ -50825,6 +50867,7 @@ interface HTMLOutputElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLOutputElement. The output element represents the result of a calculation performed @@ -50995,7 +51038,7 @@ interface HTMLOutputElement : HTMLElement { value max DOM interface: - + [HTMLConstructor] interface HTMLProgressElement : HTMLElement { [CEReactions] attribute double value; @@ -51004,6 +51047,7 @@ interface HTMLProgressElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLProgressElement. The progress element represents the completion progress of a task. @@ -51163,7 +51207,7 @@ interface HTMLProgressElement : HTMLElement { high optimum DOM interface: - + [HTMLConstructor] interface HTMLMeterElement : HTMLElement { [CEReactions] attribute double value; @@ -51175,6 +51219,7 @@ interface HTMLMeterElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLMeterElement. The meter element represents a scalar measurement within a known @@ -51542,7 +51587,7 @@ out of 233 257 824 bytes available</meter></p> form name DOM interface: - + [HTMLConstructor] interface HTMLFieldSetElement : HTMLElement { [CEReactions] attribute boolean disabled; @@ -51561,6 +51606,7 @@ interface HTMLFieldSetElement : HTMLElement { void setCustomValidity(DOMString error); }; + Uses HTMLFieldSetElement. The fieldset element represents a set of form controls optionally @@ -51720,12 +51766,13 @@ interface HTMLFieldSetElement : HTMLElement { Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLLegendElement : HTMLElement { readonly attribute HTMLFormElement? form; }; + Uses HTMLLegendElement. The legend element represents a caption for the rest of the contents @@ -54638,7 +54685,10 @@ MIT Room 32-G524 The setRangeText() method uses the - following enumeration: + following enumeration: "select", + "start", + "end", + "preserve" (default). enum SelectionMode { "select", @@ -56100,12 +56150,13 @@ fur Global attributes open DOM interface: - + [HTMLConstructor] interface HTMLDetailsElement : HTMLElement { [CEReactions] attribute boolean open; }; + Uses HTMLDetailsElement. The details element represents a disclosure widget from which the @@ -56554,7 +56605,7 @@ interface HTMLDetailsElement : HTMLElement { Global attributes open DOM interface: - + [HTMLConstructor] interface HTMLDialogElement : HTMLElement { [CEReactions] attribute boolean open; @@ -56564,6 +56615,7 @@ interface HTMLDialogElement : HTMLElement { [CEReactions] void close(optional DOMString returnValue); }; + Uses HTMLDialogElement. The dialog element represents a part of an application that a user interacts with @@ -56957,7 +57009,7 @@ interface HTMLDialogElement : HTMLElement { nonce integrity DOM interface: - + [HTMLConstructor] interface HTMLScriptElement : HTMLElement { [CEReactions] attribute USVString src; @@ -56973,6 +57025,7 @@ interface HTMLScriptElement : HTMLElement { }; + Uses HTMLScriptElement. The script element allows authors to include dynamic script and data blocks in @@ -58534,12 +58587,13 @@ not-slash = %x0000-002E / %x0030-10FFFF Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLTemplateElement : HTMLElement { readonly attribute DocumentFragment content; }; + Uses HTMLTemplateElement. The template element is used to declare fragments of HTML that can be cloned and @@ -58818,7 +58872,7 @@ interface HTMLTemplateElement : HTMLElement { Global attributes name DOM interface: - + [HTMLConstructor] interface HTMLSlotElement : HTMLElement { [CEReactions] attribute DOMString name; @@ -58829,6 +58883,7 @@ dictionary AssignedNodesOptions { boolean flatten = false; }; + Uses HTMLSlotElement. The slot element defines a slot. It is @@ -58904,7 +58959,7 @@ dictionary AssignedNodesOptions { width height DOM interface: - + typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; [HTMLConstructor] @@ -58921,6 +58976,7 @@ interface HTMLCanvasElement : HTMLElement { callback BlobCallback = void (Blob? blob); + Uses HTMLCanvasElement. The canvas element provides scripts with a resolution-dependent bitmap canvas, @@ -59648,10 +59704,10 @@ interface Path2D { methods, see https://bugzilla.mozilla.org/show_bug.cgi?id=623437 for an example, and its duplicates for more --> - To maintain compatibility with existing Web content, user agents need to enumerate - methods defined in CanvasUserInterface immediately after the stroke(Path2D) method on CanvasRenderingContext2D - objects. + To maintain compatibility with existing Web content, user agents need to + enumerate methods defined in CanvasUserInterface immediately after the stroke() method on CanvasRenderingContext2D + objects. @@ -77373,9 +77429,6 @@ console.assert(iframeWindow.frameElement === null); Return chosen and new. - - - Security infrastructure for Window, WindowProxy, and Location objects @@ -77668,6 +77721,8 @@ console.assert(iframeWindow.frameElement === null); @@hasInstance, @@isConcatSpreadable ». + + The Window object @@ -88973,7 +89028,7 @@ dictionary PromiseRejectionEventInit : EventInit { The EventHandler callback function type represents a callback used for event - handlers. It is represented in Web IDL as follows: + handlers. It is represented in Web IDL as follows: [TreatNonObjectAsNull] callback EventHandlerNonNull = any (Event event); @@ -89016,8 +89071,12 @@ typedef EventHandlerNonNull? EventHandler; callback OnErrorEventHandlerNonNull = any ((Event or DOMString) event, optional DOMString source, optional unsigned long lineno, optional unsigned long colno, optional any error); typedef OnErrorEventHandlerNonNull? OnErrorEventHandler; + + window.onerror = (message, source, lineno, colno, error) => { … }; + + Similarly, the onbeforeunload handler has a - different return value: + different return value: it will be cast to a string.
The tfoot element represents the HTMLTableSectionElement : HTMLElement { Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLTableRowElement : HTMLElement { readonly attribute long rowIndex; @@ -39928,6 +39961,7 @@ interface HTMLTableRowElement : HTMLElement { [CEReactions] void deleteCell(long index); }; + Uses HTMLTableRowElement. The tr element represents a row of @@ -40096,7 +40130,8 @@ interface HTMLTableCellElement : HTMLElement { [CEReactions] attribute DOMString abbr; // only conforming for th elements }; - The HTMLTableCellElement interface is also used for th elements. + Uses HTMLTableCellElement. The + HTMLTableCellElement interface is also used for th elements. @@ -40179,9 +40214,7 @@ interface HTMLTableCellElement : HTMLElement { scope abbr DOM interface: - - HTMLTableCellElement, as defined for td elements. - + Uses HTMLTableCellElement, as defined for td elements. The th element represents a header HTMLTableCellElement : HTMLElement { novalidate target DOM interface: - + [OverrideBuiltins, LegacyUnenumerableNamedProperties, HTMLConstructor] interface HTMLFormElement : HTMLElement { [CEReactions] attribute DOMString acceptCharset; @@ -42327,6 +42360,7 @@ interface HTMLFormElement : HTMLElement { boolean reportValidity(); }; + Uses HTMLFormElement. The form element represents a collection of HTMLFormElement : HTMLElement { Global attributes for DOM interface: - + [HTMLConstructor] interface HTMLLabelElement : HTMLElement { readonly attribute HTMLFormElement? form; @@ -42711,6 +42745,7 @@ interface HTMLLabelElement : HTMLElement { readonly attribute HTMLElement? control; }; + Uses HTMLLabelElement. The label element represents a caption in a user interface. The @@ -42937,7 +42972,7 @@ interface HTMLLabelElement : HTMLElement { width Also, the title attribute has special semantics on this element. DOM interface: - + [HTMLConstructor] interface HTMLInputElement : HTMLElement { [CEReactions] attribute DOMString accept; @@ -43000,6 +43035,7 @@ interface HTMLInputElement : HTMLElement { void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction); }; + Uses HTMLInputElement. The input element represents a typed data field, usually with a form @@ -49107,7 +49143,7 @@ You cannot submit this form when the field is incorrect. type value DOM interface: - + [HTMLConstructor] interface HTMLButtonElement : HTMLElement { [CEReactions] attribute boolean autofocus; @@ -49132,6 +49168,7 @@ interface HTMLButtonElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLButtonElement. The button element represents a button labeled by its contents. @@ -49299,7 +49336,7 @@ interface HTMLButtonElement : HTMLElement { required size DOM interface: - + [HTMLConstructor] interface HTMLSelectElement : HTMLElement { [CEReactions] attribute DOMString autocomplete; @@ -49336,6 +49373,7 @@ interface HTMLSelectElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLSelectElement. DOM interface: - + [HTMLConstructor] interface HTMLOutputElement : HTMLElement { [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor; @@ -50825,6 +50867,7 @@ interface HTMLOutputElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLOutputElement. The output element represents the result of a calculation performed @@ -50995,7 +51038,7 @@ interface HTMLOutputElement : HTMLElement { value max DOM interface: - + [HTMLConstructor] interface HTMLProgressElement : HTMLElement { [CEReactions] attribute double value; @@ -51004,6 +51047,7 @@ interface HTMLProgressElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLProgressElement. The progress element represents the completion progress of a task. @@ -51163,7 +51207,7 @@ interface HTMLProgressElement : HTMLElement { high optimum DOM interface: - + [HTMLConstructor] interface HTMLMeterElement : HTMLElement { [CEReactions] attribute double value; @@ -51175,6 +51219,7 @@ interface HTMLMeterElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLMeterElement. The meter element represents a scalar measurement within a known @@ -51542,7 +51587,7 @@ out of 233 257 824 bytes available</meter></p> form name DOM interface: - + [HTMLConstructor] interface HTMLFieldSetElement : HTMLElement { [CEReactions] attribute boolean disabled; @@ -51561,6 +51606,7 @@ interface HTMLFieldSetElement : HTMLElement { void setCustomValidity(DOMString error); }; + Uses HTMLFieldSetElement. The fieldset element represents a set of form controls optionally @@ -51720,12 +51766,13 @@ interface HTMLFieldSetElement : HTMLElement { Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLLegendElement : HTMLElement { readonly attribute HTMLFormElement? form; }; + Uses HTMLLegendElement. The legend element represents a caption for the rest of the contents @@ -54638,7 +54685,10 @@ MIT Room 32-G524 The setRangeText() method uses the - following enumeration: + following enumeration: "select", + "start", + "end", + "preserve" (default). enum SelectionMode { "select", @@ -56100,12 +56150,13 @@ fur Global attributes open DOM interface: - + [HTMLConstructor] interface HTMLDetailsElement : HTMLElement { [CEReactions] attribute boolean open; }; + Uses HTMLDetailsElement. The details element represents a disclosure widget from which the @@ -56554,7 +56605,7 @@ interface HTMLDetailsElement : HTMLElement { Global attributes open DOM interface: - + [HTMLConstructor] interface HTMLDialogElement : HTMLElement { [CEReactions] attribute boolean open; @@ -56564,6 +56615,7 @@ interface HTMLDialogElement : HTMLElement { [CEReactions] void close(optional DOMString returnValue); }; + Uses HTMLDialogElement. The dialog element represents a part of an application that a user interacts with @@ -56957,7 +57009,7 @@ interface HTMLDialogElement : HTMLElement { nonce integrity DOM interface: - + [HTMLConstructor] interface HTMLScriptElement : HTMLElement { [CEReactions] attribute USVString src; @@ -56973,6 +57025,7 @@ interface HTMLScriptElement : HTMLElement { }; + Uses HTMLScriptElement. The script element allows authors to include dynamic script and data blocks in @@ -58534,12 +58587,13 @@ not-slash = %x0000-002E / %x0030-10FFFF Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLTemplateElement : HTMLElement { readonly attribute DocumentFragment content; }; + Uses HTMLTemplateElement. The template element is used to declare fragments of HTML that can be cloned and @@ -58818,7 +58872,7 @@ interface HTMLTemplateElement : HTMLElement { Global attributes name DOM interface: - + [HTMLConstructor] interface HTMLSlotElement : HTMLElement { [CEReactions] attribute DOMString name; @@ -58829,6 +58883,7 @@ dictionary AssignedNodesOptions { boolean flatten = false; }; + Uses HTMLSlotElement. The slot element defines a slot. It is @@ -58904,7 +58959,7 @@ dictionary AssignedNodesOptions { width height DOM interface: - + typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; [HTMLConstructor] @@ -58921,6 +58976,7 @@ interface HTMLCanvasElement : HTMLElement { callback BlobCallback = void (Blob? blob); + Uses HTMLCanvasElement. The canvas element provides scripts with a resolution-dependent bitmap canvas, @@ -59648,10 +59704,10 @@ interface Path2D { methods, see https://bugzilla.mozilla.org/show_bug.cgi?id=623437 for an example, and its duplicates for more --> - To maintain compatibility with existing Web content, user agents need to enumerate - methods defined in CanvasUserInterface immediately after the stroke(Path2D) method on CanvasRenderingContext2D - objects. + To maintain compatibility with existing Web content, user agents need to + enumerate methods defined in CanvasUserInterface immediately after the stroke() method on CanvasRenderingContext2D + objects. @@ -77373,9 +77429,6 @@ console.assert(iframeWindow.frameElement === null); Return chosen and new. - - - Security infrastructure for Window, WindowProxy, and Location objects @@ -77668,6 +77721,8 @@ console.assert(iframeWindow.frameElement === null); @@hasInstance, @@isConcatSpreadable ». + + The Window object @@ -88973,7 +89028,7 @@ dictionary PromiseRejectionEventInit : EventInit { The EventHandler callback function type represents a callback used for event - handlers. It is represented in Web IDL as follows: + handlers. It is represented in Web IDL as follows:
[HTMLConstructor] interface HTMLTableRowElement : HTMLElement { readonly attribute long rowIndex; @@ -39928,6 +39961,7 @@ interface HTMLTableRowElement : HTMLElement { [CEReactions] void deleteCell(long index); };
HTMLTableRowElement
The tr element represents a row of @@ -40096,7 +40130,8 @@ interface HTMLTableCellElement : HTMLElement { [CEReactions] attribute DOMString abbr; // only conforming for th elements }; -
tr
The HTMLTableCellElement interface is also used for th elements.
HTMLTableCellElement
th
Uses HTMLTableCellElement. The + HTMLTableCellElement interface is also used for th elements.
scope
abbr
td
The th element represents a header HTMLTableCellElement : HTMLElement { novalidate target DOM interface: - + [OverrideBuiltins, LegacyUnenumerableNamedProperties, HTMLConstructor] interface HTMLFormElement : HTMLElement { [CEReactions] attribute DOMString acceptCharset; @@ -42327,6 +42360,7 @@ interface HTMLFormElement : HTMLElement { boolean reportValidity(); }; + Uses HTMLFormElement. The form element represents a collection of HTMLFormElement : HTMLElement { Global attributes for DOM interface: - + [HTMLConstructor] interface HTMLLabelElement : HTMLElement { readonly attribute HTMLFormElement? form; @@ -42711,6 +42745,7 @@ interface HTMLLabelElement : HTMLElement { readonly attribute HTMLElement? control; }; + Uses HTMLLabelElement. The label element represents a caption in a user interface. The @@ -42937,7 +42972,7 @@ interface HTMLLabelElement : HTMLElement { width Also, the title attribute has special semantics on this element. DOM interface: - + [HTMLConstructor] interface HTMLInputElement : HTMLElement { [CEReactions] attribute DOMString accept; @@ -43000,6 +43035,7 @@ interface HTMLInputElement : HTMLElement { void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction); }; + Uses HTMLInputElement. The input element represents a typed data field, usually with a form @@ -49107,7 +49143,7 @@ You cannot submit this form when the field is incorrect. type value DOM interface: - + [HTMLConstructor] interface HTMLButtonElement : HTMLElement { [CEReactions] attribute boolean autofocus; @@ -49132,6 +49168,7 @@ interface HTMLButtonElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLButtonElement. The button element represents a button labeled by its contents. @@ -49299,7 +49336,7 @@ interface HTMLButtonElement : HTMLElement { required size DOM interface: - + [HTMLConstructor] interface HTMLSelectElement : HTMLElement { [CEReactions] attribute DOMString autocomplete; @@ -49336,6 +49373,7 @@ interface HTMLSelectElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLSelectElement. DOM interface: - + [HTMLConstructor] interface HTMLOutputElement : HTMLElement { [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor; @@ -50825,6 +50867,7 @@ interface HTMLOutputElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLOutputElement. The output element represents the result of a calculation performed @@ -50995,7 +51038,7 @@ interface HTMLOutputElement : HTMLElement { value max DOM interface: - + [HTMLConstructor] interface HTMLProgressElement : HTMLElement { [CEReactions] attribute double value; @@ -51004,6 +51047,7 @@ interface HTMLProgressElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLProgressElement. The progress element represents the completion progress of a task. @@ -51163,7 +51207,7 @@ interface HTMLProgressElement : HTMLElement { high optimum DOM interface: - + [HTMLConstructor] interface HTMLMeterElement : HTMLElement { [CEReactions] attribute double value; @@ -51175,6 +51219,7 @@ interface HTMLMeterElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLMeterElement. The meter element represents a scalar measurement within a known @@ -51542,7 +51587,7 @@ out of 233 257 824 bytes available</meter></p> form name DOM interface: - + [HTMLConstructor] interface HTMLFieldSetElement : HTMLElement { [CEReactions] attribute boolean disabled; @@ -51561,6 +51606,7 @@ interface HTMLFieldSetElement : HTMLElement { void setCustomValidity(DOMString error); }; + Uses HTMLFieldSetElement. The fieldset element represents a set of form controls optionally @@ -51720,12 +51766,13 @@ interface HTMLFieldSetElement : HTMLElement { Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLLegendElement : HTMLElement { readonly attribute HTMLFormElement? form; }; + Uses HTMLLegendElement. The legend element represents a caption for the rest of the contents @@ -54638,7 +54685,10 @@ MIT Room 32-G524 The setRangeText() method uses the - following enumeration: + following enumeration: "select", + "start", + "end", + "preserve" (default). enum SelectionMode { "select", @@ -56100,12 +56150,13 @@ fur Global attributes open DOM interface: - + [HTMLConstructor] interface HTMLDetailsElement : HTMLElement { [CEReactions] attribute boolean open; }; + Uses HTMLDetailsElement. The details element represents a disclosure widget from which the @@ -56554,7 +56605,7 @@ interface HTMLDetailsElement : HTMLElement { Global attributes open DOM interface: - + [HTMLConstructor] interface HTMLDialogElement : HTMLElement { [CEReactions] attribute boolean open; @@ -56564,6 +56615,7 @@ interface HTMLDialogElement : HTMLElement { [CEReactions] void close(optional DOMString returnValue); }; + Uses HTMLDialogElement. The dialog element represents a part of an application that a user interacts with @@ -56957,7 +57009,7 @@ interface HTMLDialogElement : HTMLElement { nonce integrity DOM interface: - + [HTMLConstructor] interface HTMLScriptElement : HTMLElement { [CEReactions] attribute USVString src; @@ -56973,6 +57025,7 @@ interface HTMLScriptElement : HTMLElement { }; + Uses HTMLScriptElement. The script element allows authors to include dynamic script and data blocks in @@ -58534,12 +58587,13 @@ not-slash = %x0000-002E / %x0030-10FFFF Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLTemplateElement : HTMLElement { readonly attribute DocumentFragment content; }; + Uses HTMLTemplateElement. The template element is used to declare fragments of HTML that can be cloned and @@ -58818,7 +58872,7 @@ interface HTMLTemplateElement : HTMLElement { Global attributes name DOM interface: - + [HTMLConstructor] interface HTMLSlotElement : HTMLElement { [CEReactions] attribute DOMString name; @@ -58829,6 +58883,7 @@ dictionary AssignedNodesOptions { boolean flatten = false; }; + Uses HTMLSlotElement. The slot element defines a slot. It is @@ -58904,7 +58959,7 @@ dictionary AssignedNodesOptions { width height DOM interface: - + typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; [HTMLConstructor] @@ -58921,6 +58976,7 @@ interface HTMLCanvasElement : HTMLElement { callback BlobCallback = void (Blob? blob); + Uses HTMLCanvasElement. The canvas element provides scripts with a resolution-dependent bitmap canvas, @@ -59648,10 +59704,10 @@ interface Path2D { methods, see https://bugzilla.mozilla.org/show_bug.cgi?id=623437 for an example, and its duplicates for more --> - To maintain compatibility with existing Web content, user agents need to enumerate - methods defined in CanvasUserInterface immediately after the stroke(Path2D) method on CanvasRenderingContext2D - objects. + To maintain compatibility with existing Web content, user agents need to + enumerate methods defined in CanvasUserInterface immediately after the stroke() method on CanvasRenderingContext2D + objects. @@ -77373,9 +77429,6 @@ console.assert(iframeWindow.frameElement === null); Return chosen and new. - - - Security infrastructure for Window, WindowProxy, and Location objects @@ -77668,6 +77721,8 @@ console.assert(iframeWindow.frameElement === null); @@hasInstance, @@isConcatSpreadable ».
novalidate
[OverrideBuiltins, LegacyUnenumerableNamedProperties, HTMLConstructor] interface HTMLFormElement : HTMLElement { [CEReactions] attribute DOMString acceptCharset; @@ -42327,6 +42360,7 @@ interface HTMLFormElement : HTMLElement { boolean reportValidity(); };
HTMLFormElement
The form element represents a collection of HTMLFormElement : HTMLElement { Global attributes for DOM interface: - + [HTMLConstructor] interface HTMLLabelElement : HTMLElement { readonly attribute HTMLFormElement? form; @@ -42711,6 +42745,7 @@ interface HTMLLabelElement : HTMLElement { readonly attribute HTMLElement? control; }; + Uses HTMLLabelElement. The label element represents a caption in a user interface. The @@ -42937,7 +42972,7 @@ interface HTMLLabelElement : HTMLElement { width Also, the title attribute has special semantics on this element. DOM interface: - + [HTMLConstructor] interface HTMLInputElement : HTMLElement { [CEReactions] attribute DOMString accept; @@ -43000,6 +43035,7 @@ interface HTMLInputElement : HTMLElement { void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction); }; + Uses HTMLInputElement. The input element represents a typed data field, usually with a form @@ -49107,7 +49143,7 @@ You cannot submit this form when the field is incorrect. type value DOM interface: - + [HTMLConstructor] interface HTMLButtonElement : HTMLElement { [CEReactions] attribute boolean autofocus; @@ -49132,6 +49168,7 @@ interface HTMLButtonElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLButtonElement. The button element represents a button labeled by its contents. @@ -49299,7 +49336,7 @@ interface HTMLButtonElement : HTMLElement { required size DOM interface: - + [HTMLConstructor] interface HTMLSelectElement : HTMLElement { [CEReactions] attribute DOMString autocomplete; @@ -49336,6 +49373,7 @@ interface HTMLSelectElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLSelectElement. DOM interface: - + [HTMLConstructor] interface HTMLOutputElement : HTMLElement { [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor; @@ -50825,6 +50867,7 @@ interface HTMLOutputElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLOutputElement. The output element represents the result of a calculation performed @@ -50995,7 +51038,7 @@ interface HTMLOutputElement : HTMLElement { value max DOM interface: - + [HTMLConstructor] interface HTMLProgressElement : HTMLElement { [CEReactions] attribute double value; @@ -51004,6 +51047,7 @@ interface HTMLProgressElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLProgressElement. The progress element represents the completion progress of a task. @@ -51163,7 +51207,7 @@ interface HTMLProgressElement : HTMLElement { high optimum DOM interface: - + [HTMLConstructor] interface HTMLMeterElement : HTMLElement { [CEReactions] attribute double value; @@ -51175,6 +51219,7 @@ interface HTMLMeterElement : HTMLElement { readonly attribute NodeList labels; }; + Uses HTMLMeterElement. The meter element represents a scalar measurement within a known @@ -51542,7 +51587,7 @@ out of 233 257 824 bytes available</meter></p> form name DOM interface: - + [HTMLConstructor] interface HTMLFieldSetElement : HTMLElement { [CEReactions] attribute boolean disabled; @@ -51561,6 +51606,7 @@ interface HTMLFieldSetElement : HTMLElement { void setCustomValidity(DOMString error); }; + Uses HTMLFieldSetElement. The fieldset element represents a set of form controls optionally @@ -51720,12 +51766,13 @@ interface HTMLFieldSetElement : HTMLElement { Content attributes: Global attributes DOM interface: - + [HTMLConstructor] interface HTMLLegendElement : HTMLElement { readonly attribute HTMLFormElement? form; }; + Uses HTMLLegendElement. The legend element represents a caption for the rest of the contents @@ -54638,7 +54685,10 @@ MIT Room 32-G524 The setRangeText() method uses the - following enumeration: + following enumeration: "select", + "start", + "end", + "preserve" (default).
form
for
[HTMLConstructor] interface HTMLLabelElement : HTMLElement { readonly attribute HTMLFormElement? form; @@ -42711,6 +42745,7 @@ interface HTMLLabelElement : HTMLElement { readonly attribute HTMLElement? control; };
HTMLLabelElement
The label element represents a caption in a user interface. The @@ -42937,7 +42972,7 @@ interface HTMLLabelElement : HTMLElement {
[HTMLConstructor] interface HTMLInputElement : HTMLElement { [CEReactions] attribute DOMString accept; @@ -43000,6 +43035,7 @@ interface HTMLInputElement : HTMLElement { void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction); };
HTMLInputElement
The input element represents a typed data field, usually with a form @@ -49107,7 +49143,7 @@ You cannot submit this form when the field is incorrect.
input
[HTMLConstructor] interface HTMLButtonElement : HTMLElement { [CEReactions] attribute boolean autofocus; @@ -49132,6 +49168,7 @@ interface HTMLButtonElement : HTMLElement { readonly attribute NodeList labels; };
HTMLButtonElement
The button element represents a button labeled by its contents.
button
required
size
[HTMLConstructor] interface HTMLSelectElement : HTMLElement { [CEReactions] attribute DOMString autocomplete; @@ -49336,6 +49373,7 @@ interface HTMLSelectElement : HTMLElement { readonly attribute NodeList labels; };
HTMLSelectElement
[HTMLConstructor] interface HTMLOutputElement : HTMLElement { [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor; @@ -50825,6 +50867,7 @@ interface HTMLOutputElement : HTMLElement { readonly attribute NodeList labels; };
HTMLOutputElement
The output element represents the result of a calculation performed @@ -50995,7 +51038,7 @@ interface HTMLOutputElement : HTMLElement {
output
max
[HTMLConstructor] interface HTMLProgressElement : HTMLElement { [CEReactions] attribute double value; @@ -51004,6 +51047,7 @@ interface HTMLProgressElement : HTMLElement { readonly attribute NodeList labels; };
HTMLProgressElement
The progress element represents the completion progress of a task. @@ -51163,7 +51207,7 @@ interface HTMLProgressElement : HTMLElement {
progress
high
optimum
[HTMLConstructor] interface HTMLMeterElement : HTMLElement { [CEReactions] attribute double value; @@ -51175,6 +51219,7 @@ interface HTMLMeterElement : HTMLElement { readonly attribute NodeList labels; };
HTMLMeterElement
The meter element represents a scalar measurement within a known @@ -51542,7 +51587,7 @@ out of 233 257 824 bytes available</meter></p>
meter
[HTMLConstructor] interface HTMLFieldSetElement : HTMLElement { [CEReactions] attribute boolean disabled; @@ -51561,6 +51606,7 @@ interface HTMLFieldSetElement : HTMLElement { void setCustomValidity(DOMString error); };
HTMLFieldSetElement
The fieldset element represents a set of form controls optionally @@ -51720,12 +51766,13 @@ interface HTMLFieldSetElement : HTMLElement {
fieldset
[HTMLConstructor] interface HTMLLegendElement : HTMLElement { readonly attribute HTMLFormElement? form; };
HTMLLegendElement
The legend element represents a caption for the rest of the contents @@ -54638,7 +54685,10 @@ MIT Room 32-G524
legend
The setRangeText() method uses the - following enumeration:
setRangeText()
enum SelectionMode { "select", @@ -56100,12 +56150,13 @@ fur
open
[HTMLConstructor] interface HTMLDetailsElement : HTMLElement { [CEReactions] attribute boolean open; };
HTMLDetailsElement
The details element represents a disclosure widget from which the @@ -56554,7 +56605,7 @@ interface HTMLDetailsElement : HTMLElement {
details
[HTMLConstructor] interface HTMLDialogElement : HTMLElement { [CEReactions] attribute boolean open; @@ -56564,6 +56615,7 @@ interface HTMLDialogElement : HTMLElement { [CEReactions] void close(optional DOMString returnValue); };
HTMLDialogElement
The dialog element represents a part of an application that a user interacts with @@ -56957,7 +57009,7 @@ interface HTMLDialogElement : HTMLElement {
dialog
nonce
integrity
[HTMLConstructor] interface HTMLScriptElement : HTMLElement { [CEReactions] attribute USVString src; @@ -56973,6 +57025,7 @@ interface HTMLScriptElement : HTMLElement { };
HTMLScriptElement
The script element allows authors to include dynamic script and data blocks in @@ -58534,12 +58587,13 @@ not-slash = %x0000-002E / %x0030-10FFFF
script
[HTMLConstructor] interface HTMLTemplateElement : HTMLElement { readonly attribute DocumentFragment content; };
HTMLTemplateElement
The template element is used to declare fragments of HTML that can be cloned and @@ -58818,7 +58872,7 @@ interface HTMLTemplateElement : HTMLElement {
template
[HTMLConstructor] interface HTMLSlotElement : HTMLElement { [CEReactions] attribute DOMString name; @@ -58829,6 +58883,7 @@ dictionary AssignedNodesOptions { boolean flatten = false; };
HTMLSlotElement
The slot element defines a slot. It is @@ -58904,7 +58959,7 @@ dictionary AssignedNodesOptions {
slot
typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; [HTMLConstructor] @@ -58921,6 +58976,7 @@ interface HTMLCanvasElement : HTMLElement { callback BlobCallback = void (Blob? blob);
HTMLCanvasElement
The canvas element provides scripts with a resolution-dependent bitmap canvas, @@ -59648,10 +59704,10 @@ interface Path2D { methods, see https://bugzilla.mozilla.org/show_bug.cgi?id=623437 for an example, and its duplicates for more --> -
canvas
To maintain compatibility with existing Web content, user agents need to enumerate - methods defined in CanvasUserInterface immediately after the stroke(Path2D) method on CanvasRenderingContext2D - objects.
CanvasUserInterface
stroke(Path2D)
CanvasRenderingContext2D -
To maintain compatibility with existing Web content, user agents need to + enumerate methods defined in CanvasUserInterface immediately after the stroke() method on CanvasRenderingContext2D + objects.
stroke()
CanvasRenderingContext2D
Return chosen and new.
Window
WindowProxy
Location
The EventHandler callback function type represents a callback used for event - handlers. It is represented in Web IDL as follows:
EventHandler
[TreatNonObjectAsNull] callback EventHandlerNonNull = any (Event event); @@ -89016,8 +89071,12 @@ typedef EventHandlerNonNull? EventHandler;
window.onerror = (message, source, lineno, colno, error) => { … };
Similarly, the onbeforeunload handler has a - different return value:
onbeforeunload
[TreatNonObjectAsNull] callback OnBeforeUnloadEventHandlerNonNull = DOMString? (Event event); @@ -96267,7 +96326,7 @@ worker.port.postMessage({ foo: 'structured', bar: ['data', 'also', 'possible']}) The global scope is the "inside" of a worker. - The WorkerGlobalScope common interface + The WorkerGlobalScope common interface [Exposed=Worker] interface WorkerGlobalScope : EventTarget { @@ -96284,6 +96343,12 @@ interface WorkerGlobalScope : EventTarget { attribute EventHandler onunhandledrejection; }; + WorkerGlobalScope serves as the base class for specific types of worker global + scope objects, including DedicatedWorkerGlobalScope, + SharedWorkerGlobalScope, and ServiceWorkerGlobalScope. + + + A WorkerGlobalScope object has an associated owner set (a set of Document and WorkerGlobalScope @@ -96299,15 +96364,15 @@ interface WorkerGlobalScope : EventTarget { A WorkerGlobalScope object has an associated type ("classic" or "module"). It is set during creation. + data-x="">classic" or "module"). It is set during creation. A WorkerGlobalScope object has an associated url (null or a - URL). It is initially null. + URL). It is initially null. A WorkerGlobalScope object has an associated name (a string). It - is set during creation. + is set during creation. The name can have different semantics for each subclass of of WorkerGlobalScope. For @@ -96320,20 +96385,22 @@ interface WorkerGlobalScope : EventTarget { A WorkerGlobalScope object has an associated HTTPS state - (an HTTPS state value). It is initially "none". + (an HTTPS state value). It is initially "none". A WorkerGlobalScope object has an associated referrer - policy (a referrer policy). It is initially the empty string. + policy (a referrer policy). It is initially the empty string. A WorkerGlobalScope object has an associated CSP list. It is - initially an empty list. + initially an empty list. A WorkerGlobalScope object has an associated module map. It is a module map, initially empty. + +
The global scope is the "inside" of a worker.
WorkerGlobalScope
[Exposed=Worker] interface WorkerGlobalScope : EventTarget { @@ -96284,6 +96343,12 @@ interface WorkerGlobalScope : EventTarget { attribute EventHandler onunhandledrejection; };
WorkerGlobalScope serves as the base class for specific types of worker global + scope objects, including DedicatedWorkerGlobalScope, + SharedWorkerGlobalScope, and ServiceWorkerGlobalScope.
DedicatedWorkerGlobalScope
SharedWorkerGlobalScope
ServiceWorkerGlobalScope
A WorkerGlobalScope object has an associated owner set (a set of Document and WorkerGlobalScope @@ -96299,15 +96364,15 @@ interface WorkerGlobalScope : EventTarget {
A WorkerGlobalScope object has an associated type ("classic" or "module"). It is set during creation. + data-x="">classic" or "module"). It is set during creation.
classic
module
A WorkerGlobalScope object has an associated url (null or a - URL). It is initially null. + URL). It is initially null.
A WorkerGlobalScope object has an associated name (a string). It - is set during creation. + is set during creation.
The name can have different semantics for each subclass of of WorkerGlobalScope. For @@ -96320,20 +96385,22 @@ interface WorkerGlobalScope : EventTarget {
A WorkerGlobalScope object has an associated HTTPS state - (an HTTPS state value). It is initially "none". + (an HTTPS state value). It is initially "none".
none
A WorkerGlobalScope object has an associated referrer - policy (a referrer policy). It is initially the empty string. + policy (a referrer policy). It is initially the empty string.
A WorkerGlobalScope object has an associated CSP list. It is - initially an empty list. + initially an empty list.
A WorkerGlobalScope object has an associated module map. It is a module map, initially empty.
self
The following are the event handlers (and their corresponding event handler event types) that must be supported, as event handler IDL attributes, by objects implementing the WorkerGlobalScope interface:
[Global=(Worker,DedicatedWorker),Exposed=DedicatedWorker] interface DedicatedWorkerGlobalScope : WorkerGlobalScope { @@ -96409,7 +96476,8 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope
Worker
postMessage
The name attribute must return the DedicatedWorkerGlobalScope object's name. Its value represents the name given to the @@ -96433,8 +96503,6 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope immediately invoked the method of the same name on the port, with the same arguments, and returned the same return value.
To close a worker, given a workerGlobal, run these steps:
The following are the event handlers (and their corresponding event handler event types) that must be supported, as event handler IDL attributes, by objects implementing the DedicatedWorkerGlobalScope @@ -96473,7 +96541,7 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope -
[Global=(Worker,SharedWorker),Exposed=SharedWorker] interface SharedWorkerGlobalScope : WorkerGlobalScope { @@ -96484,13 +96552,17 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope { attribute EventHandler onconnect; };
A SharedWorkerGlobalScope object has an associated constructor origin, and constructor url. They are initialized when the SharedWorkerGlobalScope object is created, in the run a - worker algorithm. + worker algorithm.
Shared workers receive message ports through connect events on their SharedWorkerGlobalScope object for each @@ -96499,7 +96571,10 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope {
connect
SharedWorker
close
The following are the event handlers (and their corresponding event handler event types) that must be supported, as event handler IDL attributes, by objects implementing the SharedWorkerGlobalScope @@ -96541,13 +96616,15 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope { from those used by units of related similar-origin browsing contexts. This event loop has no associated browsing context, and its task queues only have - events, callbacks, and networking activity as tasks. These event loops are created by the run a worker algorithm.
Each WorkerGlobalScope object also has a closing flag, which must initially be false, but which can - get set to true by the algorithms in the processing model section below.
Once the WorkerGlobalScope's closing flag is set to true, the event @@ -96559,6 +96636,8 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope { + + The worker's lifetime Workers communicate with other workers and with browsing @@ -96895,6 +96974,7 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope { The task source for the tasks mentioned above is the DOM manipulation task source. + Runtime script errors @@ -96909,7 +96989,11 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope { afterwards, the error may be reported to a developer console.
Workers communicate with other workers and with browsing @@ -96895,6 +96974,7 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope { The task source for the tasks mentioned above is the DOM manipulation task source. +
The task source for the tasks mentioned above is the DOM manipulation task source.
For dedicated workers, if the error is still not - handled afterwards, the user agent must queue a task to run these steps:
error
Let notHandled be the result of firing an @@ -96940,10 +97024,13 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope { The task source for the task mentioned above is the DOM manipulation task source. +
The task source for the task mentioned above is the DOM manipulation task source.
AbstractWorker
[NoInterfaceObject, Exposed=(Window,Worker)] interface AbstractWorker { @@ -96953,7 +97040,8 @@ interface AbstractWorker { The following are the event handlers (and their corresponding event handler event types) that must be supported, as event handler IDL attributes, by - objects implementing the AbstractWorker interface: + objects implementing the AbstractWorker interfaceWorker and SharedWorker objects:
The following are the event handlers (and their corresponding event handler event types) that must be supported, as event handler IDL attributes, by - objects implementing the AbstractWorker interface:
When the user agent is required to set up a worker environment settings object, @@ -97089,9 +97178,10 @@ interface AbstractWorker {
Return settings object.
[Constructor(USVString scriptURL, optional WorkerOptions options), Exposed=(Window,Worker)] interface Worker : EventTarget { @@ -97222,7 +97312,7 @@ enum WorkerType { "classic", "module" }; - Shared workers and the SharedWorker interface + Shared workers and the SharedWorker interface [Constructor(USVString scriptURL, optional (DOMString or WorkerOptions) options), Exposed=(Window,Worker)] @@ -97493,7 +97583,7 @@ interface NavigatorConcurrentHardware { - The WorkerNavigator object + The WorkerNavigator interface @@ -97511,10 +97601,21 @@ interface WorkerNavigator {}; WorkerNavigator implements NavigatorOnLine; WorkerNavigator implements NavigatorConcurrentHardware; + + + The WorkerNavigator interface implements a subset of the Navigator + interface, consisting of the following APIs: + + Client identification + Language preferences + Browser state + Concurrent hardware capabilities + + - Worker locations + The WorkerLocation interface [Exposed=Worker] interface WorkerLocation { @@ -97529,6 +97630,13 @@ interface WorkerLocation { readonly attribute USVString hash; }; + The WorkerLocation interface is like the Location interface, + but lacks the assign(), replace(), reload(), + and ancestorOrigins members. + + + A WorkerLocation object has an associated WorkerGlobalScope object (a WorkerGlobalScope object). @@ -97644,6 +97752,8 @@ interface WorkerLocation { Return "#", followed by fragment. + +
[Constructor(USVString scriptURL, optional (DOMString or WorkerOptions) options), Exposed=(Window,Worker)] @@ -97493,7 +97583,7 @@ interface NavigatorConcurrentHardware { - The WorkerNavigator object + The WorkerNavigator interface @@ -97511,10 +97601,21 @@ interface WorkerNavigator {}; WorkerNavigator implements NavigatorOnLine; WorkerNavigator implements NavigatorConcurrentHardware; + + + The WorkerNavigator interface implements a subset of the Navigator + interface, consisting of the following APIs: + + Client identification + Language preferences + Browser state + Concurrent hardware capabilities + + - Worker locations + The WorkerLocation interface [Exposed=Worker] interface WorkerLocation { @@ -97529,6 +97630,13 @@ interface WorkerLocation { readonly attribute USVString hash; }; + The WorkerLocation interface is like the Location interface, + but lacks the assign(), replace(), reload(), + and ancestorOrigins members. + + + A WorkerLocation object has an associated WorkerGlobalScope object (a WorkerGlobalScope object). @@ -97644,6 +97752,8 @@ interface WorkerLocation { Return "#", followed by fragment. + +
WorkerNavigator
The WorkerNavigator interface implements a subset of the Navigator + interface, consisting of the following APIs:
Navigator
WorkerLocation
[Exposed=Worker] interface WorkerLocation { @@ -97529,6 +97630,13 @@ interface WorkerLocation { readonly attribute USVString hash; };
The WorkerLocation interface is like the Location interface, + but lacks the assign(), replace(), reload(), + and ancestorOrigins members.
assign()
replace()
reload()
ancestorOrigins
A WorkerLocation object has an associated WorkerGlobalScope object (a WorkerGlobalScope object). @@ -97644,6 +97752,8 @@ interface WorkerLocation {
Return "#", followed by fragment.
#