From 8b4963d89dd6e5d9f5c8f0d02b914a3def011256 Mon Sep 17 00:00:00 2001 From: Will Bamberg Date: Thu, 2 Sep 2021 22:06:56 -0700 Subject: [PATCH 1/3] Fix tables to be Markdownable --- .../web/api/audioprocessingevent/index.html | 3 +- .../backgroundfetchmanager/fetch/index.html | 8 +-- files/en-us/web/api/cache/add/index.html | 21 ++------ files/en-us/web/api/cache/addall/index.html | 28 +++-------- .../drawwindow/index.html | 34 ++++++++----- .../en-us/web/api/closeevent/code/index.html | 14 +++--- files/en-us/web/api/cssomstring/index.html | 9 ++-- .../getfloatvalue/index.html | 8 +-- .../web/api/cssprimitivevalue/index.html | 10 ++-- .../primitivetype/index.html | 8 +-- .../setfloatvalue/index.html | 8 +-- .../setstringvalue/index.html | 8 +-- .../web/api/cssvalue/cssvaluetype/index.html | 8 +-- files/en-us/web/api/cssvalue/index.html | 10 ++-- .../document/createnodeiterator/index.html | 13 ++--- .../api/document/createtreewalker/index.html | 14 +++--- .../web/api/document/evaluate/index.html | 12 +++-- .../api/element/setpointercapture/index.html | 5 +- .../web/api/encoding_api/encodings/index.html | 9 +--- files/en-us/web/api/filereader/index.html | 7 +++ .../html_dom_api/microtask_guide/index.html | 30 ++++-------- .../web/api/htmloptionscollection/index.html | 20 ++------ .../en-us/web/api/htmltrackelement/index.html | 12 +++-- .../web/api/keyboardevent/location/index.html | 10 ++-- .../api/mouseevent/relatedtarget/index.html | 10 ++-- .../en-us/web/api/mousescrollevent/index.html | 49 ++++++++++++------- .../en-us/web/api/mousewheelevent/index.html | 12 +++-- .../web/api/mscandidatewindowhide/index.html | 15 +----- .../web/api/mscandidatewindowshow/index.html | 14 +----- .../api/mscandidatewindowupdate/index.html | 14 +----- .../mssitemodejumplistitemremoved/index.html | 15 +----- .../en-us/web/api/msthumbnailclick/index.html | 14 +----- files/en-us/web/api/mutationrecord/index.html | 12 +++-- .../web/api/nodefilter/acceptnode/index.html | 8 +-- files/en-us/web/api/nodefilter/index.html | 4 +- .../api/nodeiterator/whattoshow/index.html | 12 +++-- .../api/performanceentry/entrytype/index.html | 4 +- .../api/svgrect/the__x__property/index.html | 10 ++-- .../web/api/treewalker/whattoshow/index.html | 10 ++-- .../index.html | 6 +++ .../en-us/web/api/webgl_api/types/index.html | 12 +++-- .../webgl_compressed_texture_astc/index.html | 16 +++--- .../blendfunc/index.html | 5 +- .../blendfuncseparate/index.html | 5 +- files/en-us/web/api/websocket/index.html | 10 ++-- .../web/api/websocket/readystate/index.html | 10 ++-- .../web/api/wheelevent/deltamode/index.html | 10 ++-- files/en-us/web/api/wheelevent/index.html | 10 ++-- .../web/api/wheelevent/wheelevent/index.html | 10 ++-- .../onhashchange/index.html | 10 ++-- files/en-us/web/api/worklet/index.html | 3 +- .../api/xmlhttprequest/readystate/index.html | 12 +++-- .../web/api/xmlhttprequest/upload/index.html | 12 +++-- files/en-us/web/api/xpathresult/index.html | 10 ++-- .../web/api/xpathresult/resulttype/index.html | 6 +-- 55 files changed, 308 insertions(+), 351 deletions(-) diff --git a/files/en-us/web/api/audioprocessingevent/index.html b/files/en-us/web/api/audioprocessingevent/index.html index be3e76429825b44..33e0ac4b7ef217f 100644 --- a/files/en-us/web/api/audioprocessingevent/index.html +++ b/files/en-us/web/api/audioprocessingevent/index.html @@ -64,8 +64,7 @@

Properties

outputBuffer {{ReadOnlyInline}} {{domxref("AudioBuffer")}} - -

The buffer where the output audio data should be written. The number of channels is defined as a parameter, numberOfOutputChannels, of the factory method {{domxref("BaseAudioContext/createScriptProcessor", "AudioContext.createScriptProcessor()")}}. Note the returned AudioBuffer is only valid in the scope of the onaudioprocess function.

+ The buffer where the output audio data should be written. The number of channels is defined as a parameter, numberOfOutputChannels, of the factory method {{domxref("BaseAudioContext/createScriptProcessor", "AudioContext.createScriptProcessor()")}}. Note the returned AudioBuffer is only valid in the scope of the onaudioprocess function. diff --git a/files/en-us/web/api/backgroundfetchmanager/fetch/index.html b/files/en-us/web/api/backgroundfetchmanager/fetch/index.html index c96f04b6af036f5..ee2b9b4ebd14018 100644 --- a/files/en-us/web/api/backgroundfetchmanager/fetch/index.html +++ b/files/en-us/web/api/backgroundfetchmanager/fetch/index.html @@ -53,15 +53,11 @@

Exceptions

AbortError - -

Indicates the fetch was aborted.

- + Indicates the fetch was aborted. NotAllowedError - -

Indicates that user permission has not been granted to make background fetches.

- + Indicates that user permission has not been granted to make background fetches. diff --git a/files/en-us/web/api/cache/add/index.html b/files/en-us/web/api/cache/add/index.html index 17f4c9900a559d5..b050e1e56ee5308 100644 --- a/files/en-us/web/api/cache/add/index.html +++ b/files/en-us/web/api/cache/add/index.html @@ -51,24 +51,13 @@

