- From: Sean Hayes <Sean.Hayes@microsoft.com>
- Date: Wed, 22 May 2013 13:08:40 +0000
- To: Simon Pieters <simonp@opera.com>, Anne van Kesteren <annevk@annevk.nl>, "public-texttracks@w3.org" <public-texttracks@w3.org>
Yes, sorry if I wasn’t clear what I meant was, it's valid to put content there if I add the note prefix. So is the following valid? WEBVTT { generated-from: TTML; } NOTE { /*============ cue style here ========= */ } c.style10 { backgroundColor: green; } ============ end of style ========= /* 00:00:00.000 --> 00:00:10.000 <c><c.style10>The background is green.</c></c> NOTE end of file */ I'm still getting: Not bad, keep at it! (0ms) 1.Line 5, column 1: Timestamp must start with a character in the range 0-9. 2.Line 16, column 1: Timestamp must start with a character in the range 0-9. 0 10 <c><c.style10>The background is green.</c></c> -----Original Message----- From: Simon Pieters [mailto:simonp@opera.com] Sent: 22 May 2013 13:51 To: Anne van Kesteren; public-texttracks@w3.org; Sean Hayes Subject: Re: Live WebVTT Validator update On Wed, 22 May 2013 13:53:34 +0200, Sean Hayes <Sean.Hayes@microsoft.com> wrote: > Thanks for confirming its valid. That's not what I said. The file you gave is not valid. It doesn't conform to the rules in http://dev.w3.org/html5/webvtt/#syntax What parsers are required to do when they encounter an invalid file is a different question. > Putting it in a NOTE block doesn’t stop the validator from complaining > though. It does for me. > I know where ::cue is defined, I'm just asking if the group is working > with the CSS working group to extend their syntax so that it becomes > legal CSS. OK. I'm not aware of such work having taken place. -- Simon Pieters Opera Software
Received on Wednesday, 22 May 2013 13:09:23 UTC