<?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>22154</bug_id>
          
          <creation_ts>2013-05-24 01:32:00 +0000</creation_ts>
          <short_desc>[WebVTT] DOM Node construction rules somewhat ambiguous</short_desc>
          <delta_ts>2016-10-11 17:53:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>TextTracks CG</product>
          <component>WebVTT</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>v1</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Caitlin Potter (:caitp)">caitlin.potter</reporter>
          <assigned_to name="Silvia Pfeiffer">silviapfeiffer1</assigned_to>
          <cc>caitlin.potter</cc>
    
    <cc>giles</cc>
    
    <cc>mike</cc>
    
    <cc>public-texttracks</cc>
    
    <cc>silviapfeiffer1</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88170</commentid>
    <comment_count>0</comment_count>
    <who name="Caitlin Potter (:caitp)">caitlin.potter</who>
    <bug_when>2013-05-24 01:32:00 +0000</bug_when>
    <thetext>In a discussion with David Baron, we are having trouble figuring out exactly what sort of interface our DOM nodes created from WebVTT markup are supposed to implement -- In short, it&apos;s not clear what sort of elements we are supposed to be creating in section 4.4 -- HTMLElement with local name &quot;b&quot; or HTMLBoldElement (for example&quot;).

Some clarification of this would be helpful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88188</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-05-24 10:08:25 +0000</bug_when>
    <thetext>HTMLBoldElement doesn&apos;t exist. All the elements listed are defined to use HTMLElement in the HTML spec. So the WebVTT spec is correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88189</commentid>
    <comment_count>2</comment_count>
    <who name="Caitlin Potter (:caitp)">caitlin.potter</who>
    <bug_when>2013-05-24 10:14:14 +0000</bug_when>
    <thetext>I&apos;m sure the spec may well be &quot;correct&quot;, what we&apos;re saying is that it&apos;s not necessarily &quot;clear&quot;, this could be improved upon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88195</commentid>
    <comment_count>3</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-05-24 11:26:36 +0000</bug_when>
    <thetext>Section 4.4 is very clear on this:
http://dev.w3.org/html5/webvtt/#webvtt-cue-text-dom-construction-rules

It talks about HTMLElement and lists the localNames of the nodes.

I don&apos;t know what&apos;s unclear about that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88203</commentid>
    <comment_count>4</comment_count>
    <who name="Caitlin Potter (:caitp)">caitlin.potter</who>
    <bug_when>2013-05-24 13:49:34 +0000</bug_when>
    <thetext>If it were clear, there wouldn&apos;t be confusion -- but there is, and this has been asked about by people this week during discussions about the track element / WebVTT. All we&apos;re hoping for is some clearer wording. The local-name vs node-type confusion in particular seems to have struck certain people as ambiguous.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88250</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-05-27 11:03:34 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; HTMLBoldElement doesn&apos;t exist. All the elements listed are defined to use
&gt; HTMLElement in the HTML spec. So the WebVTT spec is correct.

Oops, turns out I was wrong. &lt;span&gt; is HTMLSpanElement. The rest use HTMLElement.

Maybe the spec should say
[[
An HTML span element.
]]
with &quot;span&quot; being a link to http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-span-element

instead of the current
[[
HTMLElement element node with localName &quot;span&quot;.
]]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123888</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-10-24 13:58:16 +0000</bug_when>
    <thetext>https://github.com/w3c/webvtt/pull/223</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125169</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2016-02-19 21:22:11 +0000</bug_when>
    <thetext>*** Bug 28469 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>