Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix bitmap-based cue size (#4453)
Without an explicit size, some platforms render bitmap-based cues as 0x0. This effect was seen in Chrome on Mac in particular. This started with PR #4412, where we factored out regions into their own element. The TTML spec says that background images should fill their associated region, so this fixes the issue by making the div explicitly the size of its parent element (100% x 100%).
- Loading branch information