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

Synchronize with BCD v5.2.0 #20203

Merged
merged 2 commits into from
Sep 1, 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
18 changes: 12 additions & 6 deletions files/en-us/web/css/@document/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ tags:
- CSS
- Reference
- Deprecated
- Non-standard
browser-compat: css.at-rules.document
---
{{CSSRef}}{{Deprecated_header}}
{{CSSRef}}{{Deprecated_header}}{{Non-standard_header}}

The **`@document`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-rule) restricts the style rules contained within it based on the URL of the document. It is designed primarily for user-defined style sheets, though it can be used on author-defined style sheets, too.

Expand All @@ -24,11 +25,16 @@ The **`@document`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-

An `@document` rule can specify one or more matching functions. If any of the functions apply to a given URL, the rule will take effect on that URL. The functions available are:

- `url()`, which matches an exact URL.
- `url-prefix()`, which matches if the document URL starts with the value provided.
- `domain()`, which matches if the document URL is on the domain provided (or a subdomain of it).
- `media-document()`, with the parameter of video, image, plugin or all.
- `regexp()`, which matches if the document URL is matched by the [regular expression](/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) provided. The expression must match the entire URL.
- `url()`
- : Matches an exact URL.
- `url-prefix()`
- : Matches if the document URL starts with the value provided.
- `domain()`
- : Matches if the document URL is on the domain provided (or a subdomain of it).
- `media-document()`
- : Matches the media according to the string in parameter, one of `video`, `image`, `plugin` or `all`.
- `regexp()` {{Deprecated_Inline}} {{Non-standard_Inline}}
- : Matches if the document URL is matched by the [regular expression](/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) provided. The expression must match the entire URL.

The values provided to the `url()`, `url-prefix()`, `domain()`, and `media-document()` functions can be optionally enclosed by single or double quotes. The values provided to the `regexp()` function _must_ be enclosed in quotes.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/http/headers/pragma/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- Response header
browser-compat: http.headers.Pragma
---
{{HTTPSidebar}}
{{HTTPSidebar}}{{Deprecated_Header}}

The **`Pragma`** HTTP/1.0 general header is an
implementation-specific header that may have various effects along the request-response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ tags:
browser-compat: javascript.builtins.Intl.Segmenter.Segmenter
---

{{JSRef}}

The **`Intl.Segmenter()`** constructor creates [`Intl.Segmenter`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter) objects that enable locale-sensitive text segmentation.