Return value

Exceptions

- - - - - - - - - - - - - -
ExceptionHappens when
TypeError +
+
TypeError
+

The URL scheme is not http or https.

-

The Response status is not in the 200 range (i.e., not a successful response.) This occurs if the request does not return successfully, but also if the request is a cross-origin no-cors request (in which case the reported status is always 0.)

-
+ +

Examples

diff --git a/files/en-us/web/api/cache/addall/index.html b/files/en-us/web/api/cache/addall/index.html index 0c257ec9186ebe6..4717caf8bbb4f62 100644 --- a/files/en-us/web/api/cache/addall/index.html +++ b/files/en-us/web/api/cache/addall/index.html @@ -49,27 +49,13 @@

Return value

Exceptions

- - - - - - - - - - - - - -
ExceptionHappens when
TypeError -

The URL scheme is not http or https.

- -

The Response status is not in the 200 range (i.e., not a successful response.) - This occurs if the request does not return successfully, but also if the request - is a cross-origin no-cors request (in which case the reported status is - always 0.)

-
+
+
TypeError
+
+

The URL scheme is not http or https.

+

The Response status is not in the 200 range (i.e., not a successful response.) This occurs if the request does not return successfully, but also if the request is a cross-origin no-cors request (in which case the reported status is always 0.)

+
+

Examples

diff --git a/files/en-us/web/api/canvasrenderingcontext2d/drawwindow/index.html b/files/en-us/web/api/canvasrenderingcontext2d/drawwindow/index.html index 9d59ff2d81f8881..89e9f55c9d44301 100644 --- a/files/en-us/web/api/canvasrenderingcontext2d/drawwindow/index.html +++ b/files/en-us/web/api/canvasrenderingcontext2d/drawwindow/index.html @@ -21,10 +21,10 @@

This API cannot be used by Web content. It is synchronous, and as such can't capture cross-origin (out of process) iframes with Fission.  If you're using it from an - extension, you should switch to {{WebExtAPIRef('tabs.captureTab')}} to capture the - tab's image as a data: url and then render the captured image onto canvas using - {{domxref("CanvasRenderingContext2D.drawImage")}}. If you're writing chrome code, + extension, you should switch to {{WebExtAPIRef('tabs.captureTab')}} to capture the + tab's image as a data: url and then render the captured image onto canvas using + {{domxref("CanvasRenderingContext2D.drawImage")}}. If you're writing chrome code, you probably want WindowGlobalParent.drawSnapshot from the parent process.

@@ -64,13 +64,16 @@

Parameters

flags {{optional_inline}}
Used to better control the drawWindow call. Flags can be ORed together. + - + - - - + + + + + @@ -79,8 +82,10 @@

Parameters

- + @@ -90,9 +95,12 @@

Parameters

- + diff --git a/files/en-us/web/api/closeevent/code/index.html b/files/en-us/web/api/closeevent/code/index.html index 3d9a90f7639475b..3d94e879ddedc3e 100644 --- a/files/en-us/web/api/closeevent/code/index.html +++ b/files/en-us/web/api/closeevent/code/index.html @@ -16,12 +16,14 @@

Value

A status code. As detailed in the following table, sourced from the IANA website:

ConstantValueDescriptionConstantValueDescription
DRAWWINDOW_DRAW_CARET 0x01
DRAWWINDOW_DO_NOT_FLUSH 0x02Do not flush pending layout notifications that could otherwise be batched - up. + Do not flush pending layout notifications that could otherwise be + batched up. +
DRAWWINDOW_DRAW_VIEW
DRAWWINDOW_USE_WIDGET_LAYERS 0x08Use the widget layer manager if available. This means hardware acceleration - may be used, but it might actually be slower or lower quality than normal. It - will, however, more accurately reflect the pixels rendered to the screen. + Use the widget layer manager if available. This means hardware + acceleration may be used, but it might actually be slower or lower + quality than normal. It will, however, more accurately reflect the + pixels rendered to the screen. +
DRAWWINDOW_ASYNC_DECODE_IMAGES
+ + + + + + + - - - - - @@ -149,5 +151,3 @@

Specifications

Browser compatibility

{{Compat}}

- - diff --git a/files/en-us/web/api/cssomstring/index.html b/files/en-us/web/api/cssomstring/index.html index f2b7b46843a163f..f497230f4e69aa6 100644 --- a/files/en-us/web/api/cssomstring/index.html +++ b/files/en-us/web/api/cssomstring/index.html @@ -13,11 +13,12 @@

Implementation differences

Status codeNameDescription
Status codeNameDescription
0999
+ + + + + - - - - diff --git a/files/en-us/web/api/cssprimitivevalue/getfloatvalue/index.html b/files/en-us/web/api/cssprimitivevalue/getfloatvalue/index.html index aeaca6aa8886544..ecdc22ed54b3366 100644 --- a/files/en-us/web/api/cssprimitivevalue/getfloatvalue/index.html +++ b/files/en-us/web/api/cssprimitivevalue/getfloatvalue/index.html @@ -38,11 +38,13 @@

Parameters

An unsigned short representing the code for the unit type, in which the value should be returned. Valid values are:
BrowserDOMString or USVString for CSSOMString
BrowserDOMString or USVString for CSSOMString
Firefox (Gecko) USVString
- + - - + + + + diff --git a/files/en-us/web/api/cssprimitivevalue/index.html b/files/en-us/web/api/cssprimitivevalue/index.html index e2bd1554a6cce1b..d9e519f89d7c541 100644 --- a/files/en-us/web/api/cssprimitivevalue/index.html +++ b/files/en-us/web/api/cssprimitivevalue/index.html @@ -38,11 +38,13 @@

Properties

