[Bug 25637] New: [WebVTT] Make the padding at the edges of the video overridable using CSS

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25637

            Bug ID: 25637
           Summary: [WebVTT] Make the padding at the edges of the video
                    overridable using CSS
           Product: TextTracks CG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebVTT
          Assignee: dave.null@w3.org
          Reporter: philipj@opera.com
        QA Contact: public-texttracks@w3.org
                CC: philipj@opera.com, silviapfeiffer1@gmail.com

We currently have:

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
padding at the edges of the video into which cues will not be placed. In
situations with overscan, this padding should be sufficient to place a cue
within the title-safe area. In the absence of overscan, this value should be
picked for aesthetics (to avoid text being aligned precisely on the top or
bottom edge of the video, which can be ugly).

The 'padding-left' and 'padding-right' property on the WebVTT cue background
box must be set to '1.5vw' or another user-agent-defined number to define a
padding at the edges of the video into which cues will not be placed. In
situations with overscan, this padding should be sufficient to place a cue
within the title-safe area. In the absence of overscan, this value should be
picked for aesthetics (to avoid text being aligned precisely on the top or
bottom edge of the video, which can be ugly).

It would be very nice if this were exposed to CSS, maybe with a default of 5vh
to match the default line height. For the overscan situation, the user agent
can simply have a user agent stylesheet with higher priority than author CSS.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 9 May 2014 19:52:18 UTC