Scenario

scenario-selection-api-behavior

This scenario groups concrete cases that describe the same contenteditable phenomenon under different operating systems, devices, browsers, and keyboard setups.

Phenomenon
window.getSelection() returns null when contenteditable loses focus

Variants

Each row is a concrete case for this scenario, with a dedicated document and playground.

Case OS Device Browser Keyboard Status
ce-0044 macOS Ubuntu 22.04 Desktop or Laptop Any Safari 120.0 US draft

Cases

Open a case to see the detailed description and its dedicated playground.

window.getSelection() returns null when contenteditable loses focus

OS: macOS Ubuntu 22.04 · Device: Desktop or Laptop Any · Browser: Safari 120.0 · Keyboard: US

Open case →