- From: <bugzilla@jessica.w3.org>
- Date: Fri, 27 Apr 2012 15:28:12 +0000
- To: public-texttracks@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16875
Summary: :past and :future don't work if you just have text
between the timestamps
Product: TextTracks CG
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: WebVTT
AssignedTo: ian@hixie.ch
ReportedBy: simonp@opera.com
QAContact: dave.null@w3.org
CC: mike@w3.org, public-texttracks@w3.org
Consider
WEBVTT
00:00:00.000 --> 00:00:10.000
foo <00:03.000> bar <00:07.000> baz
and
video::cue(:past) { color:green }
This wouldn't do anything per the current spec, because the cue has only WebVTT
Leaf Node Objects, and they cannot be matched by ::cue(). To make it work per
spec, you have to do:
WEBVTT
00:00:00.000 --> 00:00:10.000
<c>foo</c> <00:03.000> <c>bar</c> <00:07.000> <c>baz</c>
This seems pretty horrible.
To fix it we could make ::cue() be able to match text leaf nodes (so they
basically act like name-less elements to selectors).
--
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Friday, 27 April 2012 15:28:15 UTC