{{DOMxRef("CSSPrimitiveValue.primitiveType")}} {{readonlyInline}}
An unsigned short representing the type of the value. Possible values are:
ConstantDescriptionConstantDescription
CSS_CM The value is a {{cssxref("<length>")}} in centimeters.
+ + + + + + - - - - diff --git a/files/en-us/web/api/cssprimitivevalue/primitivetype/index.html b/files/en-us/web/api/cssprimitivevalue/primitivetype/index.html index bd8fe33ca20548f..ff7e5040ef0910d 100644 --- a/files/en-us/web/api/cssprimitivevalue/primitivetype/index.html +++ b/files/en-us/web/api/cssprimitivevalue/primitivetype/index.html @@ -36,11 +36,13 @@

Value

ConstantDescription
ConstantDescription
CSS_ATTR The value is an {{CSSxRef("attr()")}} function. The value can be obtained by using the getStringValue() method.
- + - - + + + +
ConstantDescriptionConstantDescription
CSS_ATTR The value is an {{cssxref("attr()")}} function. The value can be obtained by diff --git a/files/en-us/web/api/cssprimitivevalue/setfloatvalue/index.html b/files/en-us/web/api/cssprimitivevalue/setfloatvalue/index.html index e7ef65b8f88f670..67d289178b94e8c 100644 --- a/files/en-us/web/api/cssprimitivevalue/setfloatvalue/index.html +++ b/files/en-us/web/api/cssprimitivevalue/setfloatvalue/index.html @@ -39,11 +39,13 @@

Parameters

An unsigned short representing the code for the unit type, in which the value should be returned. Valid values are: - + - - + + + + diff --git a/files/en-us/web/api/cssprimitivevalue/setstringvalue/index.html b/files/en-us/web/api/cssprimitivevalue/setstringvalue/index.html index 20aab3204f991e5..30792fd401e04bd 100644 --- a/files/en-us/web/api/cssprimitivevalue/setstringvalue/index.html +++ b/files/en-us/web/api/cssprimitivevalue/setstringvalue/index.html @@ -39,11 +39,13 @@

Parameters

An unsigned short representing the type of the value. Possible values are:
ConstantDescriptionConstantDescription
CSS_CM The value is a {{cssxref("<length>")}} in centimeters.
- + - - + + + + diff --git a/files/en-us/web/api/cssvalue/cssvaluetype/index.html b/files/en-us/web/api/cssvalue/cssvaluetype/index.html index 867424df0d0f017..f26a40227796f05 100644 --- a/files/en-us/web/api/cssvalue/cssvaluetype/index.html +++ b/files/en-us/web/api/cssvalue/cssvaluetype/index.html @@ -38,11 +38,13 @@

Value

Possible values are:

ConstantDescriptionConstantDescription
CSS_ATTR The value is an {{cssxref("attr()")}} function.
- + - - + + + + diff --git a/files/en-us/web/api/cssvalue/index.html b/files/en-us/web/api/cssvalue/index.html index aac7d20593d7b38..c5519b00ea706dd 100644 --- a/files/en-us/web/api/cssvalue/index.html +++ b/files/en-us/web/api/cssvalue/index.html @@ -33,11 +33,13 @@

Properties

{{DOMxRef("CSSValue.cssValueType")}}{{ReadOnlyInline}}
An unsigned short representing a code defining the type of the value. Possible values are:
ConstantDescriptionConstantDescription
CSS_CUSTOM The value is a custom value.
+ + + + + + - - - - diff --git a/files/en-us/web/api/document/createnodeiterator/index.html b/files/en-us/web/api/document/createnodeiterator/index.html index 45efec42c1820e8..be63aec31de5102 100644 --- a/files/en-us/web/api/document/createnodeiterator/index.html +++ b/files/en-us/web/api/document/createnodeiterator/index.html @@ -33,9 +33,9 @@

Values

ConstantDescription
ConstantDescription
CSS_CUSTOM The value is a custom value.
- - - + + + @@ -47,14 +47,11 @@

Values

- diff --git a/files/en-us/web/api/document/createtreewalker/index.html b/files/en-us/web/api/document/createtreewalker/index.html index a30f46b46770b7d..7df3931e34c463c 100644 --- a/files/en-us/web/api/document/createtreewalker/index.html +++ b/files/en-us/web/api/document/createtreewalker/index.html @@ -32,12 +32,14 @@

Parameters

It is a convenient way of filtering for certain types of node. It defaults to 0xFFFFFFFF representing the SHOW_ALL constant.
ConstantNumerical valueDescriptionConstantNumerical valueDescription
NodeFilter.SHOW_ATTRIBUTE {{deprecated_inline}} 2 -

Shows attribute {{ domxref("Attr") }} nodes.

- -

This is meaningful only when creating a {{ domxref("TreeWalker") }} with an +

Shows attribute {{ domxref("Attr") }} nodes. This is meaningful only when creating a {{ domxref("TreeWalker") }} with an {{ domxref("Attr") }} node as its root. In this case, it means that the attribute node will appear in the first position of the iteration or traversal. Since attributes are never children of other nodes, they do not - appear when traversing over the document tree.

+ appear when traversing over the document tree.
- + - - - + + + + + @@ -127,8 +129,8 @@

Return value

Example

-

The following example goes through all nodes in the body, - filters out any non nodes that aren't elements (with the `NodeFilter.SHOW_ELEMENT` value), +

The following example goes through all nodes in the body, + filters out any non nodes that aren't elements (with the `NodeFilter.SHOW_ELEMENT` value), marks each remaining node as acceptable (The acceptNode() method could make a different decision.), and then makes use of tree walker iterator that is created to advance through the nodes (now all elements) and push them into an diff --git a/files/en-us/web/api/document/evaluate/index.html b/files/en-us/web/api/document/evaluate/index.html index b721f4222ce1389..d7ba8f0ac23745c 100644 --- a/files/en-us/web/api/document/evaluate/index.html +++ b/files/en-us/web/api/document/evaluate/index.html @@ -99,12 +99,14 @@

