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 18519 - Add opacity and/or visibility to the ::cue property white list
Summary: Add opacity and/or visibility to the ::cue property white list
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: This bug has no owner yet - up for the taking
Depends on:
Reported: 2012-08-10 09:03 UTC by Philip J├Ągenstedt
Modified: 2012-10-10 23:20 UTC (History)
4 users (show)

See Also:


Description Philip J├Ągenstedt 2012-08-10 09:03:49 UTC
The use case is to hide future parts of the cue with ::cue(:future) { opacity: 0 }.

(It could also be nice to quickly fade cues in and out with CSS transitions using opacity on ::cue itself, but given that the cue doesn't exist in the layout before or after its time, it doesn't seem like that can work, currently.)

The visibility property could be allowed for authors who try that before opacity, but doesn't allow anything that opacity does not.
Comment 1 contributor 2012-10-10 23:20:49 UTC
Checked in as WHATWG revision r7452.
Check-in comment: Allow 'opacity' and 'visibility' on ::cue