[Bug 15606] New: clarification of TextTrackCue.getCueAsHTML() conversion rules

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15606

           Summary: clarification of TextTrackCue.getCueAsHTML()
                    conversion rules
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: glenn@skynav.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


In Section 4.8.10.12.5 Text track API, appears the following language:

"The getCueAsHTML() method must convert the text track cue text to a
DocumentFragment for the media element's Document, using the appropriate rules
for doing so. For example, for WebVTT, those rules are the WebVTT cue text
parsing rules and the WebVTT cue text DOM construction rules. [WEBVTT]"

It would be useful to add clarifying information to the end of this paragraph
(or in a new paragraph) as follows:

"Conversion rules for text track cue text other than WebVTT is expected to be
defined by other specifications. If an HTML user agent does not recognize the
text track cue format or does not support conversion rules specified for that
format, then getCueAsHTML() should return a DocumentFragment containing a
single Text node whose data attribute is identical to the text track cue text."

-- 
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 Thursday, 19 January 2012 13:24:19 UTC