Result types

evaluate method:

ConstantNumerical valueDescriptionConstantNumerical valueDescription
NodeFilter.SHOW_ALL -1 (that is the max value of unsigned long)
+ + + + + + + - - - - - diff --git a/files/en-us/web/api/element/setpointercapture/index.html b/files/en-us/web/api/element/setpointercapture/index.html index 5097c5ea336f0fc..09d45d9e204c2eb 100644 --- a/files/en-us/web/api/element/setpointercapture/index.html +++ b/files/en-us/web/api/element/setpointercapture/index.html @@ -64,10 +64,7 @@

Exceptions

- +
Result TypeValueDescription
Result TypeValueDescription
ANY_TYPE 0
NotFoundErrorpointerId does not match any of the active pointers. -

Note: Firefox versions before Firefox - 82 incorrectly throw InvalidPointerId.

-
pointerId does not match any of the active pointers.
diff --git a/files/en-us/web/api/encoding_api/encodings/index.html b/files/en-us/web/api/encoding_api/encodings/index.html index 23676b96a841229..c05b52592e5639f 100644 --- a/files/en-us/web/api/encoding_api/encodings/index.html +++ b/files/en-us/web/api/encoding_api/encodings/index.html @@ -246,14 +246,7 @@
-

"csiso2022jp", "iso-2022-jp"

- -
-

Note: Firefox used to accept iso-2022-jp-2 - sequences silently when an iso-2022-jp decoder was - instantiated; however this was removed in version 56 to simplify the API, - as no other browsers support it and no pages seem to use it.

-
+ "csiso2022jp", "iso-2022-jp"
{{interwiki('wikipedia', 'ISO/IEC_2022#ISO-2022-JP', "'iso-2022-jp'")}} diff --git a/files/en-us/web/api/filereader/index.html b/files/en-us/web/api/filereader/index.html index 3647b75dbdba295..3c16c1b248c004d 100644 --- a/files/en-us/web/api/filereader/index.html +++ b/files/en-us/web/api/filereader/index.html @@ -36,6 +36,13 @@

Properties

{{domxref("FileReader.readyState")}} {{readonlyinline}}
A number indicating the state of the FileReader. This is one of the following: + + + + + + + diff --git a/files/en-us/web/api/html_dom_api/microtask_guide/index.html b/files/en-us/web/api/html_dom_api/microtask_guide/index.html index 513d1817fed85db..7c5355cb299a1da 100644 --- a/files/en-us/web/api/html_dom_api/microtask_guide/index.html +++ b/files/en-us/web/api/html_dom_api/microtask_guide/index.html @@ -109,35 +109,23 @@

Ensuring ordering on c console.log("Data fetched"); -

Executing this code twice in a row gives the results shown in the table below:

- -

NameValueDescription
EMPTY
- - - - - - - - - - - - - -
Results when data isn't cached (left) vs. when it is found in the cache
Data isn't cachedData is cached
-
+

Executing this code twice in a row gives the following results.

+ +

When the data is not cached:

+ +
 Fetching data
 Data fetched
 Loaded data
 
-
-
+
+

When the data is cached:

+ +
 Fetching data
 Loaded data
 Data fetched
 
-

Even worse, sometimes the element's data property will be set and other times it won't be by the time this code finishes running.

diff --git a/files/en-us/web/api/htmloptionscollection/index.html b/files/en-us/web/api/htmloptionscollection/index.html index 1650aa93a495d5d..9c067bf6d09ab7f 100644 --- a/files/en-us/web/api/htmloptionscollection/index.html +++ b/files/en-us/web/api/htmloptionscollection/index.html @@ -21,22 +21,10 @@

Properties

- - - - - - - - - - - - - - - -
NameTypeDescription
lengthunsigned longAs optionally allowed by the spec, this property isn't read-only. You can either remove options from the end by lowering the value, or add blank options at the end by raising the value. Mozilla allows this, while other implementations could potentially throw a DOMException.
+
+
length
+
unsigned long. As optionally allowed by the spec, this property isn't read-only. You can either remove options from the end by lowering the value, or add blank options at the end by raising the value. Mozilla allows this, while other implementations could potentially throw a DOMException.
+

Methods

diff --git a/files/en-us/web/api/htmltrackelement/index.html b/files/en-us/web/api/htmltrackelement/index.html index 19f8698815acffd..32d456f9156b175 100644 --- a/files/en-us/web/api/htmltrackelement/index.html +++ b/files/en-us/web/api/htmltrackelement/index.html @@ -34,12 +34,14 @@

Properties

{{domxref("HTMLTrackElement.readyState")}} {{ReadOnlyInline}}
Returns  an unsigned short that show the readiness state of the track: + + + + + + + - - - - - diff --git a/files/en-us/web/api/keyboardevent/location/index.html b/files/en-us/web/api/keyboardevent/location/index.html index 0a2f99e65084a0a..0ea0c85890c2fd5 100644 --- a/files/en-us/web/api/keyboardevent/location/index.html +++ b/files/en-us/web/api/keyboardevent/location/index.html @@ -19,12 +19,14 @@

Possible values are:

ConstantValueDescription
ConstantValueDescription
NONE 0
- + - - - + + + + + diff --git a/files/en-us/web/api/mouseevent/relatedtarget/index.html b/files/en-us/web/api/mouseevent/relatedtarget/index.html index 5b00db459baf48b..486f7f5a539892a 100644 --- a/files/en-us/web/api/mouseevent/relatedtarget/index.html +++ b/files/en-us/web/api/mouseevent/relatedtarget/index.html @@ -17,12 +17,14 @@ secondary target for the mouse event, if there is one. That is:

ConstantValueDescriptionConstantValueDescription
DOM_KEY_LOCATION_STANDARD 0
- + - - - + + + + + diff --git a/files/en-us/web/api/mousescrollevent/index.html b/files/en-us/web/api/mousescrollevent/index.html index 0e197ab86f7d741..1426808465c35ba 100644 --- a/files/en-us/web/api/mousescrollevent/index.html +++ b/files/en-us/web/api/mousescrollevent/index.html @@ -23,23 +23,36 @@

Method overview

-
Event nametargetrelatedTargetEvent nametargetrelatedTarget
{{Event("mouseenter")}} The {{domxref("EventTarget")}} the pointing device entered to
- - - - - -
void initMouseScrollEvent(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMAbstractView viewArg, in long detailArg, in long screenXArg, in long screenYArg, in long clientXArg, in long clientYArg, in boolean ctrlKeyArg, in boolean altKeyArg, in boolean shiftKeyArg, in boolean metaKeyArg, in unsigned short buttonArg, in nsIDOMEventTarget relatedTargetArg, in long axis);
+
void initMouseScrollEvent(
+  in DOMString typeArg,
+  in boolean canBubbleArg,
+  in boolean cancelableArg,
+  in nsIDOMAbstractView viewArg,
+  in long detailArg,
+  in long screenXArg,
+  in long screenYArg,
+  in long clientXArg,
+  in long clientYArg,
+  in boolean ctrlKeyArg,
+  in boolean altKeyArg,
+  in boolean shiftKeyArg,
+  in boolean metaKeyArg,
+  in unsigned short buttonArg,
+  in nsIDOMEventTarget relatedTargetArg,
+  in long axis);
+

Attributes

+ + + + + + + - - - - - @@ -53,12 +66,14 @@

Constants

Delta modes

AttributeTypeDescription
AttributeTypeDescription
axis {{ReadOnlyInline}} long
+ + + + + + + - - - - - diff --git a/files/en-us/web/api/mousewheelevent/index.html b/files/en-us/web/api/mousewheelevent/index.html index a0460a13d213287..e59ebe7caffaaec 100644 --- a/files/en-us/web/api/mousewheelevent/index.html +++ b/files/en-us/web/api/mousewheelevent/index.html @@ -22,12 +22,14 @@

Properties

ConstantValueDescription
ConstantValueDescription
HORIZONTAL_AXIS 0x01
+ + + + + + + - - - - - diff --git a/files/en-us/web/api/mscandidatewindowhide/index.html b/files/en-us/web/api/mscandidatewindowhide/index.html index 50315e783c6e4a6..c491fef116f64fc 100644 --- a/files/en-us/web/api/mscandidatewindowhide/index.html +++ b/files/en-us/web/api/mscandidatewindowhide/index.html @@ -27,20 +27,7 @@

Note

Syntax

-
AttributeTypeDescription
AttributeTypeDescription
wheelDelta {{ReadOnlyInline}} long
- - - - - - - - - - -
Event Propertyobject.oncandidatewindowhide = handler;
addEventListener Methodobject.addEventListener("MSCandidateWindowHide", handler, useCapture)
- -

nbsp;

+
object.addEventListener("MSCandidateWindowHide", handler, useCapture)

Parameters

diff --git a/files/en-us/web/api/mscandidatewindowshow/index.html b/files/en-us/web/api/mscandidatewindowshow/index.html index 1d3d5f406ab81c2..4a64c447e26db12 100644 --- a/files/en-us/web/api/mscandidatewindowshow/index.html +++ b/files/en-us/web/api/mscandidatewindowshow/index.html @@ -29,19 +29,7 @@

Note

Syntax

- - - - - - - - - - - -
Event Propertyobject.oncandidatewindowshow = handler;
addEventListener Methodobject.addEventListener("MSCandidateWindowShow", handler, useCapture)
- +
object.addEventListener("MSCandidateWindowShow", handler, useCapture)

Parameters

diff --git a/files/en-us/web/api/mscandidatewindowupdate/index.html b/files/en-us/web/api/mscandidatewindowupdate/index.html index 6e997f4c701ea0f..25987a80dd40e01 100644 --- a/files/en-us/web/api/mscandidatewindowupdate/index.html +++ b/files/en-us/web/api/mscandidatewindowupdate/index.html @@ -29,19 +29,7 @@

Note

Syntax

- - - - - - - - - - - -
Event Propertyobject.oncandidatewindowupdate = handler;
addEventListener Methodobject.addEventListener("MSCandidateWindowUpdate", handler, useCapture)
- +
object.addEventListener("MSCandidateWindowUpdate", handler, useCapture)

Parameters

diff --git a/files/en-us/web/api/mssitemodejumplistitemremoved/index.html b/files/en-us/web/api/mssitemodejumplistitemremoved/index.html index 724b815bebc6f3a..f2c6517c7e07e35 100644 --- a/files/en-us/web/api/mssitemodejumplistitemremoved/index.html +++ b/files/en-us/web/api/mssitemodejumplistitemremoved/index.html @@ -12,20 +12,7 @@

Syntax

- - - - - - - - - - - -
Event Propertyobject.oncandidatewindowhide = handler;
addEventListener Methodobject.addEventListener("mssitemodejumplistitemremoved", handler, useCapture)
- - +
object.addEventListener("mssitemodejumplistitemremoved", handler, useCapture)

General info

diff --git a/files/en-us/web/api/msthumbnailclick/index.html b/files/en-us/web/api/msthumbnailclick/index.html index 132c5bd36a013e2..e16ab7f7db6d78e 100644 --- a/files/en-us/web/api/msthumbnailclick/index.html +++ b/files/en-us/web/api/msthumbnailclick/index.html @@ -14,19 +14,7 @@

Syntax

- - - - - - - - - - - -
Event Propertyobject.onmsthumbnailclick = handler;
addEventListener Methodobject.addEventListener("msthumbnailclick", handler, useCapture)
- +
object.addEventListener("msthumbnailclick", handler, useCapture)

