Skip to content

Commit

Permalink
Fix bad dl (mdn#22487)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored Nov 22, 2022
1 parent c8053bf commit e7a4306
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 22 deletions.
1 change: 1 addition & 0 deletions files/en-us/games/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ For a list of web game examples, see our [examples page](/en-US/docs/Games/Examp
- [Mozilla Hacks Blog](https://hacks.mozilla.org/category/games/)
- : Games category on the Mozilla Hacks blog containing interesting gamedev related articles.
- [Games section on wiki.mozilla.org](https://wiki.mozilla.org/Platform/Games)
- : A wiki page with information about Mozilla's involvement in platform games.
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,13 @@ A `treeitem` is required to have an accessible name. Generally, that name comes
- [`tree`](/en-US/docs/Web/Accessibility/ARIA/Roles/tree_role) role
- : The root node for the hierarchical list of parent and child `treeitem` nodes that can expand and collapse
- [`group`](/en-US/docs/Web/Accessibility/ARIA/Roles/group_role) role

- : Identifies a set of `treeitem` child nodes.

- [`aria-expanded`](/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)
- : Set on the root `tree` and on `group` nodes that are parents of `treeitem` nodes, to indicate whether the tree view is expanded (`true`) or collapsed (`false`).
- [`aria-selected`](/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)
- Set to `true` or `false`, indicates a `treeitem` is selectable, and whether or not it is currently selected.
- : Set to `true` or `false`, indicates a `treeitem` is selectable, and whether or not it is currently selected.
- [`aria-checked`](/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-checked)
- Set to `true` or `false`, indicates the `treeitem` can be checked, and whether or not it is currently checked.
- : Set to `true` or `false`, indicates the `treeitem` can be checked, and whether or not it is currently checked.

### Keyboard interactions

Expand Down
12 changes: 2 additions & 10 deletions files/en-us/web/api/idledetector/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,9 @@ This interface requires a secure context.
## Instance properties

- {{domxref("IdleDetector.userState")}} {{ReadOnlyInline}} {{Experimental_Inline}}

- : Returns a string indicating whether the users has interacted with either the screen or the device since the call to `start()`.

- : Returns either `"active"` to indicate that the user has interacted with the
device within the threshold provided to `start()` or `"idle"` if they have not.
This attribute returns `null` before `start()` is called.

- : Returns a string indicating whether the users has interacted with either the screen or the device within the threshold provided to `start()`, one of `"active"` or `"idle"`. This attribute returns `null` before `start()` is called.
- {{domxref("IdleDetector.screenState")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- : Returns a string indicating whether the screen is locked, one of
`"locked"` or `"unlocked"`. This attribute returns `null` before `start()`
is called.
- : Returns a string indicating whether the screen is locked, one of `"locked"` or `"unlocked"`. This attribute returns `null` before `start()` is called.

## Events

Expand Down
12 changes: 8 additions & 4 deletions files/en-us/web/html/element/img/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,11 @@ This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attrib
- : Default: Signals automatic determination of fetch priority relative to other images.

- {{htmlattrdef("height")}}

- : The intrinsic height of the image, in pixels. Must be an integer without a unit.

> **Note:** Including `height` and [`width`](#attr-width) enables the aspect ratio of the image to be calculated by the browser prior to the image being loaded. This aspect ratio is used to reserve the space needed to display the image, reducing or even preventing a layout shift when the image is downloaded and painted to the screen. Reducing layout shift is a major component of good user experience and web performance.
> **Note:** Including `height` and [`width`](#attr-width) enables the aspect ratio of the image to be calculated by the browser prior to the image being loaded. This aspect ratio is used to reserve the space needed to display the image, reducing or even preventing a layout shift when the image is downloaded and painted to the screen. Reducing layout shift is a major component of good user experience and web performance.
- {{htmlattrdef("ismap")}}

- : This Boolean attribute indicates that the image is part of a [server-side map](https://en.wikipedia.org/wiki/Image_map#Server-side). If so, the coordinates where the user clicked on the image are sent to the server.
Expand All @@ -143,10 +145,12 @@ This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attrib

- : Indicates how the browser should load the image:

- `eager`: Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value).
- `lazy`: Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases.
- `eager`
- : Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value).
- `lazy`
- : Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases.

> **Note:** Loading is only deferred when JavaScript is enabled. This is an anti-tracking measure, because if a user agent supported lazy loading when scripting is disabled, it would still be possible for a site to track a user's approximate scroll position throughout a session, by strategically placing images in a page's markup such that a server can track how many images are requested and when.
> **Note:** Loading is only deferred when JavaScript is enabled. This is an anti-tracking measure, because if a user agent supported lazy loading when scripting is disabled, it would still be possible for a site to track a user's approximate scroll position throughout a session, by strategically placing images in a page's markup such that a server can track how many images are requested and when.
- {{htmlattrdef("referrerpolicy")}}

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/mathml/global_attributes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ In addition to the basic MathML global attributes, the following global attribut

- [`mathvariant`](/en-US/docs/Web/MathML/Global_attributes/mathvariant)

- A logical classes of token elements.
- : A logical classes of token elements.

- [`nonce`](/en-US/docs/Web/HTML/Global_attributes/nonce)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,13 @@ new WebAssembly.Tag(type)

### Exceptions

- {{jsxref("TypeError")}}:
- {{jsxref("TypeError")}}

- : Thrown if at least one of these conditions are met:
- The `type` parameter is not an object.
- The `type.parameters` property is not supplied.
- The `type.parameters` contains an unsupported data type.

- A {{jsxref("TypeError")}} will be thrown if `type` is not an object, the `type.parameters` property is not supplied, or `type.parameters` contains an unsupported data type.

## Examples

This creates a tag with two values.
Expand Down

0 comments on commit e7a4306

Please sign in to comment.