mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 04:41:54 +00:00
07e34c8bba
When window is resized, the cue would usually be zoomed in or out automatically with the video and keep its relative position to video. However, if video is being applied the explicit percentage value on its 'width' or 'height', we have to recompute cue's position in this situation, because the width or height of the video would be scaled again after applied the first size scaled which is caused by resizing. Differential Revision: https://phabricator.services.mozilla.com/D36138 --HG-- extra : moz-landing-system : lando