General info

diff --git a/files/en-us/web/api/mutationrecord/index.html b/files/en-us/web/api/mutationrecord/index.html index 08718afc1a3f69d..a21aa976af15ebe 100644 --- a/files/en-us/web/api/mutationrecord/index.html +++ b/files/en-us/web/api/mutationrecord/index.html @@ -17,12 +17,14 @@

Properties

+ + + + + + + - - - - - diff --git a/files/en-us/web/api/nodefilter/acceptnode/index.html b/files/en-us/web/api/nodefilter/acceptnode/index.html index c497d7cb788d340..71f0bf9fa67e393 100644 --- a/files/en-us/web/api/nodefilter/acceptnode/index.html +++ b/files/en-us/web/api/nodefilter/acceptnode/index.html @@ -18,11 +18,13 @@ NodeFilter. Possible return values are:

PropertyTypeDescription
PropertyTypeDescription
{{domxref("MutationRecord.type")}} String
- + - - + + + +
ConstantDescriptionConstantDescription
NodeFilter.FILTER_ACCEPT Value returned by the {{ domxref("NodeFilter.acceptNode()") }} method when a diff --git a/files/en-us/web/api/nodefilter/index.html b/files/en-us/web/api/nodefilter/index.html index ed462a9e2cb1f78..400c0ed2130ebfe 100644 --- a/files/en-us/web/api/nodefilter/index.html +++ b/files/en-us/web/api/nodefilter/index.html @@ -33,8 +33,8 @@

Methods

- - + + diff --git a/files/en-us/web/api/nodeiterator/whattoshow/index.html b/files/en-us/web/api/nodeiterator/whattoshow/index.html index e962d306ddfd400..2e2ff4dd471c1e4 100644 --- a/files/en-us/web/api/nodeiterator/whattoshow/index.html +++ b/files/en-us/web/api/nodeiterator/whattoshow/index.html @@ -22,12 +22,14 @@

Syntax

The values that can be combined to form the bitmask are:

ConstantDescriptionConstantDescription
+ + + + + + + - - - - - diff --git a/files/en-us/web/api/performanceentry/entrytype/index.html b/files/en-us/web/api/performanceentry/entrytype/index.html index 300229f944eabdd..67bfb4acc5596b5 100644 --- a/files/en-us/web/api/performanceentry/entrytype/index.html +++ b/files/en-us/web/api/performanceentry/entrytype/index.html @@ -79,9 +79,7 @@

Performance entry type names

- + diff --git a/files/en-us/web/api/svgrect/the__x__property/index.html b/files/en-us/web/api/svgrect/the__x__property/index.html index 8dcf9e335fae648..f7bd961c670bf93 100644 --- a/files/en-us/web/api/svgrect/the__x__property/index.html +++ b/files/en-us/web/api/svgrect/the__x__property/index.html @@ -7,11 +7,13 @@

Usage context

ConstantNumerical valueDescription
ConstantNumerical valueDescription
NodeFilter.SHOW_ALL -1 (that is the max value of unsigned long) paint {{domxref('PerformancePaintTiming')}} {{domxref("DOMString")}} -

Either 'first-paint' or 'first-contentful-paint'.

-
Either 'first-paint' or 'first-contentful-paint'.
longtask
+ + + + + + - - - - diff --git a/files/en-us/web/api/treewalker/whattoshow/index.html b/files/en-us/web/api/treewalker/whattoshow/index.html index f32126566768de5..01fdec580a8384f 100644 --- a/files/en-us/web/api/treewalker/whattoshow/index.html +++ b/files/en-us/web/api/treewalker/whattoshow/index.html @@ -16,12 +16,14 @@ children may be included, if relevant. The possible values are:

Namex
Namex
Value <length> | <percentage>
- + - - - + + + + + diff --git a/files/en-us/web/api/web_audio_api/basic_concepts_behind_web_audio_api/index.html b/files/en-us/web/api/web_audio_api/basic_concepts_behind_web_audio_api/index.html index 26ea0564748cf5b..3490795bf35a672 100644 --- a/files/en-us/web/api/web_audio_api/basic_concepts_behind_web_audio_api/index.html +++ b/files/en-us/web/api/web_audio_api/basic_concepts_behind_web_audio_api/index.html @@ -123,6 +123,12 @@

Audio channels

Different audio buffers contain different numbers of channels: from the more basic mono (only one channel) and stereo (left and right channels), to more complex sets like quad and 5.1, which have different sound samples contained in each channel, leading to a richer sound experience. The channels are usually represented by standard abbreviations detailed in the table below:

ConstantNumerical valueDescriptionConstantNumerical valueDescription
NodeFilter.SHOW_ALL -1 (that is the max value of unsigned long)
+ + + + + + diff --git a/files/en-us/web/api/webgl_api/types/index.html b/files/en-us/web/api/webgl_api/types/index.html index 89052262e0f304e..0bc7d338ad83370 100644 --- a/files/en-us/web/api/webgl_api/types/index.html +++ b/files/en-us/web/api/webgl_api/types/index.html @@ -15,12 +15,14 @@

WebGL 1

These types are used within a {{domxref("WebGLRenderingContext")}}.

NameChannels
Mono
+ + + + + + + - - - - - diff --git a/files/en-us/web/api/webgl_compressed_texture_astc/index.html b/files/en-us/web/api/webgl_compressed_texture_astc/index.html index a0abb5282b3e0d8..25317384edaca24 100644 --- a/files/en-us/web/api/webgl_compressed_texture_astc/index.html +++ b/files/en-us/web/api/webgl_compressed_texture_astc/index.html @@ -39,14 +39,16 @@

Constants

The compressed texture formats are exposed by 28 constants and can be used in two functions: {{domxref("WebGLRenderingContext.compressedTexImage2D", "compressedTexImage2D()")}} and {{domxref("WebGLRenderingContext.compressedTexSubImage2D", "compressedTexSubImage2D()")}}.

