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 24326 - [WebVTT] Regions should not change the "initial containing block"
Summary: [WebVTT] Regions should not change the "initial containing block"
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 08:39 UTC by Philip Jägenstedt
Modified: 2014-01-31 07:37 UTC (History)
3 users (show)

See Also:


Attachments

Description Philip Jägenstedt 2014-01-20 08:39:58 UTC
The spec says "applied to nodes of a cue that is not part of a region, except that the initial containing block is region."

"initial containing block" is the concept used to define vw/vh:

http://dev.w3.org/csswg/css-values/#viewport-relative-lengths

Taken together, this would make the text size shrink inside regions.
Comment 1 Silvia Pfeiffer 2014-01-20 08:46:43 UTC
Right, good catch. The spec is overloading the meaning of "initial containing block". That wording should really only be used for the video viewport. But here it's also used as the wording for the region's box.

The definition of a region indeed is not meant to change the video viewport. But it needs its own background box.
Comment 2 Philip Jägenstedt 2014-01-31 07:37:39 UTC
Fixed in https://github.com/w3c/webvtt/pull/33

More work is needed in the area, but one bug at a time...