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 13546 - <video> make positioning of caption cues more flexible
Summary: <video> make positioning of caption cues more flexible
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 00:26 UTC by Silvia Pfeiffer
Modified: 2013-01-31 16:34 UTC (History)
9 users (show)

See Also:


Attachments

Description Silvia Pfeiffer 2011-08-03 00:26:22 UTC
Currently, it is possible to apply certain styles to the cue text content through the ::cue pseudo-element:
'color'
'text-decoration'
'text-outline'
'text-shadow'
the properties corresponding to the 'background' shorthand
the properties corresponding to the 'outline' shorthand
the properties corresponding to the 'font' shorthand, including 'line-height'

However, the automatic rendering location of the cues is on top of the video and it is not possible to change the positioning via CSS.

Can we find a way to use 'display', 'position', 'top/left/bottom/right' on the cues, too? (And possibly also 'overflow', 'z-index', 'clip' and 'cursor'?)
Comment 1 Michael[tm] Smith 2011-08-04 05:14:54 UTC
mass-move component to LC1
Comment 2 Ian 'Hixie' Hickson 2011-08-14 06:50:26 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: It would make no sense to allow 'display' as the cues have their own custom display logic. Similarly position/top/left/bottom/right/height/width make no sense as the cues themselves give their dimensions and position. 'overflow' makes no sense since 'auto' and 'scroll' would be meaningless and 'visible' would defeat the whole point of some of the positioning logic. I don't see the use case for 'clip'. 'cursor' seems pointless since they're not interactive. 'z-index' might maybe make sense, but why would you intentionally overlay cues and then layer them out of order?