Skip to content

Commit

Permalink
Synchronize with BCD v5.3.30
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar committed Nov 10, 2023
1 parent 2f73a71 commit b57bf0e
Show file tree
Hide file tree
Showing 47 changed files with 91 additions and 87 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/beforeunloadevent/returnvalue/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
browser-compat: api.BeforeUnloadEvent.returnValue
---

{{APIRef("HTML DOM")}}
{{APIRef("HTML DOM")}}{{deprecated_header}}

The **`returnValue`** property of the
{{domxref("BeforeUnloadEvent")}} interface, when set to a truthy value, triggers a browser-generated confirmation dialog asking users to confirm if they _really_ want to leave the page when they try to close or reload it, or navigate somewhere else. This is intended to help prevent loss of unsaved data.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "CanvasRenderingContext2D: fontStretch property"
short-title: fontStretch
slug: Web/API/CanvasRenderingContext2D/fontStretch
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.CanvasRenderingContext2D.fontStretch
---

{{APIRef}}{{SeeCompatTable}}
{{APIRef}}

The **`CanvasRenderingContext2D.fontStretch`** property of the [Canvas API](/en-US/docs/Web/API/Canvas_API) specifies how the font may be expanded or condensed when drawing text.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "CanvasRenderingContext2D: fontVariantCaps property"
short-title: fontVariantCaps
slug: Web/API/CanvasRenderingContext2D/fontVariantCaps
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.CanvasRenderingContext2D.fontVariantCaps
---

{{APIRef}}{{SeeCompatTable}}
{{APIRef}}

The **`CanvasRenderingContext2D.fontVariantCaps`** property of the [Canvas API](/en-US/docs/Web/API/Canvas_API) specifies an alternative capitalization of the rendered text.

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/canvasrenderingcontext2d/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ The following properties control how text is laid out.
- : Letter spacing. Default: `0px`.
- {{domxref("CanvasRenderingContext2D.fontKerning")}}
- : Font kerning. Possible values: `auto` (default), `normal`, `none`.
- {{domxref("CanvasRenderingContext2D.fontStretch")}} {{experimental_inline}}
- {{domxref("CanvasRenderingContext2D.fontStretch")}}
- : Font stretch. Possible values: `ultra-condensed`, `extra-condensed`, `condensed`, `semi-condensed`, `normal` (default), `semi-expanded`, `expanded`, `extra-expanded`, `ultra-expanded`.
- {{domxref("CanvasRenderingContext2D.fontVariantCaps")}} {{experimental_inline}}
- {{domxref("CanvasRenderingContext2D.fontVariantCaps")}}
- : Font variant caps. Possible values: `normal` (default), `small-caps`, `all-small-caps`, `petite-caps`, `all-petite-caps`, `unicase`, `titling-caps`.
- {{domxref("CanvasRenderingContext2D.textRendering")}}
- : Text rendering. Possible values: `auto` (default), `optimizeSpeed`, `optimizeLegibility`, `geometricPrecision`.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/html_sanitizer_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ status:
browser-compat: api.Sanitizer
---

{{DefaultAPISidebar("HTML Sanitizer API")}}
{{DefaultAPISidebar("HTML Sanitizer API")}}{{SeeCompatTable}}

> **Note:** This documentation reflects stale browser implementations.
> The specification has changed significantly since the docs were written, and they will need to be updated once browser implementations catch up.
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/htmlelement/beforetoggle_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
title: "HTMLElement: beforetoggle event"
slug: Web/API/HTMLElement/beforetoggle_event
page-type: web-api-event
status:
- experimental
browser-compat: api.HTMLElement.beforetoggle_event
---

{{APIRef}}{{SeeCompatTable}}
{{APIRef}}

The **`beforetoggle`** event of the {{domxref("HTMLElement")}} interface fires on a {{domxref("Popover_API", "popover", "", "nocode")}} element (i.e. one that has a valid [`popover`](/en-US/docs/Web/HTML/Global_attributes/popover) attribute) just before it is shown or hidden.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/htmlelement/toggle_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
title: "HTMLElement: toggle event"
slug: Web/API/HTMLElement/toggle_event
page-type: web-api-event
status:
- experimental
browser-compat: api.HTMLElement.toggle_event
---

