Skip to content
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 @@ -272,7 +272,7 @@ For numeric fields, including [`<input type="number">`](/en-US/docs/Web/HTML/Ref
If the field contains a value outside this range, it will be invalid.

Let's look at another example.
Create a new copy of the [basic starter file](#basic_starter_file) file (save it in the same directory as `index2.html`).
Create a new copy of the [basic starter file](#basic_starter_file) and save it in the same directory as `index2.html`.

Now delete the contents of the `<body>` element, and replace it with the following:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Example:
- `isCustomObject` {{ReadOnlyInline}}
- : Indicates, if `true`, that the object is a custom one.
- `parameterX` {{optional_inline}}
- : Blah blah blah
- : Indicates

## Status and compatibility indicators

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ Values of this type are objects. They contain these properties:
- `queryTransform` {{optional_inline}}
- : An object describing how to add, remove, or replace query key-value pairs. Cannot be specified if 'query' is specified.
- `addOrReplaceParams` {{optional_inline}}
- : An array of objects describing the list of query key-value pairs to be added or replaced.
- : An array of objects describing the list of query key-value pairs (`key=value`) to be added or replaced.
- `key`
- : A `string`. The key value.
- : A `string`. The `key` part of `key=value`.
- `replaceOnly` {{optional_inline}}
- : A `boolean`. If true, the query key is replaced only if it's already present. Otherwise, the key is also added if it's missing. Defaults to false.
- : A `boolean`. If true, the query key is replaced only if it's already present. Otherwise, the key is also added if it's missing. Defaults to `false`.
- `value`
- : A `string`. The value value.
- : A `string`. The `value` part of `key=value`.

- `removeParams` {{optional_inline}}
- : An array of `string`. The list of query keys to be removed.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/range/range/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ browser-compat: api.Range.Range
{{ APIRef("DOM") }}

The **`Range()`** constructor returns a newly created
{{domxref("Range")}} object whose start and end are offset 0 of the the global {{domxref("Window/document", "document")}}
{{domxref("Range")}} object whose start and end are offset 0 of the global {{domxref("Window/document", "document")}}
object.

## Syntax
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/sanitizer/allowelement/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ sanitizer.allowElement({
```

If you need both per-element add-attribute and remove-attribute arrays as shown above, they must be added in a single call to this method.
If you were to do this in two calls the the second call would replace the element definition added in the first call.
If you were to do this in two calls the second call would replace the element definition added in the first call.

When using a `Sanitizer` with a [remove configuration](/en-US/docs/Web/API/HTML_Sanitizer_API#remove_configurations), similar code to add per-element attribute allow or remove arrays will generate a console warning and return `false`.
This is because internally the sanitizer doesn't have the `elements` array required to specify per-element attributes and won't change the configuration.
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/storage_access_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Third party content embedded in an {{htmlelement("iframe")}} that needs to acces
That means that even if permission is granted, the page will need to load and call `requestStorageAccess()` to activate the permission.
If permission has already been granted then a call to `requestStorageAccess()` will not require transient activation and the promise will fulfill automatically.

The only exception to the "blocked by default" behavior is if an embed performs a same-origin navigation to reload itself after after being granted permission or activating a permission.
The only exception to the "blocked by default" behavior is if an embed performs a same-origin navigation to reload itself after being granted permission or activating a permission.
In such cases, the storage access is carried over from the previous navigation.
This allows the embedded resource to reload itself and gain access to its cookies.

Expand All @@ -101,7 +101,7 @@ Third party content embedded in an {{htmlelement("iframe")}} that needs to acces

### Storage access headers

The API requires that a resource must must call `requestStorageAccess()` for each new context to opt-in to activating the storage-access permission, which must already have been granted.
The API requires that a resource must call `requestStorageAccess()` for each new context to opt-in to activating the storage-access permission, which must already have been granted.
This in turn means that the embedded resource must first be requested without cookies and loaded so it can call the method.

The storage access headers enable a workflow where the server can request that the permission is activated for the context, avoiding an unnecessary additional load of the embedded resource if permission has already been granted.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ If you include two values and the first value is the keyword `normal` or a `<len

### Multiple animations

When specifying ranges for multiple animations, the `animation-range` shorthand property is specified as one or more single animation ranges, separated by commas. Each animation-range is applied to the animations in the order in which the {{cssxref("animation-name")}}s appear. For situations where the number of animations and the `animation-range` property values do not match, if there are more `animation-range` value than animations, the extra ranges are ignore. If there are more animations than ranges, the list of `animation-range` values are repeated until there is a corresponding range for each animation. For example, if we set `animation-range: 25% 75%, normal;`, the animation range of all the odd numbered animations `25% 75%` and all the even animations will be be `0% 100%`.
When specifying ranges for multiple animations, the `animation-range` shorthand property is specified as one or more single animation ranges, separated by commas. Each animation-range is applied to the animations in the order in which the {{cssxref("animation-name")}}s appear. For situations where the number of animations and the `animation-range` property values do not match, if there are more `animation-range` value than animations, the extra ranges are ignore. If there are more animations than ranges, the list of `animation-range` values are repeated until there is a corresponding range for each animation. For example, if we set `animation-range: 25% 75%, normal;`, the animation range of all the odd numbered animations `25% 75%` and all the even animations will be `0% 100%`.

## Formal definition

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ The following `<shape-command>`s can be specified:
- `end`
- : Indicates that the control point is relative to the end point of the current command.
- `origin`
- : Indicates that the control point is relative to the the top-left (origin) point of the container the shape is being drawn inside.
- : Indicates that the control point is relative to the top-left (origin) point of the container the shape is being drawn inside.
> [!NOTE]
> If the `<relative-control-point>` keywords are not specified, making the `<control-point>` a regular `<coordinate-value-pair>`, the coordinates are relative to the start of the curve. In other words, `start` is the default setting.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/security/attacks/ssrf/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ GET /fetch-image?url=https://example.com/image.png

The server has access to the company's intranet.

If the server does not validate the URL parameter is is given, then the client can extract sensitive data by passing intranet URLs to the API:
If the server does not validate the URL parameter is given, then the client can extract sensitive data by passing intranet URLs to the API:

```js
fetch("https://example.org/fetch-image?url=http://localhost:443/admin/org.png");
Expand Down