Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix definition lists #19863

Merged
merged 3 commits into from
Aug 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ None.

A {{JSxRef("Promise")}} that will be fulfilled with an object which has the following properties:

- **`name`**: string value representing the browser name, for example "Firefox".
- **`vendor`**: string value representing the browser's vendor, for example "Mozilla".
- **`version`**: string representing the browser's version, for example "51.0" or "51.0a2".
- **`buildID`**: string representing the specific build of the browser, for example "20161018004015".

## Browser compatibility

{{Compat}}
- `name`
- : string value representing the browser name, for example "Firefox".
- `vendor`
- : string value representing the browser's vendor, for example "Mozilla".
- `version`
- : string representing the browser's version, for example "51.0" or "51.0a2".
- `buildID`
- : string representing the specific build of the browser, for example "20161018004015".

## Examples

Expand All @@ -54,6 +54,8 @@ let gettingInfo = browser.runtime.getBrowserInfo();
gettingInfo.then(gotBrowserInfo);
```

{{WebExtExamples}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this best left in, it would automatically pick up any examples in the web extensions examples repository that use the API

## Browser compatibility

{{Compat}}

> **Note:** Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.
6 changes: 3 additions & 3 deletions files/en-us/web/css/-webkit-mask-position-x/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ The `-webkit-mask-position-x` CSS property sets the initial horizontal position

- `<length-percentage>`
- : A length indicating the position of the left edge of the image relative to the box's left padding edge. Percentages are calculated against the horizontal dimension of the box padding area. That means, a value of `0%` means the left edge of the image is aligned with the box's left padding edge and a value of `100%` means the right edge of the image is aligned with the box's right padding edge.
- **`left`**
- `left`
- : Equivalent to `0%`.
- **`center`**
- `center`
- : Equivalent to `50%`.
- **`right`**
- `right`
- : Equivalent to `100%`.

## Formal definition
Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/css/-webkit-mask-position-y/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ The `-webkit-mask-position-y` CSS property sets the initial vertical position of

- `<length-percentage>`
- : A length indicating the position of the top side of the image relative to the box's top padding edge. Percentages are calculated against the vertical dimension of the box padding area. A value of `0%` means the top edge of the image is aligned with the box's top padding edge and a value of `100%` means the bottom edge of the image is aligned with the box's bottom padding edge.
- **`top`**
- `top`
- : Equivalent to `0%`.
- **`bottom`**
- `bottom`
- : Equivalent to `100%`.
- **`center`**
- `center`
- : Equivalent to `50%`.

## Formal definition
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/css/time/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ The `<time>` data type consists of a {{cssxref("&lt;number&gt;")}} followed by o

### Units

- **`s`**
- `s`
- : Represents a time in seconds. Examples: `0s`, `1.5s`, `-60s`.
- **`ms`**
- `ms`
- : Represents a time in milliseconds. Examples: `0ms`, `150.25ms`, `-60000ms`.

> **Note:** Conversion between `s` and `ms` follows the logical `1s` = `1000ms`.
Expand Down
20 changes: 10 additions & 10 deletions files/en-us/web/http/headers/authorization/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,34 +88,34 @@ Generally you will need to check the relevant specifications for these (keys for
- : A string of the hex digits that proves that the user knows a password.
The algorithm encodes the username and password, realm, cnonce, qop, nc, and so on.
It is described in detail in the specification.
- **`username`**
- `username`
- : A quoted string containing user's name for the specified `realm` in either plain text or the hash code in hexadecimal notation.
If the name contains characters that aren't allowed in the field, then `username*` can be used instead (not "as well").
- **`username*`**
- `username*`
- : The user's name formatted using an extended notation defined in RFC5987.
This should be used only if the name can't be encoded in `username` and if `userhash` is set `"false"`.
- **`uri`**
- `uri`
- : The _Effective Request URI_. See the specification for more information.
- **`realm`**
- `realm`
- : Realm of the requested username/password (again, should match the value in the corresponding {{HTTPHeader("WWW-Authenticate")}} response for the resource being requested).
- **`opaque`**
- `opaque`
- : The value in the corresponding {{HTTPHeader("WWW-Authenticate")}} response for the resource being requested.
- **`algorithm`**
- `algorithm`
- : The algorithm used to calculate the digest. Must be a supported algorithm from the {{HTTPHeader("WWW-Authenticate")}} response for the resource being requested.
- **`qop`**
- `qop`
- : A token indicating the _quality of protection_ applied to the message.
Must match the one value in the set specified in the {{HTTPHeader("WWW-Authenticate")}} response for the resource being requested.
- `"auth"`: Authentication
- `"auth-int"`: Authentication with integrity protection
- **`cnonce`**
- `cnonce`
- : An quoted ASCII-only string value provided by the client.
This is used by both the client and server to provide mutual authentication, provide some message integrity protection, and avoid "chosen plaintext
attacks".
See the specification for additional information.
- **`nc`**
- `nc`
- : Nonce count. The hexadecimal count of requests in which the client has sent the current `cnonce` value (including the current request).
The server can use duplicate `nc` values to recognize replay requests.
- **`userhash`** {{optional_inline}}
- `userhash` {{optional_inline}}
- : `"true"` if the username has been hashed. `"false"` by default.

## Examples
Expand Down
8 changes: 4 additions & 4 deletions files/en-us/web/svg/tutorial/texts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ This element is used to mark up sub-portions of a larger text. It must be a chil

The `tspan` element has the following custom attributes:

- **`x`**
- `x`
- : Set a new absolute `x` coordinate for the containing text. This overwrites the default current text position. The attribute may also contain a list of numbers, that are one by one applied to the single characters of the `tspan` element.
- **`dx`**
- `dx`
- : Start drawing the text with a horizontal offset `dx` from the default current position. Here, too, you may provide a list of values that are applied to consecutive characters, hence piling up the offset over time.

Likewise, there are **`y`** and **`dy`** for vertical displacement.
- **`rotate`**
- `rotate`
- : Rotate all characters by this degree. A list of numbers makes each character rotate to its respective value, with remaining characters rotating according to the last value.
- **`textLength`**
- `textLength`
- : This is a more obscure attribute giving the calculated length of the string. It is meant to allow the rendering engine to fine-tune the positions of the glyphs when its own measured text length doesn't meet the one provided here.

### textPath
Expand Down