{{APIRef}}{{SeeCompatTable}}
{{APIRef}}

The **`toggle`** event of the {{domxref("HTMLElement")}} interface fires on a {{domxref("Popover_API", "popover", "", "nocode")}} element (i.e. one that has a valid [`popover`](/en-US/docs/Web/HTML/Global_attributes/popover) attribute) just after it is shown or hidden.

Expand Down
3 changes: 2 additions & 1 deletion files/en-us/web/api/navigator/donottrack/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ slug: Web/API/Navigator/doNotTrack
page-type: web-api-instance-property
status:
- deprecated
- non-standard
browser-compat: api.Navigator.doNotTrack
---

{{ApiRef("HTML DOM")}}{{Deprecated_header}}
{{ApiRef("HTML DOM")}}{{Deprecated_header}}{{non-standard_header}}

The **`Navigator.doNotTrack`** property returns the user's Do Not Track setting, which indicates whether the user is requesting websites and advertisers to not track them.

Expand Down
3 changes: 2 additions & 1 deletion files/en-us/web/api/navigator/globalprivacycontrol/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ slug: Web/API/Navigator/globalPrivacyControl
page-type: web-api-instance-property
status:
- experimental
- non-standard
browser-compat: api.Navigator.globalPrivacyControl
---

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

The **`Navigator.globalPrivacyControl`** read-only property returns the user's [Global Privacy Control](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
6 changes: 3 additions & 3 deletions files/en-us/web/api/navigator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ _Doesn't inherit any properties._
- : Returns a {{domxref("ServiceWorkerContainer")}} object, which provides access to registration, removal, upgrade, and communication with the {{domxref("ServiceWorker")}} objects for the [associated document](https://html.spec.whatwg.org/multipage/browsers.html#concept-document-window).
- {{domxref("Navigator.storage")}} {{ReadOnlyInline}}
- : Returns the singleton {{domxref('StorageManager')}} object used for managing persistence permissions and estimating available storage on a site-by-site/app-by-app basis.
- {{domxref("Navigator.usb")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("Navigator.usb")}} {{ReadOnlyInline}}
- : Returns a {{domxref("USB")}} object for the current document, providing access to [WebUSB API](/en-US/docs/Web/API/WebUSB_API) functionality.
- {{domxref("Navigator.userActivation")}} {{ReadOnlyInline}}
- : Returns a {{domxref("UserActivation")}} object containing information about the current window's user activation state.
Expand All @@ -96,7 +96,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}}
- {{domxref("Navigator.globalPrivacyControl")}} {{ReadOnlyInline}} {{Experimental_Inline}} {{non-standard_inline}}
- : Returns a boolean indicating a user's consent to their information being shared or sold.
- {{domxref("Navigator.securitypolicy")}} {{Non-standard_Inline}}
- : Returns an empty string. In Netscape 4.7x, returns "US & CA domestic policy" or "Export policy".
Expand All @@ -113,7 +113,7 @@ _Doesn't inherit any properties._
- : Always returns `'Netscape'`, in any browser.
- {{domxref("Navigator.appVersion")}} {{ReadOnlyInline}} {{Deprecated_Inline}}
- : Returns the version of the browser as a string. Do not rely on this property to return the correct value.
- {{domxref("Navigator.doNotTrack")}} {{ReadOnlyInline}} {{Deprecated_Inline}}
- {{domxref("Navigator.doNotTrack")}} {{ReadOnlyInline}} {{Deprecated_Inline}} {{non-standard_inline}}
- : Reports the value of the user's do-not-track preference. When this value is "1", your website or application should not track the user.
- {{domxref("Navigator.mimeTypes")}} {{ReadOnlyInline}} {{Deprecated_Inline}}
- : Returns an {{domxref("MimeTypeArray")}} listing the MIME types supported by the browser.
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/navigator/usb/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "Navigator: usb property"
short-title: usb
slug: Web/API/Navigator/usb
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.Navigator.usb
---

