diff --git a/files/en-us/web/api/csscontainerrule/conditions/index.md b/files/en-us/web/api/csscontainerrule/conditions/index.md index d0e35998d1fe15f..64550d6b9334561 100644 --- a/files/en-us/web/api/csscontainerrule/conditions/index.md +++ b/files/en-us/web/api/csscontainerrule/conditions/index.md @@ -3,12 +3,10 @@ title: "CSSContainerRule: conditions property" short-title: conditions slug: Web/API/CSSContainerRule/conditions page-type: web-api-instance-property -status: - - experimental browser-compat: api.CSSContainerRule.conditions --- -{{ APIRef("CSSOM") }}{{SeeCompatTable}} +{{ APIRef("CSSOM") }} The read-only **`conditions`** property of the {{domxref("CSSContainerRule")}} interface represents an associated CSS {{cssxref("@container")}} at-rule as an array of objects, where each object represents a single container condition. diff --git a/files/en-us/web/api/csscontainerrule/index.md b/files/en-us/web/api/csscontainerrule/index.md index a6c34437184fe36..0921a8404e813be 100644 --- a/files/en-us/web/api/csscontainerrule/index.md +++ b/files/en-us/web/api/csscontainerrule/index.md @@ -15,7 +15,7 @@ The **`CSSContainerRule`** interface represents a single CSS {{cssxref("@contain _Inherits properties from its ancestors {{domxref("CSSConditionRule")}}, {{domxref("CSSGroupingRule")}}, and {{domxref("CSSRule")}}._ -- {{domxref("CSSContainerRule.conditions")}} {{ReadOnlyInline}} {{experimental_inline}} +- {{domxref("CSSContainerRule.conditions")}} {{ReadOnlyInline}} - : Returns an array of objects, each of which specifies a container condition in a {{cssxref("@container")}} rule. The objects have a `name` string property and a `query` string property, either of which may be the empty string if not defined. The `name` represents the name of a container, and the `query` represents the set of feature tests that must be true for the particular condition to apply. diff --git a/files/en-us/web/api/request/destination/index.md b/files/en-us/web/api/request/destination/index.md index 13d822f6009c37f..b8422b936f1d66a 100644 --- a/files/en-us/web/api/request/destination/index.md +++ b/files/en-us/web/api/request/destination/index.md @@ -68,7 +68,7 @@ Possible values are: - : The target is a [speculation rules](/en-US/docs/Web/API/Speculation_Rules_API) JSON document. - `"style"` - : The target is a style -- `"text"` +- `"text"` {{experimental_inline}} - : The target is a text file. - `"track"` - : The target is an HTML {{HTMLElement("track")}}. diff --git a/files/en-us/web/api/xrview/index/index.md b/files/en-us/web/api/xrview/index/index.md index 9ed3ddd5b286046..48ca3d104ea6e2f 100644 --- a/files/en-us/web/api/xrview/index/index.md +++ b/files/en-us/web/api/xrview/index/index.md @@ -3,10 +3,12 @@ title: "XRView: index property" short-title: index slug: Web/API/XRView/index page-type: web-api-instance-property +status: + - experimental browser-compat: api.XRView.index --- -{{APIRef("WebXR Device API")}}{{SecureContext_Header}} +{{APIRef("WebXR Device API")}}{{SecureContext_Header}}{{SeeCompatTable}} The **`index`** read-only property of the {{domxref("XRView")}} interface indicates the index of the current `XRView` in the {{domxref("XRViewerPose.views")}} array. diff --git a/files/en-us/web/api/xrvisibilitymaskchangeevent/eye/index.md b/files/en-us/web/api/xrvisibilitymaskchangeevent/eye/index.md index f167ff01c9d765f..49f36d6c38fca5b 100644 --- a/files/en-us/web/api/xrvisibilitymaskchangeevent/eye/index.md +++ b/files/en-us/web/api/xrvisibilitymaskchangeevent/eye/index.md @@ -3,10 +3,12 @@ title: "XRVisibilityMaskChangeEvent: eye property" short-title: eye slug: Web/API/XRVisibilityMaskChangeEvent/eye page-type: web-api-instance-property +status: + - experimental browser-compat: api.XRVisibilityMaskChangeEvent.eye --- -{{APIRef("WebXR Device API")}}{{SecureContext_Header}} +{{APIRef("WebXR Device API")}}{{SecureContext_Header}}{{SeeCompatTable}} The **`eye`** read-only property of the {{domxref("XRVisibilityMaskChangeEvent")}} interface indicates the eye the mask applies to. diff --git a/files/en-us/web/api/xrvisibilitymaskchangeevent/index.md b/files/en-us/web/api/xrvisibilitymaskchangeevent/index.md index f245e906c026ba4..12b94dae19a014f 100644 --- a/files/en-us/web/api/xrvisibilitymaskchangeevent/index.md +++ b/files/en-us/web/api/xrvisibilitymaskchangeevent/index.md @@ -2,10 +2,12 @@ title: XRVisibilityMaskChangeEvent slug: Web/API/XRVisibilityMaskChangeEvent page-type: web-api-interface +status: + - experimental browser-compat: api.XRVisibilityMaskChangeEvent --- -{{APIRef("WebXR Device API")}}{{SecureContext_Header}} +{{APIRef("WebXR Device API")}}{{SecureContext_Header}}{{SeeCompatTable}} The **`XRVisibilityMaskChangeEvent`** of the [WebXR Device API](/en-US/docs/Web/API/WebXR_Device_API) describes the portion of an {{domxref("XRView")}} visible to the user after the view has changed, for example by specifying the eye that the view is relevant to, and the vertices of a visibility mask that defines the visible part of the view. This enables performance improvements by allowing the browser to draw only the visible part of the updated view. @@ -15,22 +17,22 @@ An `XRVisibilityMaskChangeEvent` object is made available as the event object of ## Constructor -- {{domxref("XRVisibilityMaskChangeEvent.XRVisibilityMaskChangeEvent", "XRVisibilityMaskChangeEvent()")}} +- {{domxref("XRVisibilityMaskChangeEvent.XRVisibilityMaskChangeEvent", "XRVisibilityMaskChangeEvent()")}} {{experimental_inline}} - : Creates and returns a new `XRVisibilityMaskChangeEvent` object. ## Instance properties _In addition to properties inherited from its parent interface, {{domxref("Event")}}, `XRVisibilityMaskChangeEvent` provides the following:_ -- {{domxref("XRVisibilityMaskChangeEvent.eye", "eye")}} {{ReadOnlyInline}} +- {{domxref("XRVisibilityMaskChangeEvent.eye", "eye")}} {{ReadOnlyInline}} {{experimental_inline}} - : The eye the mask applies to. -- {{domxref("XRVisibilityMaskChangeEvent.index", "index")}} {{ReadOnlyInline}} +- {{domxref("XRVisibilityMaskChangeEvent.index", "index")}} {{ReadOnlyInline}} {{experimental_inline}} - : The index of the current {{domxref("XRView")}} in the {{domxref("XRViewerPose.views")}} array. -- {{domxref("XRVisibilityMaskChangeEvent.indices", "indices")}} {{ReadOnlyInline}} +- {{domxref("XRVisibilityMaskChangeEvent.indices", "indices")}} {{ReadOnlyInline}} {{experimental_inline}} - : Specifies the index position of each coordinate pair (not individual array index) inside the [`vertices`](#vertices) array that define the triangles used to draw the currently visible part of the scene displayed in the {{domxref("XRView")}}. -- {{domxref("XRVisibilityMaskChangeEvent.session", "session")}} {{ReadOnlyInline}} +- {{domxref("XRVisibilityMaskChangeEvent.session", "session")}} {{ReadOnlyInline}} {{experimental_inline}} - : The {{domxref("XRSession")}} to which the event belongs. -- {{domxref("XRVisibilityMaskChangeEvent.vertices", "vertices")}} {{ReadOnlyInline}} +- {{domxref("XRVisibilityMaskChangeEvent.vertices", "vertices")}} {{ReadOnlyInline}} {{experimental_inline}} - : An array representing the set of possible coordinate values that may be used in a visibility mask. If this array is empty, the whole region of the `XRView` will be drawn. ## Instance methods diff --git a/files/en-us/web/api/xrvisibilitymaskchangeevent/index/index.md b/files/en-us/web/api/xrvisibilitymaskchangeevent/index/index.md index 39abac2627418ea..e5b3abd796646db 100644 --- a/files/en-us/web/api/xrvisibilitymaskchangeevent/index/index.md +++ b/files/en-us/web/api/xrvisibilitymaskchangeevent/index/index.md @@ -3,10 +3,12 @@ title: "XRVisibilityMaskChangeEvent: index property" short-title: index slug: Web/API/XRVisibilityMaskChangeEvent/index page-type: web-api-instance-property +status: + - experimental browser-compat: api.XRVisibilityMaskChangeEvent.index --- -{{APIRef("WebXR Device API")}}{{SecureContext_Header}} +{{APIRef("WebXR Device API")}}{{SecureContext_Header}}{{SeeCompatTable}} The **`index`** read-only property of the {{domxref("XRVisibilityMaskChangeEvent")}} interface indicates the index of the current {{domxref("XRView")}} in the {{domxref("XRViewerPose.views")}} array. diff --git a/files/en-us/web/api/xrvisibilitymaskchangeevent/indices/index.md b/files/en-us/web/api/xrvisibilitymaskchangeevent/indices/index.md index 3d2015d89c5d18e..ff5c61e455e6ddd 100644 --- a/files/en-us/web/api/xrvisibilitymaskchangeevent/indices/index.md +++ b/files/en-us/web/api/xrvisibilitymaskchangeevent/indices/index.md @@ -3,10 +3,12 @@ title: "XRVisibilityMaskChangeEvent: indices property" short-title: indices slug: Web/API/XRVisibilityMaskChangeEvent/indices page-type: web-api-instance-property +status: + - experimental browser-compat: api.XRVisibilityMaskChangeEvent.indices --- -{{APIRef("WebXR Device API")}}{{SecureContext_Header}} +{{APIRef("WebXR Device API")}}{{SecureContext_Header}}{{SeeCompatTable}} The **`indices`** read-only property of the {{domxref("XRVisibilityMaskChangeEvent")}} interface specifies the index position of each coordinate pair (not individual array index) inside the {{domxref("XRVisibilityMaskChangeEvent.vertices", "vertices")}} array that define the triangles used to draw the currently visible part of the scene displayed in the {{domxref("XRView")}}. If this array is empty, the whole region of the `XRView` will be drawn. diff --git a/files/en-us/web/api/xrvisibilitymaskchangeevent/session/index.md b/files/en-us/web/api/xrvisibilitymaskchangeevent/session/index.md index d44934a16dc1867..b71f14e74a53a40 100644 --- a/files/en-us/web/api/xrvisibilitymaskchangeevent/session/index.md +++ b/files/en-us/web/api/xrvisibilitymaskchangeevent/session/index.md @@ -3,10 +3,12 @@ title: "XRVisibilityMaskChangeEvent: session property" short-title: session slug: Web/API/XRVisibilityMaskChangeEvent/session page-type: web-api-instance-property +status: + - experimental browser-compat: api.XRVisibilityMaskChangeEvent.session --- -{{APIRef("WebXR Device API")}}{{SecureContext_Header}} +{{APIRef("WebXR Device API")}}{{SecureContext_Header}}{{SeeCompatTable}} The **`session`** read-only property of the {{domxref("XRVisibilityMaskChangeEvent")}} interface indicates the {{domxref("XRSession")}} to which the event belongs. diff --git a/files/en-us/web/api/xrvisibilitymaskchangeevent/vertices/index.md b/files/en-us/web/api/xrvisibilitymaskchangeevent/vertices/index.md index b81dad99f9d4bcc..1158b8e62822aba 100644 --- a/files/en-us/web/api/xrvisibilitymaskchangeevent/vertices/index.md +++ b/files/en-us/web/api/xrvisibilitymaskchangeevent/vertices/index.md @@ -3,10 +3,12 @@ title: "XRVisibilityMaskChangeEvent: vertices property" short-title: vertices slug: Web/API/XRVisibilityMaskChangeEvent/vertices page-type: web-api-instance-property +status: + - experimental browser-compat: api.XRVisibilityMaskChangeEvent.vertices --- -{{APIRef("WebXR Device API")}}{{SecureContext_Header}} +{{APIRef("WebXR Device API")}}{{SecureContext_Header}}{{SeeCompatTable}} The read-only **`vertices`** property of the {{domxref("XRVisibilityMaskChangeEvent")}} interface is an array representing all the coordinate values that may be used in the visibility mask. If this array is empty, the whole region of the `XRView` will be drawn. diff --git a/files/en-us/web/api/xrvisibilitymaskchangeevent/xrvisibilitymaskchangeevent/index.md b/files/en-us/web/api/xrvisibilitymaskchangeevent/xrvisibilitymaskchangeevent/index.md index 9493a1b67adde46..52092c1960dae58 100644 --- a/files/en-us/web/api/xrvisibilitymaskchangeevent/xrvisibilitymaskchangeevent/index.md +++ b/files/en-us/web/api/xrvisibilitymaskchangeevent/xrvisibilitymaskchangeevent/index.md @@ -3,10 +3,12 @@ title: "XRVisibilityMaskChangeEvent: XRVisibilityMaskChangeEvent() constructor" short-title: XRVisibilityMaskChangeEvent() slug: Web/API/XRVisibilityMaskChangeEvent/XRVisibilityMaskChangeEvent page-type: web-api-constructor +status: + - experimental browser-compat: api.XRVisibilityMaskChangeEvent.XRVisibilityMaskChangeEvent --- -{{APIRef("WebXR Device API")}}{{SecureContext_Header}} +{{APIRef("WebXR Device API")}}{{SecureContext_Header}}{{SeeCompatTable}} The **`XRVisibilityMaskChangeEvent()`** constructor creates and returns a new {{domxref("XRVisibilityMaskChangeEvent")}} object. diff --git a/files/en-us/web/javascript/reference/global_objects/iterator/includes/index.md b/files/en-us/web/javascript/reference/global_objects/iterator/includes/index.md index 4272e802a71a034..007729a46e44460 100644 --- a/files/en-us/web/javascript/reference/global_objects/iterator/includes/index.md +++ b/files/en-us/web/javascript/reference/global_objects/iterator/includes/index.md @@ -3,10 +3,14 @@ title: Iterator.prototype.includes() short-title: includes() slug: Web/JavaScript/Reference/Global_Objects/Iterator/includes page-type: javascript-instance-method +status: + - experimental browser-compat: javascript.builtins.Iterator.includes sidebar: jsref --- +{{SeeCompatTable}} + The **`includes()`** method of {{jsxref("Iterator")}} instances is similar to {{jsxref("Array.prototype.includes()")}}: it returns `true` if it finds an element that is equal to the given value. Otherwise, if the iterator is exhausted without finding such an element, it returns `false`. ## Syntax diff --git a/files/en-us/web/javascript/reference/global_objects/iterator/index.md b/files/en-us/web/javascript/reference/global_objects/iterator/index.md index a0a47fb8d3ab7f0..875848ac84ff6f3 100644 --- a/files/en-us/web/javascript/reference/global_objects/iterator/index.md +++ b/files/en-us/web/javascript/reference/global_objects/iterator/index.md @@ -173,7 +173,7 @@ These properties are defined on `Iterator.prototype` and shared by all `Iterator - : Returns a new iterator helper object that takes each element in the original iterator, runs it through a mapping function, and yields elements returned by the mapping function (which are contained in another iterator or iterable). - {{jsxref("Iterator.prototype.forEach()")}} - : Executes a provided function once for each element produced by the iterator. -- {{jsxref("Iterator.prototype.includes()")}} +- {{jsxref("Iterator.prototype.includes()")}} {{experimental_inline}} - : Returns `true` if an element produced by the iterator is equal to the given value. Otherwise, if the iterator is exhausted without finding such an element, it returns `false`. - {{jsxref("Iterator.prototype.map()")}} - : Returns a new iterator helper object that yields elements of the iterator, each transformed by a mapping function.