<?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>28072</bug_id>
          
          <creation_ts>2015-02-22 10:25:40 +0000</creation_ts>
          <short_desc>[WebVTT] Consistent use of snap-to-lines flag</short_desc>
          <delta_ts>2017-07-10 06:07:14 +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>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>v1 widereview</status_whiteboard>
          <keywords>decided</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>philipj</cc>
    
    <cc>silviapfeiffer1</cc>
    
    <cc>singer</cc>
    
    <cc>tai</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>118073</commentid>
    <comment_count>0</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2015-02-22 10:25:40 +0000</bug_when>
    <thetext>The snap-to-lines flag is of type Boolean that can be &quot;set&quot; to 
&quot;true&quot; or &quot;false&quot;. Instead of referring to these values sometimes the 
setting of the values is described with the verbs &quot;set&quot; (for setting to 
&quot;true&quot;) and &quot;unset&quot; (for setting to &quot;false&quot;). It would be more 
consistent and help the reader if the operation is always described as 
&quot;set to true&quot; and &quot;set to false&quot;.

As per feedback from Andreas Tai:
http://lists.w3.org/Archives/Public/public-texttracks/2015Feb/0005.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118156</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-02-25 06:30:31 +0000</bug_when>
    <thetext>I can only find one such instance, in http://dev.w3.org/html5/webvtt/#dfn-vttcue-snaptolines

&quot;On setting, the text track cue snap-to-lines flag must be set if the new value is true, and must be unset otherwise.&quot;

I guess this could be simply be &quot;On setting, the text track cue snap-to-lines flag must be set to the new value.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118157</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-02-25 06:33:43 +0000</bug_when>
    <thetext>But I would value consistency with https://html.spec.whatwg.org/#dom-texttrackcue-pauseonexit so would prefer no change.

I found an unrelated problem though:
https://github.com/w3c/webvtt/pull/175</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118428</commentid>
    <comment_count>3</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2015-03-08 08:58:38 +0000</bug_when>
    <thetext>Actually, there is a difference in what the browser stores internally during processing (parsing, rendering, API) to what the concept&apos;s value is. The concept&apos;s value is more closely related to what an author would set in a HTML attribute. Since a boolean attribute is &quot;set to true&quot; with any value, it&apos;s only false when unset.

I think we need to leave this as is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127725</commentid>
    <comment_count>4</comment_count>
    <who name="David Singer">singer</who>
    <bug_when>2016-10-11 17:49:58 +0000</bug_when>
    <thetext>I cannot find any places where we describe snap-to-lines as merely &apos;set&apos;; it&apos;s always true or false now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128681</commentid>
    <comment_count>5</comment_count>
    <who name="Andreas Tai">tai</who>
    <bug_when>2017-07-10 06:07:14 +0000</bug_when>
    <thetext>The terminology was changed in https://github.com/w3c/webvtt/commit/78605993eead104efa3b1b5bafc8d040f26d2659. So although this issue is not referenced in the commit message it resolved the issue by following the proposal.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>