TypeWeb IDL typeDescription
TypeWeb IDL typeDescription
GLenum unsigned long
+ + + + + + + + + - - - - - - - diff --git a/files/en-us/web/api/webglrenderingcontext/blendfunc/index.html b/files/en-us/web/api/webglrenderingcontext/blendfunc/index.html index 9f2c237c6ddf342..eda5cba19f5695d 100644 --- a/files/en-us/web/api/webglrenderingcontext/blendfunc/index.html +++ b/files/en-us/web/api/webglrenderingcontext/blendfunc/index.html @@ -140,9 +140,8 @@

Constants

- -
ConstantsBlocksBits per pixel{{jsxref("ArrayBuffer")}} byteLengthbytes if height and width are 512
ConstantsBlocksBits per pixel{{jsxref("ArrayBuffer")}} byteLengthbytes if height and width are 512
ext.COMPRESSED_RGBA_ASTC_4x4_KHR
ext.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR
gl.SRC_ALPHA_SATURATE -

min(AS, 1 - AD), min(AS, 1 - AD), - min(AS, 1 - AD), 1

+
min(AS, 1 - AD), min(AS, 1 - AD), + min(AS, 1 - AD), 1 Multiplies the RGB colors by the smaller of either the source alpha value or the value of 1 minus the destination alpha value. The alpha value is multiplied by 1. diff --git a/files/en-us/web/api/webglrenderingcontext/blendfuncseparate/index.html b/files/en-us/web/api/webglrenderingcontext/blendfuncseparate/index.html index d3a508a988077ad..ec4014218d675ce 100644 --- a/files/en-us/web/api/webglrenderingcontext/blendfuncseparate/index.html +++ b/files/en-us/web/api/webglrenderingcontext/blendfuncseparate/index.html @@ -174,9 +174,8 @@

Constants

gl.SRC_ALPHA_SATURATE -

min(AS, 1 - AD), min(AS, 1 - AD), - min(AS, 1 - AD)

+
min(AS, 1 - AD), min(AS, 1 - AD), + min(AS, 1 - AD) 1 Multiplies the RGB colors by the smaller of either the source alpha color or the diff --git a/files/en-us/web/api/websocket/index.html b/files/en-us/web/api/websocket/index.html index 938f15735bd3910..0929dcad1ccc59d 100644 --- a/files/en-us/web/api/websocket/index.html +++ b/files/en-us/web/api/websocket/index.html @@ -27,11 +27,13 @@

Constructor

Constants

+ + + + + + - - - - diff --git a/files/en-us/web/api/websocket/readystate/index.html b/files/en-us/web/api/websocket/readystate/index.html index 615aef3042e7ada..5b505caedae9119 100644 --- a/files/en-us/web/api/websocket/readystate/index.html +++ b/files/en-us/web/api/websocket/readystate/index.html @@ -19,12 +19,14 @@

Value

One of the following unsigned short values:

ConstantValue
ConstantValue
WebSocket.CONNECTING 0
- + - - - + + + + + diff --git a/files/en-us/web/api/wheelevent/deltamode/index.html b/files/en-us/web/api/wheelevent/deltamode/index.html index da2ed1552552b8e..8230e5840abbfa6 100644 --- a/files/en-us/web/api/wheelevent/deltamode/index.html +++ b/files/en-us/web/api/wheelevent/deltamode/index.html @@ -17,12 +17,14 @@ Permitted values are:

ValueStateDescriptionValueStateDescription
0 CONNECTING
- + - - - + + + + + diff --git a/files/en-us/web/api/wheelevent/index.html b/files/en-us/web/api/wheelevent/index.html index f2ecfb412d2e5ff..c5e5652cc722a0f 100644 --- a/files/en-us/web/api/wheelevent/index.html +++ b/files/en-us/web/api/wheelevent/index.html @@ -45,11 +45,11 @@

Properties

Returns an unsigned long representing the unit of the delta* values' scroll amount. Permitted values are:
ConstantValueDescriptionConstantValueDescription
DOM_DELTA_PIXEL 0x00
- - - - - + + + + + diff --git a/files/en-us/web/api/wheelevent/wheelevent/index.html b/files/en-us/web/api/wheelevent/wheelevent/index.html index 1966094ddbc05c1..fa32f79c5121e2e 100644 --- a/files/en-us/web/api/wheelevent/wheelevent/index.html +++ b/files/en-us/web/api/wheelevent/wheelevent/index.html @@ -40,12 +40,14 @@

Properties

unsigned long representing the unit of the delta values scroll amount. Permitted values are:
ConstantValueDescription
ConstantValueDescription
- + - - - + + + + + diff --git a/files/en-us/web/api/windoweventhandlers/onhashchange/index.html b/files/en-us/web/api/windoweventhandlers/onhashchange/index.html index d19130d2a70854c..9705b3844353a87 100644 --- a/files/en-us/web/api/windoweventhandlers/onhashchange/index.html +++ b/files/en-us/web/api/windoweventhandlers/onhashchange/index.html @@ -93,12 +93,14 @@

The hashchange event

The dispatched hashchange event has the following properties:

ConstantValueDescriptionConstantValueDescription
DOM_DELTA_PIXEL 0x00
- + - - - + + + + + diff --git a/files/en-us/web/api/worklet/index.html b/files/en-us/web/api/worklet/index.html index 46f1fbf57c0b77d..51e6876d0540511 100644 --- a/files/en-us/web/api/worklet/index.html +++ b/files/en-us/web/api/worklet/index.html @@ -34,8 +34,7 @@

Worklet types

