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 14263 - <track> Don't use <q> for voice object
Summary: <track> Don't use <q> for voice object
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 13:44 UTC by contributor
Modified: 2012-07-18 18:47 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2011-09-23 13:44:05 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/complete/the-iframe-element.html
Multipage: http://www.whatwg.org/C#webvtt-cue-text-dom-construction-rules
Complete: http://www.whatwg.org/c#webvtt-cue-text-dom-construction-rules

Comment:
<track> Don't use <q> for voice object

Posted from: 88.131.66.80 by simonp@opera.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.21 Safari/535.2
Comment 1 Simon Pieters 2011-09-23 13:46:35 UTC
<q> would render quotation marks. That's not desirable.

We suggest either not using an element at all or using <span title> (although title="" seems a bit odd also, and would probably be annoying to get a tooltip if you happened to hover the captions).
Comment 2 Ian 'Hixie' Hickson 2011-10-04 00:40:37 UTC
Not using anything at all seems bad. I agree that <q> seems bad though, as does title="", arguably.

Not sure what to propose.
Comment 3 Ian 'Hixie' Hickson 2011-10-20 23:33:17 UTC
I went with just changing "q" to "span" for now, left the "title" thing alone.
Comment 4 contributor 2011-10-20 23:33:26 UTC
Checked in as WHATWG revision r6722.
Check-in comment: Use <span> instead of <q> to represent spans of text with a given voice, since HTML doesn't have an equivalent to <v> and <q> would add quotes.
http://html5.org/tools/web-apps-tracker?from=6721&to=6722
Comment 5 Silvia Pfeiffer 2011-10-21 00:13:46 UTC
(In reply to comment #4)
> Checked in as WHATWG revision r6722.
> Check-in comment: Use <span> instead of <q> to represent spans of text with a
> given voice, since HTML doesn't have an equivalent to <v> and <q> would add
> quotes.
> http://html5.org/tools/web-apps-tracker?from=6721&to=6722

Why not just put the content of the title attribute inside the span? Then you can translate it, format it etc.