This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24329 - [WebVTT] Padding on the cue background box shouldn't be referred to as "margin"
Summary: [WebVTT] Padding on the cue background box shouldn't be referred to as "margin"
Status: RESOLVED FIXED
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Philip Jägenstedt
QA Contact: This bug has no owner yet - up for the taking
URL:
Whiteboard: v1
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 09:32 UTC by Philip Jägenstedt
Modified: 2014-01-31 07:36 UTC (History)
3 users (show)

See Also:


Attachments

Description Philip Jägenstedt 2014-01-20 09:32:17 UTC
"The 'padding-top' and 'padding-bottom' property on the WebVTT cue background box must be set to '1.5vh' or another user-agent-defined number to define a margin at the edges of the video into which cues will not be placed."

One way of fixing this is to not use padding at all, instead we could use the (future) machinery for regions and allow the browser to use a smaller implicit region.
Comment 1 Silvia Pfeiffer 2014-01-20 09:59:28 UTC
We might need both - to get padding around the text in the cues and padding for the video safe region. But you're right - it should be called "padding" and not "margin".
Comment 2 Philip Jägenstedt 2014-01-31 07:36:18 UTC
Wording fixed in https://github.com/w3c/webvtt/pull/32