RESOLVED DUPLICATE of bug 268232257631
::isFullscreen() and ::fullscreenElement() can lead to confusion
https://bugs.webkit.org/show_bug.cgi?id=257631
Summary ::isFullscreen() and ::fullscreenElement() can lead to confusion
Marcos Caceres
Reported 2023-06-01 20:52:38 PDT
For legacy reasons, we had an old web expose "webkitIsFullscreen()", which got changed to `isFullscreen()` and `::fullscreenElement()`, which is the recommended/standard way of checking for the fullscreen element... however, having two methods is confusing because they are subtly different in behavior. We should just have a single API, preferably the one that matches the standard (i.e., use ::fullscreenElement() everywhere and get rid of the old one that we don't need anymore).
Attachments
Radar WebKit Bug Importer
Comment 1 2023-06-08 20:53:16 PDT
Tim Nguyen (:ntim)
Comment 2 2025-02-07 11:09:09 PST
*** This bug has been marked as a duplicate of bug 268232 ***
Note You need to log in before you can comment on or make changes to this bug.