{{SeeCompatTable}}{{APIRef("WebUSB API")}}
{{APIRef("WebUSB API")}}

The **`usb`** read-only property of the {{domxref("Navigator")}} interface returns a {{domxref("USB")}} object for the current document, providing access to [WebUSB API](/en-US/docs/Web/API/WebUSB_API) functionality.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/notification/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ These properties are available only on instances of the `Notification` object.
- : The URL of an image to be displayed as part of the notification, as specified in the constructor's `options` parameter.
- {{domxref("Notification.renotify")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- : Specifies whether the user should be notified after a new notification replaces an old one.
- {{domxref("Notification.requireInteraction")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("Notification.requireInteraction")}} {{ReadOnlyInline}}
- : A boolean value indicating that a notification should remain active until the user clicks or dismisses it, rather than closing automatically.
- {{domxref("Notification.silent")}} {{ReadOnlyInline}}
- : Specifies whether the notification should be silent — i.e., no sounds or vibrations should be issued, regardless of the device settings.
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/notification/requireinteraction/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "Notification: requireInteraction property"
short-title: requireInteraction
slug: Web/API/Notification/requireInteraction
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.Notification.requireInteraction
---

{{APIRef("Web Notifications")}}{{AvailableInWorkers}}{{SecureContext_Header}}{{SeeCompatTable}}
{{APIRef("Web Notifications")}}{{AvailableInWorkers}}{{SecureContext_Header}}

The **`requireInteraction`** read-only property of the {{domxref("Notification")}} interface returns a boolean value indicating that a notification should remain active until the user clicks or dismisses it, rather than closing automatically.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ The following properties control how text is laid out.
- : Letter spacing. Default: `0px`.
- {{domxref("CanvasRenderingContext2D.fontKerning")}}
- : Font kerning. Possible values: `auto` (default), `normal`, `none`.
- {{domxref("CanvasRenderingContext2D.fontStretch")}} {{experimental_inline}}
- {{domxref("CanvasRenderingContext2D.fontStretch")}}
- : Font stretch. Possible values: `ultra-condensed`, `extra-condensed`, `condensed`, `semi-condensed`, `normal` (default), `semi-expanded`, `expanded`, `extra-expanded`, `ultra-expanded`.
- {{domxref("CanvasRenderingContext2D.fontVariantCaps")}} {{experimental_inline}}
- {{domxref("CanvasRenderingContext2D.fontVariantCaps")}}
- : Font variant caps. Possible values: `normal` (default), `small-caps`, `all-small-caps`, `petite-caps`, `all-petite-caps`, `unicase`, `titling-caps`.
- {{domxref("CanvasRenderingContext2D.textRendering")}} {{experimental_inline}}
- : Text rendering. Possible values: `auto` (default), `optimizeSpeed`, `optimizeLegibility`, `geometricPrecision`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ A string, which can be one of the following values:

- `"cache"`
- : The resource was retrieved from the cache.
- `"navigational-prefetch"`
- `"navigational-prefetch"` {{experimental_inline}}
- : The resource was retrieved from a prefetched response stored in an in-memory cache via the [Speculation Rules API](/en-US/docs/Web/API/Speculation_Rules_API).
- `""` (empty string)
- : Returned if none of the above delivery types apply.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/screen/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The following properties are specified as part of the [Window Management API](/e
- : A number representing the y-coordinate (top edge) of the available screen area.
- {{domxref("ScreenDetailed.left", "Screen.left")}} {{ReadOnlyInline}} {{Non-standard_Inline}}
- : A number representing the x-coordinate (left-hand edge) of the total screen area.
- {{domxref("ScreenDetailed.top", "Screen.top")}} {{ReadOnlyInline}} {{Non-standard_Inline}}
- {{domxref("ScreenDetailed.top", "Screen.top")}} {{ReadOnlyInline}} {{Non-standard_Inline}} {{deprecated_inline}}
- : A number representing the y-coordinate (top edge) of the total screen area.

## Instance methods
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/speculation_rules_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Prerendering is restricted to same-origin documents by default. Cross-origin, sa

For browsers that support it, speculation rules prerender should be preferred over older prerender mechanisms, namely [`<link rel="prerender">`](/en-US/docs/Web/HTML/Attributes/rel/prerender):

- `<link rel="prerender">` is Chrome-specific and was never standardized, and the Chrome engineering team are in the process of sunsetting it.
- `<link rel="prerender">` is Chrome-specific and was never standardized, and the Chrome engineering team are in the process of sunsetting it. {{experimental_inline}}
- It loads subresources loaded via JavaScript, whereas `<link rel="prerender">` doesn't.
- It doesn't get blocked by [Cache-Control](/en-US/docs/Web/HTTP/Headers/Cache-Control) settings, whereas `<link rel="prerender">` often does.
- Speculation rules prerender should be treated as a hint and a progressive enhancement. Unlike `<link rel="prerender">`, it is a speculative hint and the browser may choose not to act upon the hint based on user settings, current memory usage, or other heuristics.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/videocolorspace/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The **`VideoColorSpace`** interface of the {{domxref('WebCodecs API','','',' ')}

## Constructor

- {{domxref("VideoColorSpace.VideoColorSpace", "VideoColorSpace()")}} {{Experimental_Inline}}
- {{domxref("VideoColorSpace.VideoColorSpace", "VideoColorSpace()")}}
- : Creates a new `VideoColorSpace` object.

## Instance properties
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/videocolorspace/videocolorspace/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "VideoColorSpace: VideoColorSpace() constructor"
short-title: VideoColorSpace()
slug: Web/API/VideoColorSpace/VideoColorSpace
page-type: web-api-constructor
status:
- experimental
browser-compat: api.VideoColorSpace.VideoColorSpace
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
{{APIRef("WebCodecs API")}}

The **`VideoColorSpace()`** constructor creates a new {{domxref("VideoColorSpace")}} object which represents a video color space.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/window/clearimmediate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ status:
browser-compat: api.Window.clearImmediate
---

{{APIRef("HTML DOM")}} {{deprecated_header}}
{{APIRef("HTML DOM")}} {{deprecated_header}}{{non-standard_header}}

This method clears the action specified by {{DOMxRef("window.setImmediate")}}.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/window/setimmediate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ status:
browser-compat: api.Window.setImmediate
---

{{APIRef("HTML DOM")}} {{deprecated_header}}
{{APIRef("HTML DOM")}} {{deprecated_header}}{{non-standard_header}}

This method is used to break up long running operations and run a callback function immediately after the browser has completed other operations such as events and display updates.

Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/windowclient/ancestororigins/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "WindowClient: ancestorOrigins property"
short-title: ancestorOrigins
slug: Web/API/WindowClient/ancestorOrigins
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.WindowClient.ancestorOrigins
---

{{APIRef("Service Workers API")}}
{{APIRef("Service Workers API")}}{{SeeCompatTable}}

The **`ancestorOrigins`** read-only property of the {{domxref("WindowClient")}} interface is an array of strings listing the origins of all ancestors of the browsing context represented by this `WindowClient` in reverse order.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/windowclient/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ _`WindowClient` inherits methods from its parent interface, {{domxref("Client")}

_`WindowClient` inherits properties from its parent interface, {{domxref("Client")}}._

- {{domxref("WindowClient.ancestorOrigins")}} {{ReadOnlyInline}}
- {{domxref("WindowClient.ancestorOrigins")}} {{ReadOnlyInline}} {{experimental_inline}}
- : An array of strings that indicates the ancestor origins of the browsing context represented by this `WindowClient` in reverse order.
- {{domxref("WindowClient.focused")}} {{ReadOnlyInline}}
- : A boolean that indicates whether the current client has focus.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ slug: Web/API/WorkerNavigator/globalPrivacyControl
page-type: web-api-instance-property
status:
- experimental
- non-standard
browser-compat: api.WorkerNavigator.globalPrivacyControl
---

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

The **`WorkerNavigator.globalPrivacyControl`** read-only property returns the user's Global Privacy Control 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
4 changes: 2 additions & 2 deletions files/en-us/web/api/workernavigator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ _The `WorkerNavigator` interface doesn't inherit any property._
- : Returns the version of the browser as a string. Do not rely on this property to return the correct value.
- {{DOMxRef("WorkerNavigator.connection")}} {{ReadOnlyInline}}
- : Provides a {{DOMxRef("NetworkInformation")}} object containing information about the network connection of a device.
- {{domxref("WorkerNavigator.globalPrivacyControl")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("WorkerNavigator.globalPrivacyControl")}} {{ReadOnlyInline}} {{Experimental_Inline}} {{non-standard_inline}}
- : Returns a boolean indicating a user's consent to their information being shared or sold.
- {{domxref("WorkerNavigator.gpu")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- : Returns the {{domxref("GPU")}} object for the current worker context. The entry point for the {{domxref("WebGPU_API", "WebGPU API", "", "nocode")}}.
Expand All @@ -47,7 +47,7 @@ _The `WorkerNavigator` interface doesn't inherit any property._
- : Returns a {{domxref("Serial")}} object, which represents the entry point into the {{domxref("Web Serial API")}} to enable the control of serial ports.
- {{DOMxRef("WorkerNavigator.storage")}} {{ReadOnlyInline}}
- : Returns a {{DOMxRef('StorageManager')}} interface for managing persistence permissions and estimating available storage.
- {{domxref("WorkerNavigator.usb")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("WorkerNavigator.usb")}} {{ReadOnlyInline}}
- : Returns a {{domxref("USB")}} object for the current document, providing access to [WebUSB API](/en-US/docs/Web/API/WebUSB_API) functionality.
- {{DOMxRef("WorkerNavigator.userAgent")}} {{ReadOnlyInline}}
- : Returns the user agent string for the current browser.
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/workernavigator/usb/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "WorkerNavigator: usb property"
short-title: usb
slug: Web/API/WorkerNavigator/usb
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.WorkerNavigator.usb
---

{{SeeCompatTable}}{{APIRef("WebUSB API")}}
{{APIRef("WebUSB API")}}

The **`usb`** read-only property of the {{domxref("WorkerNavigator")}} interface returns a {{domxref("USB")}} object for the current document, providing access to [WebUSB API](/en-US/docs/Web/API/WebUSB_API) functionality.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-line-clamp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ When applied to anchor elements, the truncating can happen in the middle of the

### Values

- `none`
- `none` {{experimental_inline}}
- : This value specifies that the content won't be clamped.
- {{cssxref("integer")}}
- : This value specifies the number of lines after which the content will be clamped. It must be greater than 0.
Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/css/@scope/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
title: "@scope"
slug: Web/CSS/@scope
page-type: css-at-rule
status:
- experimental
browser-compat: css.at-rules.scope
---

{{CSSRef}}
{{CSSRef}}{{SeeCompatTable}}

The **`@scope`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-rule) lets you specify CSS rules and assign values to a limited subtree of the DOM without adding extra specificity to selectors. This makes it easier to override the CSS.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/css/_colon_popover-open/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
title: ":popover-open"
slug: Web/CSS/:popover-open
page-type: css-pseudo-class
status:
- experimental
browser-compat: css.selectors.popover-open
---

{{CSSRef}}{{SeeCompatTable}}
{{CSSRef}}

The **`:popover-open`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents a {{domxref("Popover API", "popover", "", "nocode")}} element (i.e. one with a [`popover` attribute](/en-US/docs/Web/HTML/Global_attributes/popover)) that is in the showing state. You can use this to apply style to popover elements only when they are shown.

Expand Down
Loading

0 comments on commit b57bf0e

Please sign in to comment.