<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>14537</bug_id>
          
          <creation_ts>2011-10-22 02:55:01 +0000</creation_ts>
          <short_desc>&lt;track&gt; The string &quot;&lt;.&quot; creates a start tag with no name and an empty string class. Is that really what we want?</short_desc>
          <delta_ts>2012-07-18 18:42:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#webvtt-start-tag-class-state</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>58687</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-10-22 02:55:01 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html
Multipage: http://www.whatwg.org/C#webvtt-start-tag-class-state
Complete: http://www.whatwg.org/c#webvtt-start-tag-class-state

Comment:
The string &quot;&lt;.&quot; creates a start tag with no name and an empty string class. Is
that really what we want?

Posted from: 114.48.111.229 by annevk@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.1; U; en) Presto/2.9.168 Version/11.51</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58967</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-26 00:41:35 +0000</bug_when>
    <thetext>What would we want instead?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59160</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-28 23:03:05 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Did Not Understand Request
Change Description: no spec change
Rationale: see comment 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59187</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-10-29 07:55:10 +0000</bug_when>
    <thetext>I think empty string classes or annotations should never be created.

I do not have a good alternative for empty start tag names. (Other than emitting &quot;&lt;&quot;, which I&apos;m not terribly fond of.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59197</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-29 16:13:37 +0000</bug_when>
    <thetext>Without a good alternative, I don&apos;t know what to do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59198</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-10-29 16:17:55 +0000</bug_when>
    <thetext>Before appending a class or annotation, do an empty string check (probably after whitespace normalization/trimming).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59229</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-30 17:49:08 +0000</bug_when>
    <thetext>So leave the empty tag name, but drop the empty class name?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59293</commentid>
    <comment_count>7</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-10-31 14:14:55 +0000</bug_when>
    <thetext>Empty tags are dropped on the floor later on, but empty classes end up being stored. That will lead to questions about whether or not they can be matched against, etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59354</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-11-01 03:42:17 +0000</bug_when>
    <thetext>So your problem isn&apos;t really with &lt;. per so, but with &lt;anything. &gt;? Ok. Fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59358</commentid>
    <comment_count>9</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-11-01 05:37:33 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6795.
Check-in comment: Drop WebVTT class names that are the empty string.
http://html5.org/tools/web-apps-tracker?from=6794&amp;to=6795</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>