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 23190 - Region CSS settings right and height are undefined
Summary: Region CSS settings right and height are undefined
Status: NEW
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Silvia Pfeiffer
QA Contact: This bug has no owner yet - up for the taking
URL:
Whiteboard: v1
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-09 20:45 UTC by Rick Eyre
Modified: 2014-02-13 08:00 UTC (History)
3 users (show)

See Also:


Attachments

Description Rick Eyre 2013-09-09 20:45:56 UTC
Looking at the "Applying CSS Properties to WebVTT Node Objects" sections I can't seem to find where 'right' and 'height' have been defined for WebVTT region objects.
Comment 1 Silvia Pfeiffer 2014-02-13 08:00:52 UTC
It says:
"Every WebVTT region object is initialized with the following CSS settings:
...
* the 'right' property must be set to <i>right</i>
"

As for height, it gives the following boundaries:
"
* the 'min-height' property must be set to '0px'
* the 'max-height' property must be set to <i>height</i>
"

'height' was deliberately not set such that the region can change height for rollup captions (i.e. for regions with a 'scroll' setting).

However, I think the spec is missing a 'height' setting for non-scroll regions. In the non-scroll case, the 'height' should be set to <i>height</i>.