diff --git a/files/en-us/web/api/analysernode/analysernode/index.html b/files/en-us/web/api/analysernode/analysernode/index.html index 78770c8f3df8576..055c8bfac4585b3 100644 --- a/files/en-us/web/api/analysernode/analysernode/index.html +++ b/files/en-us/web/api/analysernode/analysernode/index.html @@ -28,15 +28,16 @@

Parameters

A reference to an {{domxref("AudioContext")}} or {{domxref("OfflineAudioContext")}}.
options {{optional_inline}}
- +

An object with the following properties, all optional:

+
diff --git a/files/en-us/web/api/audioworkletglobalscope/registerprocessor/index.html b/files/en-us/web/api/audioworkletglobalscope/registerprocessor/index.html index 96b3e6ca6d15d4f..3aa63901d3b5cac 100644 --- a/files/en-us/web/api/audioworkletglobalscope/registerprocessor/index.html +++ b/files/en-us/web/api/audioworkletglobalscope/registerprocessor/index.html @@ -48,17 +48,19 @@

Exceptions

NotSupportedError
+

Thrown under the following conditions:

TypeError
+

Thrown under the following conditions:

diff --git a/files/en-us/web/api/caretposition/index.html b/files/en-us/web/api/caretposition/index.html index eb9b3d5c95bb0b6..449ab890dd9e211 100644 --- a/files/en-us/web/api/caretposition/index.html +++ b/files/en-us/web/api/caretposition/index.html @@ -28,7 +28,7 @@

Methods

{{domxref("CaretPosition.getClientRect")}}
-
+
Returns the client rectangle for the caret range.

Specifications

diff --git a/files/en-us/web/api/cssgroupingrule/index.html b/files/en-us/web/api/cssgroupingrule/index.html index 07fa08b76cfade3..c22bbbd0d4e8df7 100644 --- a/files/en-us/web/api/cssgroupingrule/index.html +++ b/files/en-us/web/api/cssgroupingrule/index.html @@ -17,7 +17,7 @@

Properties

This interface also inherits properties from {{domxref("CSSRule")}}.

- {{domxref("CSSGroupingRule.cssRules")}}{{readonlyinline}} +
{{domxref("CSSGroupingRule.cssRules")}}{{readonlyinline}}
Returns a {{domxref("CSSRuleList")}} of the CSS rules in the media rule.
diff --git a/files/en-us/web/api/datatransfer/mozcleardataat/index.html b/files/en-us/web/api/datatransfer/mozcleardataat/index.html index 27213fba98b21e4..449769694333115 100644 --- a/files/en-us/web/api/datatransfer/mozcleardataat/index.html +++ b/files/en-us/web/api/datatransfer/mozcleardataat/index.html @@ -45,10 +45,7 @@

Arguments

Return value

-
-
void
-
-
+

None.

Example

@@ -79,4 +76,4 @@

