Open Bug 1664754 Opened 5 years ago Updated 5 years ago

[webvtt] viewport unit for ::cue doesn't refer to video element size

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: spoeschel, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

Steps to reproduce:

Create a HTML page with a video which has a WebVTT track. Add styling for the track's pseudo element "::cue" that makes use of a viewport unit, e.g. "vh".

Actual results:

In case of "::cue", the viewport unit uses the displayed part of the HTML document as viewport.

Expected results:

In case of "::cue", the viewport unit should use the size of the video element as viewport.

For more details, please see: https://github.com/w3c/webvtt/issues/489

Blocks: webvtt
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.