Skip to content

Commit

Permalink
Synchronize with BCD v5.5.35 (#34414)
Browse files Browse the repository at this point in the history
Co-authored-by: OnkarRuikar <[email protected]>
  • Loading branch information
OnkarRuikar and OnkarRuikar authored Jun 26, 2024
1 parent 0db0da4 commit bba05bf
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 11 deletions.
4 changes: 3 additions & 1 deletion files/en-us/web/api/blob/bytes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "Blob: bytes() method"
short-title: bytes()
slug: Web/API/Blob/bytes
page-type: web-api-instance-method
status:
- experimental
browser-compat: api.Blob.bytes
---

{{APIRef("File API")}}{{AvailableInWorkers}}
{{APIRef("File API")}}{{AvailableInWorkers}}{{SeeCompatTable}}

The **`bytes()`** method of the {{domxref("Blob")}} interface returns a {{jsxref("Promise")}} that resolves with a {{jsxref("Uint8Array")}} containing the contents of the blob as an array of bytes.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/blob/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The APIs accepting `Blob` objects are also listed in the {{DOMxRef("File")}} doc

- {{DOMxRef("Blob.arrayBuffer()")}}
- : Returns a promise that resolves with an {{jsxref("ArrayBuffer")}} containing the entire contents of the `Blob` as binary data.
- {{DOMxRef("Blob.bytes()")}}
- {{DOMxRef("Blob.bytes()")}} {{experimental_inline}}
- : Returns a promise that resolves with an {{jsxref("Uint8Array")}} containing the contents of the `Blob`.
- {{DOMxRef("Blob.slice()")}}
- : Returns a new `Blob` object containing the data in the specified range of bytes of the blob on which it's called.
Expand Down
3 changes: 2 additions & 1 deletion files/en-us/web/api/htmlelement/anchorelement/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ short-title: anchorElement
slug: Web/API/HTMLElement/anchorElement
page-type: web-api-instance-property
status:
- experimental
- non-standard
browser-compat: api.HTMLElement.anchorElement
---

{{APIRef("HTML DOM")}}{{Non-standard_Header}}
{{APIRef("HTML DOM")}}{{Non-standard_Header}}{{SeeCompatTable}}

The **`anchorElement`** property of the {{domxref("HTMLElement")}} interface returns a reference to the element's anchor element. This works only in the case of elements associated with their anchors via the [`anchor`](/en-US/docs/Web/HTML/Global_attributes/anchor) HTML attribute, not elements associated with their anchors via the CSS {{cssxref("anchor-name")}} and {{cssxref("position-anchor")}} properties.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmlelement/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ _Also inherits properties from its parent, {{DOMxRef("Element")}}._
- : A string representing the access key assigned to the element.
- {{DOMxRef("HTMLElement.accessKeyLabel")}} {{ReadOnlyInline}}
- : Returns a string containing the element's assigned access key.
- {{DOMxRef("HTMLElement.anchorElement")}} {{ReadOnlyInline}}&nbsp;{{non-standard_inline}}
- {{DOMxRef("HTMLElement.anchorElement")}} {{ReadOnlyInline}}&nbsp;{{non-standard_inline}} {{experimental_inline}}
- : Returns a reference to the element's anchor element, or `null` if it doesn't have one.
- {{DOMxRef("HTMLElement.attributeStyleMap")}} {{ReadOnlyInline}}
- : A {{DOMxRef("StylePropertyMap")}} representing the declarations of the element's [`style`](/en-US/docs/Web/HTML/Global_attributes#style) attribute.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/pagerevealevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ window.onpagehide = () => requestAnimationFrame(() => reveal());

## Constructor

- {{domxref("PageRevealEvent.PageRevealEvent", "PageRevealEvent()")}}
- {{domxref("PageRevealEvent.PageRevealEvent", "PageRevealEvent()")}} {{experimental_inline}}
- : Creates a new {{domxref("PageRevealEvent")}} object instance.

## Instance properties
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/pageswapevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The `pageswap` event is fired when you navigate across documents, when the previ

## Constructor

- {{domxref("PageSwapEvent.PageSwapEvent", "PageSwapEvent()")}}
- {{domxref("PageSwapEvent.PageSwapEvent", "PageSwapEvent()")}} {{experimental_inline}}
- : Creates a new {{domxref("PageSwapEvent")}} object instance.

## Instance properties
Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/pushmessagedata/bytes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "PushMessageData: bytes() method"
short-title: bytes()
slug: Web/API/PushMessageData/bytes
page-type: web-api-instance-method
status:
- experimental
browser-compat: api.PushMessageData.bytes
---

{{APIRef("Push API")}}{{SecureContext_Header}}{{AvailableInWorkers("service")}}
{{APIRef("Push API")}}{{SecureContext_Header}}{{AvailableInWorkers("service")}}{{SeeCompatTable}}

The **`bytes()`** method of the {{domxref("PushMessageData")}} interface extracts push message data as an {{jsxref("Uint8Array")}} object.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/pushmessagedata/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ None.
- : Extracts the data as an {{jsxref("ArrayBuffer")}} object.
- {{domxref("PushMessageData.blob()")}}
- : Extracts the data as a {{domxref("Blob")}} object.
- {{domxref("PushMessageData.bytes()")}}
- {{domxref("PushMessageData.bytes()")}} {{experimental_inline}}
- : Extracts the data as a {{jsxref("Uint8Array")}} object.
- {{domxref("PushMessageData.json()")}}
- : Extracts the data as a [JSON](/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON) object.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/viewtransition/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ When a view transition is triggered by a `startViewTransition()` call (or a page
- : A {{jsxref("Promise")}} that fulfills once the transition animation is finished, and the new page view is visible and interactive to the user.
- {{domxref("ViewTransition.ready")}} {{ReadOnlyInline}}
- : A {{jsxref("Promise")}} that fulfills once the pseudo-element tree is created and the transition animation is about to start.
- {{domxref("ViewTransition.updateCallbackDone")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("ViewTransition.updateCallbackDone")}} {{ReadOnlyInline}}
- : A {{jsxref("Promise")}} that fulfills when the promise returned by the {{domxref("Document.startViewTransition()", "document.startViewTransition()")}} method's callback fulfills.

## Instance methods
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/html/attributes/rel/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ The `rel` attribute has no default value. If the attribute is omitted or if none
- : Relevant for the {{htmlelement('link')}} element both in the {{htmlelement('body')}} and {{htmlelement('head')}}, it tells the browser to preemptively perform DNS resolution for the target resource's origin. Useful for resources the user will likely need, it helps reduce latency and thereby improves performance when the user does access the resources as the browser preemptively performed DNS resolution for the origin of the specified resource. See [dns-prefetch](/en-US/docs/Web/Performance/dns-prefetch) described in [resource hints](https://w3c.github.io/resource-hints/).
- `external`
- : Relevant to {{htmlelement('form')}}, {{htmlelement('a')}}, and {{htmlelement('area')}}, it indicates the referenced document is not part of the current site. This can be used with attribute selectors to style external links in a way that indicates to the user that they will be leaving the current site.
- `expect`
- `expect` {{experimental_inline}}

- : Allows the page to be [render-blocked](/en-US/docs/Glossary/Render_blocking) until the essential parts of the document are parsed so it will render consistently. Note that render-blocking occurs only when supplemented with the [`blocking="render"`](#blocking) attribute.

Expand Down
3 changes: 2 additions & 1 deletion files/en-us/web/html/global_attributes/anchor/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ title: anchor
slug: Web/HTML/Global_attributes/anchor
page-type: html-attribute
status:
- experimental
- non-standard
browser-compat: html.global_attributes.anchor
---

{{HTMLSidebar("Global_attributes")}}{{Non-standard_Header}}
{{HTMLSidebar("Global_attributes")}}{{Non-standard_Header}}{{SeeCompatTable}}

The **`anchor`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is used to associate a positioned element with an anchor element. The attribute's value is the [`id`](/en-US/docs/Web/HTML/Global_attributes/id) value of the element you want to anchor the positioned element to. The element can then be positioned using [CSS anchor positioning](/en-US/docs/Web/CSS/CSS_anchor_positioning/Using).

Expand Down

0 comments on commit bba05bf

Please sign in to comment.