{{EmbedInteractiveExample("pages/js/intl-segmenter.html")}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/svg/attribute/clip/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ slug: Web/SVG/Attribute/clip
tags:
- SVG
- SVG Attribute
- Deprecated
browser-compat: svg.attributes.presentation.clip
---
{{SVGRef}}{{deprecated_header}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/svg/attribute/viewtarget/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ slug: Web/SVG/Attribute/viewTarget
tags:
- SVG
- SVG Attribute
- Deprecated
browser-compat: svg.elements.view.viewTarget
---
{{SVGRef}}{{Deprecated_Header}}
Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/svg/element/a/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ svg|a:hover, svg|a:active {

## Attributes

- {{htmlattrxref("download", "a")}} {{experimental_inline}}
- {{htmlattrxref("download", "a")}}
- : Instructs browsers to download a {{Glossary("URL")}} instead of navigating to it, so the user will be prompted to save it as a local file.
_Value type_: **\<string>** ; _Default value_: _none_; _Animatable_: **no**
- {{SVGAttr("href")}}
Expand All @@ -78,10 +78,10 @@ svg|a:hover, svg|a:active {
- {{htmlattrxref("ping", "a")}} {{experimental_inline}}
- : A space-separated list of URLs to which, when the hyperlink is followed, {{HTTPMethod("POST")}} requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking. For a more widely-supported feature addressing the same use cases, see {{domxref("Navigator.sendBeacon()")}}.
_Value type_: **[\<list-of-URLs>](/en-US/docs/Web/SVG/Content_type#list-of-ts)** ; _Default value_: _none_; _Animatable_: **no**
- {{htmlattrxref("referrerpolicy", "a")}} {{experimental_inline}}
- {{htmlattrxref("referrerpolicy", "a")}}
- : Which [referrer](/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the {{Glossary("URL")}}.
_Value type_: `no-referrer`|`no-referrer-when-downgrade`|`same-origin`|`origin`|`strict-origin`|`origin-when-cross-origin`|`strict-origin-when-cross-origin`|`unsafe-url` ; _Default value_: _none_; _Animatable_: **no**
- {{htmlattrxref("rel", "a")}} {{experimental_inline}}
- {{htmlattrxref("rel", "a")}}
- : The relationship of the target object to the link object.
_Value type_: **[\<list-of-Link-Types>](/en-US/docs/Web/HTML/Link_types)** ; _Default value_: _none_; _Animatable_: **yes**
- {{SVGAttr("target")}}
Expand Down
14 changes: 7 additions & 7 deletions files/en-us/web/svg/element/altglyph/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@ The **`<altGlyph>`** SVG element allows sophisticated selection of the glyphs us

## Attributes

- {{SVGAttr("x")}}
- {{SVGAttr("x")}} {{Deprecated_Inline}}
- : This attribute defines the corresponding absolute x-coordinates for rendering the element.
_Value type_: [**\<list-of-coordinates>**](/en-US/docs/Web/SVG/Content_type#list-of-ts) ; _Default value_: Absolute x-coordinate of ancestor {{SVGElement("text")}} or {{SVGElement("tspan")}}; _Animatable_: **yes**
- {{SVGAttr("y")}}
- {{SVGAttr("y")}} {{Deprecated_Inline}}
- : This attribute defines the corresponding absolute y-coordinates for rendering the element.
_Value type_: [**\<list-of-coordinates>**](/en-US/docs/Web/SVG/Content_type#list-of-ts) ; _Default value_: Absolute y-coordinate of ancestor {{SVGElement("text")}} or {{SVGElement("tspan")}}; _Animatable_: **yes**
- {{SVGAttr("dx")}}
- {{SVGAttr("dx")}} {{Deprecated_Inline}}
- : This attribute indicates a shift along the x-axis on the position of the element.
_Value type_: [**\<list-of-coordinates>**](/en-US/docs/Web/SVG/Content_type#list-of-ts) ; _Default value_: Relative x-coordinate of ancestor {{SVGElement("text")}} or {{SVGElement("tspan")}}; _Animatable_: **yes**
- {{SVGAttr("dy")}}
- {{SVGAttr("dy")}} {{Deprecated_Inline}}
- : This attribute indicates a shift along the x-axis on the position of the element.
_Value type_: [**\<list-of-coordinates>**](/en-US/docs/Web/SVG/Content_type#list-of-ts) ; _Default value_: Relative y-coordinate of ancestor {{SVGElement("text")}} or {{SVGElement("tspan")}}; _Animatable_: **yes**
- {{SVGAttr("rotate")}}
- {{SVGAttr("rotate")}} {{Deprecated_Inline}}
- : This attribute defines the supplemental rotation that will be applied to the element.
_Value type_: [**\<list-of-numbers>**](/en-US/docs/Web/SVG/Content_type#list-of-ts) ; _Default value_: _none_; _Animatable_: **yes (non-additive)**
- {{SVGAttr("glyphRef")}}
- {{SVGAttr("glyphRef")}} {{Deprecated_Inline}}
- : The glyph identifier, the format of which is dependent on the format defined by the `format` attribute of the given font.
_Value type_: **\<string>** ; _Default value_: _none_; _Animatable_: **no**
- {{SVGAttr("format")}}
- {{SVGAttr("format")}} {{Deprecated_Inline}}
- : The format of the given font.
_Value type_: **\<string**[**>**](/en-US/docs/Web/SVG/Content_type#percentage) ; _Default value_: _none_; _Animatable_: **no**
- {{SVGAttr("xlink:href")}}
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/svg/element/textpath/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ html,body,svg { height:100% }
- {{SVGAttr("method")}}
- : Which method to render individual glyphs along the path.
_Value type_: `align`|`stretch` ; _Default value_: `align`; _Animatable_: **yes**
- {{SVGAttr("path")}}
- {{SVGAttr("path")}} {{Experimental_Inline}}
- : The path on which the text should be rendered.
_Value type_: [**\<path_data>**](/en-US/docs/Web/SVG/Content_type#path_data) ; _Default value_: none; _Animatable_: **yes**
- {{SVGAttr("side")}}
- {{SVGAttr("side")}} {{Experimental_Inline}}
- : Which side of the path the text should be rendered.
_Value type_: `left`|`right` ; _Default value_: `left`; _Animatable_: **yes**
- {{SVGAttr("spacing")}}
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/svg/element/view/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ A view is a defined way to view the image, like a zoom level or a detail view.
- {{SVGAttr("viewBox")}}
- {{SVGAttr("preserveAspectRatio")}}
- {{SVGAttr("zoomAndPan")}} {{Deprecated_Inline}} {{Non-standard_Inline}}
- {{SVGAttr("viewTarget")}}
- {{SVGAttr("viewTarget")}} {{Deprecated_Inline}}

## Example

Expand Down