Join GitHub today
Toggle contain:strict on fullscreen #5159
Previously we removed
I also refactored the fullscreen-handling code and moved it to its own module. I removed the
This is only a perf improvement in Chrome because it's the only browser to support CSS containment. But you can see the difference:
I tested desktop Chrome, Edge, Firefox, and Safari. Everything works fine except for Safari, which is broken for video fullscreen both before and after this commit. So I'll open a separate issue for that.