[Webkit-unassigned] [Bug 93092] add support for ::cue
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 9 14:46:42 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=93092
Silvia Pfeiffer <silviapf at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WORKSFORME
CC| |silviapf at chromium.org
--- Comment #1 from Silvia Pfeiffer <silviapf at chromium.org> 2014-09-09 14:46:40 PST ---
This works just fine, e.g.
<style>
video::cue {color: lime;}
video::cue(#\31\ first\ cue) {background-color: blue;}
video::cue(v[voice="Tay Zonday"]) {color: red !important;}
video::cue(:past) {color: lime;}
video::cue(:future) {color: gray;}
video::cue(c.brown) {color:brown; background-color: white;}
</style>
On a file such as:
WEBVTT
1 first cue
00:00:10.000 --> 00:00:21.710
<v Tay Zonday>Chocolate Rain</v>
2
00:00:12.210 --> 00:00:21.710
<b>Some </b><i>stay </i><u>dry </u><c>and </c>others feel the pain
3
00:00:15.920 --> 00:00:21.170
<c.brown>Chocolate </c><u>Rain</u>
4
00:00:18.000 --> 00:00:21.170
<00:00:18.250><c>A </c><00:00:18.500><c>baby </c><00:00:19.000><c>born </c><00:00:19.250><c>will </c><00:00:19.500><c>die </c><00:00:19.750><c>before </c><00:00:20.500><c>the </c><00:00:20.750><c>sin</c>
6
00:00:21.180 --> 00:00:23.000
<00:00:21.200><c>Chocolate </c><00:00:21.500><c>Rain</c>
See: http://html5videoguide.net/NEW/CH4/code_c4_14.html
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list