Skip to content

Commit

Permalink
Merge branch 'main' into http-headers-s
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmth authored Nov 27, 2024
2 parents ba25891 + c3d2d71 commit 6014aa1
Show file tree
Hide file tree
Showing 52 changed files with 2,733 additions and 706 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,15 @@ The `chrome_settings_overrides` key is an object that may have the following pro
<dt><code>prepopulated_id</code> {{optional_inline}}</dt>
<dd>The ID of a built-in search engine to use.</dd>
<dt><code>search_url_get_params</code> {{optional_inline}}</dt>
<dd>String: GET parameters to send to <code>search_url</code>.</dd>
<dd>String: GET parameters to send to <code>search_url</code>. Available only in Firefox, for optimal cross-browser compatibility use <code>search_url</code> instead.</dd>
<dt><code>search_url_post_params</code> {{optional_inline}}</dt>
<dd>String: POST parameters to send to <code>search_url</code>.</dd>
<dt><code>suggest_url</code> {{optional_inline}}</dt>
<dd>
String: URL used for search suggestions. This must be an HTTPS URL.
</dd>
<dt><code>suggest_url_get_params</code> {{optional_inline}}</dt>
<dd>String: GET parameters to send to <code>suggest_url</code>.</dd>
<dd>String: GET parameters to send to <code>suggest_url</code>. Available only in Firefox, for optimal cross-browser compatibility use <code>suggest_url</code> instead.</dd>
<dt><code>suggest_url_post_params</code> {{optional_inline}}</dt>
<dd>String: POST parameters to send to <code>suggest_url</code>.</dd>
</dl>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/mozilla/firefox/releases/133/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This article provides information about the changes in Firefox 133 that affect d

### HTML

No notable changes
- The [`viewport <meta>` tag](/en-US/docs/Web/HTML/Viewport_meta_tag) now supports the [`interactive-widgets`](/en-US/docs/Web/HTML/Viewport_meta_tag#the_effect_of_interactive_ui_widgets) attribute, this influences the size of the viewport when common UI widgets, such as virtual keyboards, are added to the screen. ([Firefox bug 1831649](https://bugzil.la/1831649) and [Firefox bug 1920755](https://bugzil.la/1920755)).

### CSS

Expand Down
53 changes: 53 additions & 0 deletions files/en-us/web/api/htmlsourceelement/media/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
title: "HTMLSourceElement: media property"
short-title: media
slug: Web/API/HTMLSourceElement/media
page-type: web-api-instance-property
browser-compat: api.HTMLSourceElement.media
---

{{APIRef("HTML DOM")}}

The **`media`** property of the {{domxref("HTMLSourceElement")}} interface is a string representing the intended destination medium for the resource. The value is a [media query](/en-US/docs/Web/CSS/CSS_media_queries/Using_media_queries), which is a comma separated list of media-types, media-features, and logical operators.

It reflects the `media` attribute of the {{HTMLElement("source")}} element.

## Value

A string.

## Examples

```html
<source
id="el"
src="largeVideo.mov"
type="video/quicktime"
media="screen and (min-width: 600px)" />
```

```js
const el = document.getElementById("el");
console.log(el.media); // Output: "screen and (min-width: 600px)"
el.media = "(min-width: 800px)"; // Updates the media value
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("HTMLSourceElement.type")}}
- {{domxref("HTMLSourceElement.sizes")}}
- {{domxref("HTMLSourceElement.src")}}
- {{domxref("HTMLSourceElement.srcset")}}
- {{htmlelement("source")}}
- {{htmlelement("picture")}}
- {{htmlelement("audio")}}
- {{htmlelement("video")}}
- [Using media queries](/en-US/docs/Web/CSS/CSS_media_queries/Using_media_queries)
55 changes: 55 additions & 0 deletions files/en-us/web/api/htmlsourceelement/sizes/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
title: "HTMLSourceElement: sizes property"
short-title: sizes
slug: Web/API/HTMLSourceElement/sizes
page-type: web-api-instance-property
browser-compat: api.HTMLSourceElement.sizes
---

{{APIRef("HTML DOM")}}

The **`sizes`** property of the {{domxref("HTMLSourceElement")}} interface is a string representing a list of one or more sizes, representing sizes between breakpoints, to which the resource applies.

It reflects the `sizes` attribute of the {{HTMLElement("source")}} element.

## Value

A string.

## Examples

```html
<source
id="el"
src="mediumVideo.mov"
type="video/quicktime"
sizes="((min-width: 50em) and (max-width: 60em)) 50em,
((min-width: 30em) and (max-width: 50em)) 30em" />
```

```js
const el = document.getElementById("el");
console.log(el.sizes); // Output: "((min-width: 50em) and (max-width: 60em)) 50em, ((min-width: 30em) and (max-width: 50em)) 30em"
el.sizes =
"((min-width: 50em) and (max-width: 60em)) 50em, ((min-width: 30em) and (max-width: 50em)) 30em"; // Updates the sizes value
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("HTMLImageElement.sizes")}}
- {{domxref("HTMLSourceElement.media")}}
- {{domxref("HTMLSourceElement.type")}}
- {{domxref("HTMLSourceElement.src")}}
- {{domxref("HTMLSourceElement.srcset")}}
- {{htmlelement("source")}}
- {{htmlelement("picture")}}
- {{htmlelement("audio")}}
- {{htmlelement("video")}}
51 changes: 51 additions & 0 deletions files/en-us/web/api/htmlsourceelement/src/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
title: "HTMLSourceElement: src property"
short-title: src
slug: Web/API/HTMLSourceElement/src
page-type: web-api-instance-property
browser-compat: api.HTMLSourceElement.src
---