- + diff --git a/files/en-us/web/api/xmlhttprequest/readystate/index.html b/files/en-us/web/api/xmlhttprequest/readystate/index.html index a4c8ba7f4734ee2..6f973c614dbbf79 100644 --- a/files/en-us/web/api/xmlhttprequest/readystate/index.html +++ b/files/en-us/web/api/xmlhttprequest/readystate/index.html @@ -13,12 +13,14 @@

The XMLHttpRequest.readyState property returns the state an XMLHttpRequest client is in. An XHR client exists in one of the following states:

FieldTypeDescriptionFieldTypeDescription
newURL DOMString

For programmatically generating an image where a CSS property expects a file. Access this interface through {{DOMxRef("CSS.paintWorklet")}}.

Chrome: Main thread
- Gecko: Paint thread
Chrome: Main thread, Gecko: Paint thread CSS Painting API
+ + + + + + + - - - - - diff --git a/files/en-us/web/api/xmlhttprequest/upload/index.html b/files/en-us/web/api/xmlhttprequest/upload/index.html index 10036c7e5c0a77a..b755e994f5c7936 100644 --- a/files/en-us/web/api/xmlhttprequest/upload/index.html +++ b/files/en-us/web/api/xmlhttprequest/upload/index.html @@ -31,12 +31,14 @@

The following events can be triggered on an upload object and used to monitor the upload:

ValueStateDescription
ValueStateDescription
0 UNSENT
+ + + + + + + - - - - - diff --git a/files/en-us/web/api/xpathresult/index.html b/files/en-us/web/api/xpathresult/index.html index 6d844818281ebe8..52cce99d601076e 100644 --- a/files/en-us/web/api/xpathresult/index.html +++ b/files/en-us/web/api/xpathresult/index.html @@ -48,11 +48,11 @@

Constants

EventEvent listenerDescription
EventEvent listenerDescription
{{event("loadstart")}} {{domxref("XMLHttpRequest.onloadstart", "onloadstart")}}
- - - - - + + + + + diff --git a/files/en-us/web/api/xpathresult/resulttype/index.html b/files/en-us/web/api/xpathresult/resulttype/index.html index 0714a76c9b218d1..e4484a7a01e963d 100644 --- a/files/en-us/web/api/xpathresult/resulttype/index.html +++ b/files/en-us/web/api/xpathresult/resulttype/index.html @@ -33,9 +33,9 @@

Constants

Result Type Defined ConstantValueDescription
Result Type Defined ConstantValueDescription
- - - + + + From 5e1c4ec6bb481440be67db9d8c7e86e8de4508e0 Mon Sep 17 00:00:00 2001 From: Will Bamberg Date: Thu, 2 Sep 2021 23:33:08 -0700 Subject: [PATCH 2/3] Fix indentation --- files/en-us/web/api/nodeiterator/whattoshow/index.html | 2 +- files/en-us/web/api/treewalker/whattoshow/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/web/api/nodeiterator/whattoshow/index.html b/files/en-us/web/api/nodeiterator/whattoshow/index.html index 2e2ff4dd471c1e4..15ceddbb087dc5a 100644 --- a/files/en-us/web/api/nodeiterator/whattoshow/index.html +++ b/files/en-us/web/api/nodeiterator/whattoshow/index.html @@ -25,7 +25,7 @@

Syntax

- + diff --git a/files/en-us/web/api/treewalker/whattoshow/index.html b/files/en-us/web/api/treewalker/whattoshow/index.html index 01fdec580a8384f..5949515a5c38382 100644 --- a/files/en-us/web/api/treewalker/whattoshow/index.html +++ b/files/en-us/web/api/treewalker/whattoshow/index.html @@ -19,7 +19,7 @@ - + From e0b22df4c870aa9ed2aa8c930225167df93d9629 Mon Sep 17 00:00:00 2001 From: Will Bamberg Date: Fri, 3 Sep 2021 20:44:19 -0700 Subject: [PATCH 3/3] Address review comments --- .../web/api/nodefilter/acceptnode/index.html | 4 ++-- files/en-us/web/api/nodefilter/index.html | 4 ++-- .../en-us/web/api/webgl_api/types/index.html | 24 +++++++++++-------- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/files/en-us/web/api/nodefilter/acceptnode/index.html b/files/en-us/web/api/nodefilter/acceptnode/index.html index 71f0bf9fa67e393..83c523167df212c 100644 --- a/files/en-us/web/api/nodefilter/acceptnode/index.html +++ b/files/en-us/web/api/nodefilter/acceptnode/index.html @@ -20,8 +20,8 @@
Result Type Defined ConstantValueDescriptionResult Type Defined ConstantValueDescription
ConstantNumerical valueNumerical value Description
ConstantNumerical valueNumerical value Description
- - + + diff --git a/files/en-us/web/api/nodefilter/index.html b/files/en-us/web/api/nodefilter/index.html index 400c0ed2130ebfe..d5421231972cfec 100644 --- a/files/en-us/web/api/nodefilter/index.html +++ b/files/en-us/web/api/nodefilter/index.html @@ -33,8 +33,8 @@

Methods

ConstantDescriptionConstantDescription
- - + + diff --git a/files/en-us/web/api/webgl_api/types/index.html b/files/en-us/web/api/webgl_api/types/index.html index 0bc7d338ad83370..e21cef75d87d98d 100644 --- a/files/en-us/web/api/webgl_api/types/index.html +++ b/files/en-us/web/api/webgl_api/types/index.html @@ -101,12 +101,14 @@

WebGL 2

These types are used within a {{domxref("WebGL2RenderingContext")}}. All WebGL 1 types are used as well.

ConstantDescriptionConstantDescription
+ + + + + + + - - - - - @@ -120,12 +122,14 @@

WebGL extensions

These types are used within WebGL extensions.

TypeWeb IDL typeDescription
TypeWeb IDL typeDescription
GLint64 long long
+ + + + + + + - - - - -
TypeWeb IDL typeDescription
TypeWeb IDL typeDescription
GLuint64EXT long long