Browser compatibility guides

ShadowRoot.pointerLockElement

Which browsers can use this member of the ShadowRoot interface?

Browser support

The dataset records support in 3 of the four targets. A workflow that requires pointerLockElement needs another path on Safari on iOS.

First release of the recorded unqualified implementation
BrowserVersionRelease date
Chrome532016-08-31
Firefox632018-10-23
Safari on macOS10.12017-03-27
Safari on iOSUnsupported—

What to test before release

Run the user journey that reaches ShadowRoot.pointerLockElement on your oldest supported browser. Test what the user sees if that member is unavailable. Record whether the task still finishes, which fallback ran, and whether the result was saved correctly.

The table describes implementation availability. Device capabilities, the execution context, and user permissions can affect runtime behavior. Read the MDN reference for pointerLockElement.

More from ShadowRoot

Growth Purple engineering reference. Version comparisons use MDN Browser Compatibility Data v8.1.10, snapshot 2026-11-19, released under CC0.