{{APIRef("HTML DOM")}}

The **`src`** property of the {{domxref("HTMLSourceElement")}} interface is a string indicating the URL of a media resource to use as the source for the element.

It reflects the `src` attribute of the {{HTMLElement("source")}} element nested in an {{htmlelement("audio")}} or {{htmlelement("video")}} element. It has no meaning and is ignored when it is nested in a {{htmlelement("picture")}} element.

## Value

A string; the URL of a source resource to use in the element.

## Examples

```html
<source
id="el"
src="large.webp"
type="video/webp"
media="screen and (600px <= width <= 800px)" />
```

```js
const el = document.getElementById("el");
console.log(el.src); // Output: "large.webp"
el.src = "medium.webp"; // Updates the src value
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("HTMLSourceElement.type")}}
- {{domxref("HTMLSourceElement.srcset")}}
- {{domxref("HTMLSourceElement.media")}}
- {{domxref("HTMLSourceElement.sizes")}}
- {{htmlelement("source")}}
- {{htmlelement("audio")}}
- {{htmlelement("video")}}
51 changes: 51 additions & 0 deletions files/en-us/web/api/htmlsourceelement/srcset/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
title: "HTMLSourceElement: srcset property"
short-title: srcset
slug: Web/API/HTMLSourceElement/srcset
page-type: web-api-instance-property
browser-compat: api.HTMLSourceElement.srcset
---

{{APIRef("HTML DOM")}}

The **`srcset`** property of the {{domxref("HTMLSourceElement")}} interface is a string containing a comma-separated list of candidate images.

Each candidate image includes the URL of an image resource to use as the source for the element and optionally a descriptor indicating the circumstances in which the image should be used. The descriptor is either a number followed by `'w'`, indicating the element width, or a number followed by `'x'`, indicating the device pixel density.

It reflects the `srcset` attribute of the {{HTMLElement("source")}} element nested in a {{htmlelement("picture")}} element. It has no meaning and is ignored when it is nested in an {{htmlelement("audio")}} or {{htmlelement("video")}} element, which use the {{domxref("HTMLSourceElement.src", "src")}} attribute instead.

## Value

A string.

## Examples

```html
<source
id="el"
srcset="smile.png, smile-1.5x.png 1.5x, smile-2x.png 2x"
type="image/png" />
```

```js
const el = document.getElementById("el");
console.log(el.srcset); // Output: "smile.png, smile-1.5x.png 1.5x, smile-large 800w"
el.srcset = "smile.png, smile-med.png 600w, smile-large.png 800w"; // Updates the srcset value
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("HTMLSourceElement.type")}}
- {{domxref("HTMLSourceElement.src")}}
- {{domxref("HTMLSourceElement.media")}}
- {{domxref("HTMLSourceElement.sizes")}}
- {{htmlelement("source")}}
- {{htmlelement("picture")}}
54 changes: 54 additions & 0 deletions files/en-us/web/api/htmlsourceelement/type/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
title: "HTMLSourceElement: type property"
short-title: type
slug: Web/API/HTMLSourceElement/type
page-type: web-api-instance-property
browser-compat: api.HTMLSourceElement.type
---

{{APIRef("HTML DOM")}}

The **`type`** property of the {{domxref("HTMLSourceElement")}} interface is a string representing the {{glossary("MIME type")}} of the media resource.

It reflects the `type` attribute of the {{HTMLElement("source")}} element.

## Value

A string.

## Examples

```html
<source
id="el"
src="large.webp"
type="video/webp"
media="screen and (min-width: 600px)" />
```

