зеркало из https://github.com/mozilla/gecko-dev.git
ce1a86b0e0
The text track list should not exceed the size of the video controls. Because it is positioned absolutely, and because the height of the video is not known in the CSS, the only way to ensure the list's height does not exceed the video's height is to set a 'top' value as well as a 'bottom' one. Unfortunately, that then means that if the list is quite small and the video quite tall, the popup becomes way too large. To avoid this, I've added another level of nesting, and used flexbox to align the actual list to the bottom of the container for the list. Differential Revision: https://phabricator.services.mozilla.com/D62452 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
linux | ||
mobile | ||
osx | ||
shared | ||
windows | ||
LICENSE | ||
moz.build |