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 24674 - Cue and Region identifiers should be specified as unique identifiers
Summary: Cue and Region identifiers should be specified as unique identifiers
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: Web Media Text Tracks CG
Whiteboard: v1
Depends on:
Reported: 2014-02-15 03:36 UTC by Silvia Pfeiffer
Modified: 2014-09-09 10:25 UTC (History)
3 users (show)

See Also:


Description Silvia Pfeiffer 2014-02-15 03:36:34 UTC
It's not explicit in the spec that a WebVTT cue identifier and a WebVTT region identifier are supposed to be unique. But they should be - otherwise the CSS selection via ::cue(#identifier) makes no sense.
Comment 1 Simon Pieters 2014-02-17 16:17:40 UTC
Why does it not make sense? Selectors support duplicate IDs fine.
Comment 2 Silvia Pfeiffer 2014-02-18 01:07:48 UTC
Browsers will deal in CSS and HTML with multiple id attributes having the same value, but it's not conformant, not in HTML [1] and not in CSS [2].


I don't see why WebVTT should be different. WebVTT cue identifiers should also be unique.
Comment 3 Silvia Pfeiffer 2014-09-09 10:25:31 UTC
Fixed in commit: