[Webkit-unassigned] [Bug 217509] New: Element.requestFullscreen will unintended change document.activeElement
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 9 02:53:22 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=217509
Bug ID: 217509
Summary: Element.requestFullscreen will unintended change
document.activeElement
Product: WebKit
Version: Safari Technology Preview
Hardware: Macintosh
OS: macOS 10.15
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: abc at hub.moe
Element.requestFullscreen() will unintended change document.activeElement on Safari 14+ if Document include an input element.
Reproduce:
1. Open https://semibold.github.io/Fullscreen/test/index.html on Safari 14+
2. Select Consoles tab in DevTools
3. Run `document.body.appendChild(document.createElement('input'))` to insert an input element
4. Run `console.log(document.activeElement)` (log: document.body)
5. Click [Request] button to requestFullscreen on current page
6. Run `console.log(document.activeElement)` (log: input. Expected: document.body)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201009/32a85f44/attachment.htm>
More information about the webkit-unassigned
mailing list