<?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>28469</bug_id>
          
          <creation_ts>2015-04-12 10:57:48 +0000</creation_ts>
          <short_desc>[WebVTT] Should more specific HTML objects be used for the WebVTT objects [CSS-feedback]</short_desc>
          <delta_ts>2016-10-11 17:52:43 +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>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>22154</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>widereview</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Silvia Pfeiffer">silviapfeiffer1</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>nigel.megitt</cc>
    
    <cc>philipj</cc>
    
    <cc>silviapfeiffer1</cc>
    
    <cc>singer</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact name="Web Media Text Tracks CG">public-texttracks</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>119444</commentid>
    <comment_count>0</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2015-04-12 10:57:48 +0000</bug_when>
    <thetext>Feedback by the CSS WG, see http://lists.w3.org/Archives/Public/public-tt/2015Apr/0007.html

Section 5.5: Some people wonder if HTMLElement is the right type to use for all the nodes, or if it is better to use more specific subclasses.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119523</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-04-15 09:14:19 +0000</bug_when>
    <thetext>This isn&apos;t meant to imply that the interface type is HTMLElement, it can also be a child interface like HTMLSpanElement. That&apos;s how it&apos;s implemented, try this in a console:

new VTTCue(0,0,&apos;&lt;lang en&gt;j&apos;).getCueAsHTML().firstChild // HTMLSpanElement

Other than spelling out the specific types where they exist, is there any other way to clarify this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119718</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-04-21 10:29:14 +0000</bug_when>
    <thetext>Let&apos;s see. I thought HTMLElement was in fact the correct interface for all these elements, but it turns out &lt;span&gt; should indeed be HTMLSpanElement. We should fix it.

WebVTT Class Object	HTMLElement element node with localName &quot;span&quot;.
WebVTT Voice Object	HTMLElement element node with localName &quot;span&quot;, and a title attribute set to the WebVTT Voice Object&apos;s value.
WebVTT Language Object	HTMLElement element node with localName &quot;span&quot;, and a lang attribute set to the WebVTT Language Object&apos;s applicable language.
https://html.spec.whatwg.org/multipage/semantics.html#the-span-element
These should be HTMLSpanElement.

WebVTT Italic Object	HTMLElement element node with localName &quot;i&quot;.
https://html.spec.whatwg.org/multipage/semantics.html#the-i-element
Correct as is.

WebVTT Bold Object	HTMLElement element node with localName &quot;b&quot;.
https://html.spec.whatwg.org/multipage/semantics.html#the-b-element
Correct as is.

WebVTT Underline Object	HTMLElement element node with localName &quot;u&quot;.
https://html.spec.whatwg.org/multipage/semantics.html#the-u-element
Correct as is.

WebVTT Ruby Object	HTMLElement element node with localName &quot;ruby&quot;.
https://html.spec.whatwg.org/multipage/semantics.html#the-ruby-element
Correct as is.

WebVTT Ruby Text Object	HTMLElement element node with localName &quot;rt&quot;.
https://html.spec.whatwg.org/multipage/semantics.html#the-rt-element
Correct as is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120777</commentid>
    <comment_count>3</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2015-06-07 07:58:20 +0000</bug_when>
    <thetext>(In reply to Simon Pieters from comment #2)
&gt; Let&apos;s see. I thought HTMLElement was in fact the correct interface for all
&gt; these elements, but it turns out &lt;span&gt; should indeed be HTMLSpanElement.

HTMLSpanElement inherits from HTMLElement. Objects of that type are still also of the HTMLElement type, I would think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125168</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2016-02-19 21:22:11 +0000</bug_when>
    <thetext>(This was fixed in https://github.com/w3c/webvtt/commit/010695fd0b9527bf606256a846633eaa66da9e94 )

*** This bug has been marked as a duplicate of bug 22154 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127726</commentid>
    <comment_count>5</comment_count>
    <who name="David Singer">singer</who>
    <bug_when>2016-10-11 17:52:43 +0000</bug_when>
    <thetext>HTMLElement no longer mentioned,</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>