Working Draft · webxr-dom-overlays

WebXR DOM Overlays Module

1 selector defined by this specification, all known to at least one browser .

The feature in detail

:xr-overlay

Selector Limited availability Experimental

Spec The :xr-overlay pseudo-class MUST match the overlay element for the duration of an immersive session using a DOM Overlay.

MDN The :xr-overlay CSS pseudo-class, defined in the WebXR DOM overlays module, matches the DOM overlay element when a web page is being viewed in an immersive AR or VR environment.

Syntax

:xr-overlay

Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.

Browser support

First browser version supporting :xr-overlay
Chrome 83
Edge 83
Firefox No
Safari No
Chrome Android 83
Safari iOS No

First version with support, from MDN browser-compat-data.