You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wide Review Comment 2017: positioning with cue box vs region #376
Two positioning and sizing constructs are defined: the cue box and the region. It is not clear in the data model section why both are needed and how a cue box is supposed to interact with a region. Indeed it appears that they are independent constructs given that only cue's position (and none of the other attributes) relates to or depends on the region. The cue box size is relative to the video viewport, not the region. This means that the concept of a region is not a "bounding box" within which cue text is rendered, but is only an alternative positioning reference. That semantic definition differs from other specifications that define regions, including TTWG's other specification covering this use case, TTML. (as Chair, I would prefer that there be semantic alignment here between the working group's specifications, and given the history and current state, that would mean modifying the treatment of regions in WebVTT.)
The region is definitely a bounding box within which cues are rendered. I've clarified that in the patch.
About the cue box size: 4.4 explains that if the cue has a "vertical", "line" or "size" setting, the cue drops out of the region. Otherwise, the cue's width is calculated to be relative to the region width rather than the viewport. I've added some clarifying text.
Activity
silviapfeiffer commentedon Oct 28, 2017
The region is definitely a bounding box within which cues are rendered. I've clarified that in the patch.
About the cue box size: 4.4 explains that if the cue has a "vertical", "line" or "size" setting, the cue drops out of the region. Otherwise, the cue's width is calculated to be relative to the region width rather than the viewport. I've added some clarifying text.
silviapfeiffer commentedon Nov 11, 2017
add this also to cue box explanation in #383
Add suggestion from w3c#376 to box model description.
silviapfeiffer commentedon Nov 11, 2017
Please review this patch as well as the patch at #383
Add some introductory paragraphs to the Data model section. (#409)
nigelmegitt commentedon Feb 14, 2018
Noting that I approved the patches already, marking as commenter agreed.