This repository has been archived by the owner on Aug 4, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1582502 - Don't interpret a click at 0,0 of a fullscreen video as…
… a click on the Picture-in-Picture toggle. r=JSON_voorhees We weren't handling the case where the toggle has no dimensions, so its X and Y coordinate would be at 0,0, which would match a click in the top-left corner of the screen for a video that was fullscreened. This adds a check that ensures that the toggle has both width and height before checking whether or not a mouse event occurred within it. Differential Revision: https://phabricator.services.mozilla.com/D47789
- Loading branch information