```js
const el = document.getElementById("el");
console.log(el.type); // Output: "video/webp"
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("HTMLSourceElement.src")}}
- {{domxref("HTMLSourceElement.srcset")}}
- {{domxref("HTMLSourceElement.media")}}
- {{domxref("HTMLSourceElement.sizes")}}
- {{htmlelement("source")}}
- {{htmlelement("picture")}}
- {{htmlelement("audio")}}
- {{htmlelement("video")}}
- [Media types found on the web](/en-US/docs/Web/Media/Formats)
- [Important MIME types for web developers](/en-US/docs/Web/HTTP/MIME_types#important_mime_types_for_web_developers)
- {{domxref("Media Capabilities API")}}
3 changes: 1 addition & 2 deletions files/en-us/web/api/navigator/globalprivacycontrol/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ slug: Web/API/Navigator/globalPrivacyControl
page-type: web-api-instance-property
status:
- experimental
- non-standard
browser-compat: api.Navigator.globalPrivacyControl
---

{{APIRef("DOM")}}{{SeeCompatTable}}{{non-standard_header}}
{{APIRef("DOM")}}{{SeeCompatTable}}

The **`Navigator.globalPrivacyControl`** read-only property returns the user's [Global Privacy Control](https://globalprivacycontrol.org/) setting for the current website.
This setting indicates whether the user consents to the website or service selling or sharing their personal information with third parties.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ _Doesn't inherit any properties._

- {{domxref("Navigator.buildID")}} {{ReadOnlyInline}} {{Non-standard_Inline}}
- : Returns the build identifier of the browser. In modern browsers this property now returns a fixed timestamp as a privacy measure, e.g. `20181001000000` in Firefox 64 onwards.
- {{domxref("Navigator.globalPrivacyControl")}} {{ReadOnlyInline}} {{Experimental_Inline}} {{non-standard_inline}}
- {{domxref("Navigator.globalPrivacyControl")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- : Returns a boolean indicating a user's consent to their information being shared or sold.
- {{domxref("Navigator.standalone")}} {{Non-standard_Inline}}
- : Returns a boolean indicating whether the browser is running in standalone mode. Available on Apple's iOS Safari only.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ slug: Web/API/WorkerNavigator/globalPrivacyControl
page-type: web-api-instance-property
status:
- experimental
- non-standard
browser-compat: api.WorkerNavigator.globalPrivacyControl
---

{{APIRef("DOM")}}{{SeeCompatTable}}{{non-standard_header}}{{AvailableInWorkers("worker")}}
{{APIRef("DOM")}}{{SeeCompatTable}}{{AvailableInWorkers("worker")}}

The **`WorkerNavigator.globalPrivacyControl`** read-only property returns the user's [Global Privacy Control](https://globalprivacycontrol.org/) setting for the current website.
This setting indicates whether the user consents to the website or service selling or sharing their personal information with third parties.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/workernavigator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ _The `WorkerNavigator` interface doesn't inherit any property._
- : Provides a {{DOMxRef("NetworkInformation")}} object containing information about the network connection of a device.
- {{domxref("WorkerNavigator.deviceMemory")}} {{ReadOnlyInline}} {{SecureContext_Inline}}
- : Returns the amount of device memory in gigabytes. This value is an approximation given by rounding to the nearest power of 2 and dividing that number by 1024.
- {{domxref("WorkerNavigator.globalPrivacyControl")}} {{ReadOnlyInline}} {{Experimental_Inline}} {{non-standard_inline}}
- {{domxref("WorkerNavigator.globalPrivacyControl")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- : Returns a boolean indicating a user's consent to their information being shared or sold.
- {{domxref("WorkerNavigator.gpu")}} {{ReadOnlyInline}} {{Experimental_Inline}} {{SecureContext_Inline}}
- : Returns the {{domxref("GPU")}} object for the current worker context. The entry point for the {{domxref("WebGPU_API", "WebGPU API", "", "nocode")}}.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/appearance/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Some examples are provided, but the list is not exhaustive.

- `none`

- : Hides certain features of widgets, such as arrow displayed in select element, indicating that list can be expanded.
- : If the element is a widget (native form control), it will be forced to use a standardized primitive appearance instead of a platform-native or operating system specific appearance, supporting the usual rules of CSS. This value has no effect on non-widget elements, including replaced elements like {{htmlelement("img")}} and {{htmlelement("video")}}.

- `auto`

Expand Down
4 changes: 0 additions & 4 deletions files/en-us/web/css/at-rule-functions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ The {{CSSxRef("@import")}} at-rule is used to import styles from other styleshee

- {{CSSxRef("@import", "@import url()")}}
- : Imports a stylesheet file from the specified URL.
- {{CSSxRef("@import", "@import src()")}}
- : Imports a stylesheet file from the specified source.
- {{CSSxRef("@import", "@import supports()")}}
- : Imports a stylesheet file based on browser support.
- {{CSSxRef("@import", "@import layer()")}}
Expand All @@ -49,8 +47,6 @@ The {{CSSxRef("@namespace")}} at-rule is used to specify XML namespaces to be us

- {{CSSxRef("@namespace", "@namespace url()")}}
- : Defines XML namespace from the specified URL.
- {{CSSxRef("@namespace", "@namespace src()")}}
- : Defines XML namespace from the specified source.

## @container functions

Expand Down
Loading

0 comments on commit 6014aa1

Please sign in to comment.