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
Status: RESOLVED FIXED
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
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-10 09:03 UTC by Philip Jägenstedt
Modified: 2012-10-10 23:20 UTC (History)
4 users (show)

See Also:


Attachments

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
http://html5.org/tools/web-apps-tracker?from=7451&to=7452