See also

  • Recommended Drag Types
  • Dragging and Dropping Multiple Items
  • DataTransfer test - Paste or Drag
  • - \ No newline at end of file + diff --git a/files/en-us/web/api/datatransfer/mozsetdataat/index.html b/files/en-us/web/api/datatransfer/mozsetdataat/index.html index 15bb1291e4c0c0e..436cc247364796a 100644 --- a/files/en-us/web/api/datatransfer/mozsetdataat/index.html +++ b/files/en-us/web/api/datatransfer/mozsetdataat/index.html @@ -55,10 +55,7 @@

    Arguments

    Return value

    -
    -
    void
    -
    -
    +

    None.

    Example

    @@ -93,4 +90,4 @@

    See also

  • Recommended Drag Types
  • Dragging and Dropping Multiple Items
  • DataTransfer test - Paste or Drag
  • - \ No newline at end of file + diff --git a/files/en-us/web/api/datatransfer/setdata/index.html b/files/en-us/web/api/datatransfer/setdata/index.html index 578758e91c62082..f9cad86500f83e9 100644 --- a/files/en-us/web/api/datatransfer/setdata/index.html +++ b/files/en-us/web/api/datatransfer/setdata/index.html @@ -40,10 +40,7 @@

    Arguments

    Return value

    -
    -
    void
    -
    -
    +

    None.

    Example

    @@ -120,4 +117,4 @@

    See also

  • Recommended Drag Types
  • Dragging and Dropping Multiple Items
  • DataTransfer test - Paste or Drag
  • - \ No newline at end of file + diff --git a/files/en-us/web/api/datatransfer/setdragimage/index.html b/files/en-us/web/api/datatransfer/setdragimage/index.html index eee165b8b956603..940db25bb10956d 100644 --- a/files/en-us/web/api/datatransfer/setdragimage/index.html +++ b/files/en-us/web/api/datatransfer/setdragimage/index.html @@ -49,10 +49,7 @@

    Arguments

    Return value

    -
    -
    void
    -
    -
    +

    None.

    Example

    diff --git a/files/en-us/web/api/elementinternals/setvalidity/index.html b/files/en-us/web/api/elementinternals/setvalidity/index.html index 08a79c1330015b9..fb5cc11cbab5389 100644 --- a/files/en-us/web/api/elementinternals/setvalidity/index.html +++ b/files/en-us/web/api/elementinternals/setvalidity/index.html @@ -24,7 +24,7 @@

    Parameters

    flags{{Optional_Inline}}
    A dictionary object containing one or more flags indicating the validity state of the element: -
      +
      valueMissing
      A boolean value that is true if the element has a {{htmlattrxref("required", "input")}} attribute, but no value, or false otherwise. If true, the element matches the {{cssxref(":invalid")}} CSS pseudo-class.
      typeMismatch
      @@ -45,7 +45,7 @@

      Parameters

      A boolean value that is true if the user has provided input that the browser is unable to convert.
      customError
      A boolean value indicating whether the element's custom validity message has been set to a non-empty string by calling the element's {{domxref('HTMLObjectElement.setCustomValidity', 'setCustomValidity()')}} method.
      -
    +

    Note: To set all flags to false, indicating that this element passes all constraints validation, pass in an empty object {}. In this case, you do not need to also pass a message.

    @@ -89,5 +89,3 @@

    Specifications

    Browser compatibility

    {{Compat}}

    - - diff --git a/files/en-us/web/api/fileentrysync/index.html b/files/en-us/web/api/fileentrysync/index.html index 29c6068cab36803..268bcd04467c382 100644 --- a/files/en-us/web/api/fileentrysync/index.html +++ b/files/en-us/web/api/fileentrysync/index.html @@ -48,18 +48,15 @@

    createWriter()

    void createWriter (
     ) raises (FileException);
    -
    Parameter
    +

    Parameter

    None.

    -
    Returns
    +

    Returns

    -
    -
    FileWriterSync
    -
    -
    +

    A FileWriterSync object.

    -
    Exceptions
    +

    Exceptions

    This method can raise a FileException with the following codes:

    @@ -95,10 +92,7 @@
    Parameter
    Returns
    -
    -
    File
    -
    -
    +

    A File object.

    Exceptions
    diff --git a/files/en-us/web/api/filesystemdirectoryhandle/getfilehandle/index.html b/files/en-us/web/api/filesystemdirectoryhandle/getfilehandle/index.html index e58841ed6b101b7..bc29d52d81d11cd 100644 --- a/files/en-us/web/api/filesystemdirectoryhandle/getfilehandle/index.html +++ b/files/en-us/web/api/filesystemdirectoryhandle/getfilehandle/index.html @@ -30,6 +30,7 @@

    Parameters

    the file you wish to retrieve.
    options {{optional_inline}}
    +

    An object with the following properties:

    diff --git a/files/en-us/web/api/localfilesystem/index.html b/files/en-us/web/api/localfilesystem/index.html index e8757314d126cf0..68ee1d9237c3603 100644 --- a/files/en-us/web/api/localfilesystem/index.html +++ b/files/en-us/web/api/localfilesystem/index.html @@ -116,7 +116,7 @@

    requestFileSystem()

    in ErrorCallback errorCallback ); -
    Parameters
    +

    Parameters

    type
    @@ -134,14 +134,11 @@
    Parameters
    The error callback that is called when errors happen or when the request to obtain the file system is denied. Its argument is the FileError object.
    -
    Returns
    +

    Returns

    -
    -
    void
    -
    -
    +

    None.

    -
    Exceptions
    +

    Exceptions

    This method can raise an FileError with the following code:

    @@ -169,7 +166,7 @@

    resolveLocalFileSystemURL()

    ); -
    Parameters
    +

    Parameters

    url
    @@ -180,14 +177,11 @@
    Parameters
    The error callback that is called when errors happen or when the request to obtain the entry object is denied.
    -
    Returns
    +

    Returns

    -
    -
    void
    -
    -
    +

    None.

    -
    Exceptions
    +

    Exceptions

    This method can raise an FileError with the following code:

    diff --git a/files/en-us/web/api/mediaquerylistevent/mediaquerylistevent/index.html b/files/en-us/web/api/mediaquerylistevent/mediaquerylistevent/index.html index 277bb36c32259b0..f13d41201bf4c56 100644 --- a/files/en-us/web/api/mediaquerylistevent/mediaquerylistevent/index.html +++ b/files/en-us/web/api/mediaquerylistevent/mediaquerylistevent/index.html @@ -17,15 +17,12 @@

    Syntax

    -
    var myMqlEvent = new MediaQueryListEvent(init);
    +
    var myMqlEvent = new MediaQueryListEvent(init);

    Parameters

    -
    -

    init

    -
    +
    init

    An init object that defines features of the new object instance. The available properties are:

    diff --git a/files/en-us/web/api/mediarecorder/mediarecorder/index.html b/files/en-us/web/api/mediarecorder/mediarecorder/index.html index 71bea22792839f9..f9193074c01e5d1 100644 --- a/files/en-us/web/api/mediarecorder/mediarecorder/index.html +++ b/files/en-us/web/api/mediarecorder/mediarecorder/index.html @@ -38,9 +38,7 @@

    Parameters

    from a stream created using {{domxref("MediaDevices.getUserMedia", "navigator.mediaDevices.getUserMedia()")}} or from an {{HTMLElement("audio")}}, {{HTMLElement("video")}} or {{HTMLElement("canvas")}} element.
    -
    -

    options {{optional_inline}}

    -
    +
    options {{optional_inline}}

    A dictionary object that can contain the following properties:

    diff --git a/files/en-us/web/api/messageevent/messageevent/index.html b/files/en-us/web/api/messageevent/messageevent/index.html index bbfb356793f3b69..d67e6d57034d7aa 100644 --- a/files/en-us/web/api/messageevent/messageevent/index.html +++ b/files/en-us/web/api/messageevent/messageevent/index.html @@ -26,9 +26,7 @@

    Parameters

    type
    The type of MessageEvent that will be created. This can be one of XXX
    -
    -

    init {{optional_inline}}

    -
    +
    init {{optional_inline}}

    A dictionary object that can contain the following properties:

    diff --git a/files/en-us/web/api/microdata_dom_api/index.html b/files/en-us/web/api/microdata_dom_api/index.html index c189430a97db601..000f5a932c9527c 100644 --- a/files/en-us/web/api/microdata_dom_api/index.html +++ b/files/en-us/web/api/microdata_dom_api/index.html @@ -136,7 +136,7 @@

    Interface description language

    collection . length
    Returns the number of elements in the collection.
    element = collection . item(index)
    -
    +
    Returns the element with index from the collection. The items are sorted in tree order.
    collection[index]
    Returns the element with index from the collection. The items are sorted in tree order.
    propertyNodeList = collection . namedItem(name)
    diff --git a/files/en-us/web/api/ndefreader/scan/index.html b/files/en-us/web/api/ndefreader/scan/index.html index 7a4cf5fe4d0d7ed..63d8ecda32efe18 100644 --- a/files/en-us/web/api/ndefreader/scan/index.html +++ b/files/en-us/web/api/ndefreader/scan/index.html @@ -22,6 +22,7 @@

    Parameters

    options {{optional_inline}}
    +

    An object with the following properties:

    • signal -- An {{DOMxRef("AbortSignal")}} that allows cancelling this scan() operation.
    • diff --git a/files/en-us/web/api/ndefreader/write/index.html b/files/en-us/web/api/ndefreader/write/index.html index d4feb389ccd5ed5..291f380e4a9bd20 100644 --- a/files/en-us/web/api/ndefreader/write/index.html +++ b/files/en-us/web/api/ndefreader/write/index.html @@ -39,7 +39,7 @@

      Parameters

      A string indicating the type of data stored in data. It must be one of the following values:
      "absolute-url"
      -
      An absolute URL to the data.
      +
      An absolute URL to the data.
      "empty"
      An empty {{domxref("NDEFRecord")}}.
      "mime"
      @@ -61,6 +61,7 @@

      Parameters

      options {{optional_inline}}
      +

      An object with the following properties:

      • overwrite -- A {{JSxRef("Boolean")}} specifying whether or not existing records should be overwritten, if such exists.
      • diff --git a/files/en-us/web/api/notification/index.html b/files/en-us/web/api/notification/index.html index d285307821a77c5..9fde64d9110e782 100644 --- a/files/en-us/web/api/notification/index.html +++ b/files/en-us/web/api/notification/index.html @@ -38,7 +38,7 @@

        Static properties

      {{domxref("Notification.maxActions")}} {{readonlyinline}}
      -
      +
      The maximum number of actions supported by the device and the User Agent.

    Instance properties

    diff --git a/files/en-us/web/api/request/mode/index.html b/files/en-us/web/api/request/mode/index.html index eafa56934cf77c6..3d2bacfc5d44f5a 100644 --- a/files/en-us/web/api/request/mode/index.html +++ b/files/en-us/web/api/request/mode/index.html @@ -26,9 +26,7 @@

    Syntax

    Value

    -
    -

    A RequestMode value.

    -
    +
    A RequestMode value.

    The associated mode, available values of which are:

    diff --git a/files/en-us/web/api/rtcconfiguration/index.html b/files/en-us/web/api/rtcconfiguration/index.html index 01985e2f0ac5ff7..c6365f1cdeec958 100644 --- a/files/en-us/web/api/rtcconfiguration/index.html +++ b/files/en-us/web/api/rtcconfiguration/index.html @@ -113,23 +113,17 @@

    Properties

    {{domxref("RTCConfiguration.iceTransportPolicy", "iceTransportPolicy")}} {{optional_inline}}
    - The current ICE transport policy; +

    The current ICE transport policy; if the policy isn't specified, all is assumed by default, allowing all candidates to be considered. - Possible values are: + Possible values are:

    - - "all" - All ICE candidates will be considered. - - - "public" {{deprecated_inline}} - Only ICE candidates with public IP addresses will be considered. Removed from the specification's May 13, 2016 working draft. - - - "relay" - Only ICE candidates whose IP addresses are being relayed, such as those being passed through a STUN or TURN server, will be considered. - +
    "all"
    +
    All ICE candidates will be considered.
    +
    "public" {{deprecated_inline}}
    +
    Only ICE candidates with public IP addresses will be considered. Removed from the specification's May 13, 2016 working draft.
    +
    "relay"
    +
    Only ICE candidates whose IP addresses are being relayed, such as those being passed through a STUN or TURN server, will be considered.
    diff --git a/files/en-us/web/api/serial/requestport/index.html b/files/en-us/web/api/serial/requestport/index.html index 53d406491bb0a46..7a74ce9c4e60e46 100644 --- a/files/en-us/web/api/serial/requestport/index.html +++ b/files/en-us/web/api/serial/requestport/index.html @@ -22,6 +22,7 @@

    Parameters

    options
    +

    An object with the following properties:

    filters
    A list of objects containing vendor and product IDs used to search for attached devices. The USB Implementors Forum assigns IDs to specific companies. Each company assigns IDS to it's products. Filters contain the following values: diff --git a/files/en-us/web/api/svgmarkerelement/preserveaspectratio/index.html b/files/en-us/web/api/svgmarkerelement/preserveaspectratio/index.html index d50711326f1d94f..d609a36c36effa8 100644 --- a/files/en-us/web/api/svgmarkerelement/preserveaspectratio/index.html +++ b/files/en-us/web/api/svgmarkerelement/preserveaspectratio/index.html @@ -49,14 +49,16 @@

    Value

    meetOrSlice
    -
    -
    0
    -
    SVG_MEETORSLICE_UNKNOWN
    -
    1
    -
    SVG_MEETORSLICE_MEET
    -
    2
    -
    SVG_MEETORSLICE_SLICE
    -
    +
    One of the following numeric constants: +
    +
    0
    +
    SVG_MEETORSLICE_UNKNOWN
    +
    1
    +
    SVG_MEETORSLICE_MEET
    +
    2
    +
    SVG_MEETORSLICE_SLICE
    +
    +

    Examples