You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead, the spec could use 5vmin (or actually, move away from redefining viewports entirely and use 5cqmin instead). The example above allows you to switch between 5vh and 5vmin to see the difference in behavior.
The text was updated successfully, but these errors were encountered:
…rtrait view
https://bugs.webkit.org/show_bug.cgi?id=265817
rdar://118030141
Reviewed by Simon Fraser.
When a landscape video is presented in portrait mode (with large letterboxes), this causes the font size of the
associated text tracks to be absurdly large. Filed a spec issue on WebVTT (w3c/webvtt#522)
to change the default font size be `5vmin` rather than `5vh`, but proceeding with changing WebKit's default
font size to be `5cqh` in the meantime.
* Source/WebCore/Modules/modern-media-controls/controls/text-tracks.css:
(::-webkit-media-text-track-region):
Canonical link: https://commits.webkit.org/271536@main
The spec currently says:
This value of
5vh
leads to unreasonably large cues for vertical videos. See example here: http://jernoble.github.io/samples/bin/WebVTT/resize-aspect.htmlInstead, the spec could use
5vmin
(or actually, move away from redefining viewports entirely and use5cqmin
instead). The example above allows you to switch between5vh
and5vmin
to see the difference in behavior.The text was updated successfully, but these errors were encountered: