- From: Simon Pieters via GitHub <sysbot+gh@w3.org>
- Date: Thu, 12 Nov 2015 11:49:24 +0000
- To: public-texttracks@w3.org
zcorpan has just created a new issue for https://github.com/w3c/webvtt: == "WebVTT start tag class state Jump to the entry ..." == https://w3c.github.io/webvtt/#webvtt-start-tag-class-state > WebVTT start tag class state > Jump to the entry that matches the value of c: > [...] > Anything else > Append c to buffer and jump to the step labeled next. Should we support character escapes in classes? ``` <c.foo&bar> ``` The class name above is parsed to `foo&bar`, not `foo&bar`. i.e. the Selector to match it would be `::cue(.foo\&\;bar)` and not `::cue(.foo\&bar)`. I think this is a surprising and unnecessary, I don't see any problem with supporting escapes here as well as in the annotation (which is already supported). The syntax disallows "&" in classes (so the above is not valid): https://w3c.github.io/webvtt/#webvtt-cue-span-start-tag > WebVTT cue span start tag has a tag name and either requires or disallows an annotation, and consists of the following components, in the order given: > A U+003C LESS-THAN SIGN character (<). > The tag name. > Zero or more occurrences of the following sequence: > U+002E FULL STOP character (.) > One or more characters other than U+0009 CHARACTER TABULATION (tab) characters, U+000A LINE FEED (LF) characters, U+000D CARRIAGE RETURN (CR) characters, U+0020 SPACE characters, U+0026 AMPERSAND characters (&), U+003C LESS-THAN SIGN characters (<), U+003E GREATER-THAN SIGN characters (>), and U+002E FULL STOP characters (.), representing a class that describes the cue span’s significance. See https://github.com/w3c/webvtt/issues/251
Received on Thursday, 12 November 2015 11:49:25 UTC