WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
217509
Element.requestFullscreen will unintended change document.activeElement
https://bugs.webkit.org/show_bug.cgi?id=217509
Summary
Element.requestFullscreen will unintended change document.activeElement
abc
Reported
2020-10-09 02:53:22 PDT
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)
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-10-09 18:10:20 PDT
<
rdar://problem/70161671
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug