ケース ce-0086 · シナリオ scenario-fullscreen-api

Fullscreen API may affect contenteditable focus and selection

OS: Windows 11 デバイス: Desktop or Laptop Any ブラウザ: Chrome 120.0 キーボード: US 下書き
fullscreen-apifocuschromewindows

このページはまだ翻訳されていません

現在、英語の原文を表示しています。翻訳への貢献をお待ちしております。

Phenomenon

When a contenteditable element enters or exits fullscreen mode using the Fullscreen API, focus and selection may be lost. The caret position may reset, and editing may be disrupted.

Reproduction example

  1. Create a contenteditable div with some selected text.
  2. Enter fullscreen mode programmatically.
  3. Observe whether focus and selection are maintained.
  4. Exit fullscreen mode.
  5. Check if focus and selection are restored.

Observed behavior

  • In Chrome on Windows, fullscreen transitions may cause focus loss.
  • Selection may be cleared when entering fullscreen.
  • Caret position may reset.
  • Editing may be disrupted during transition.

Expected behavior

  • Focus and selection should be maintained during fullscreen transitions.
  • Caret position should be preserved.
  • Editing should continue seamlessly.

Playground for this case

Use the reported environment as a reference and record what happens in your environment while interacting with the editable area.

Reported environment
OS: Windows 11
Device: Desktop or Laptop Any
Browser: Chrome 120.0
Keyboard: US
Your environment

Use this editable area to reproduce the described case.

Event log
Use this log together with the case description when filing or updating an issue.
0 events
Interact with the editable area to see events here.