<?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>23208</bug_id>
          
          <creation_ts>2013-09-11 08:13:17 +0000</creation_ts>
          <short_desc>Attributes and translation</short_desc>
          <delta_ts>2014-01-16 15:12:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</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></status_whiteboard>
          <keywords>CR</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="i18n IG">www-international</reporter>
          <assigned_to name="Erika Doyle Navara">erika.doyle</assigned_to>
          <cc>fsasaki</cc>
    
    <cc>jirka</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
    
    <cc>travil</cc>
    
    <cc>www-international</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93229</commentid>
    <comment_count>0</comment_count>
    <who name="i18n IG">www-international</who>
    <bug_when>2013-09-11 08:13:17 +0000</bug_when>
    <thetext>3.2.3.4 The translate attribute
http://www.w3.org/TR/html5/dom.html#the-translate-attribute

The list of translatable attributes suggests that any values of attributes not on the list should not be translated, but this is not explicitly stated.

I assume that it is the case that values of attributes not listed are non-translatable whether or not the element on which they sit is set to translate.

I&apos;m also not entirely clear what happens when the value of an attribute in the list appears on an element that has translate set to no.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98047</commentid>
    <comment_count>1</comment_count>
    <who name="github bugzilla bot">sideshowbarker+gitzilla</who>
    <bug_when>2014-01-06 22:40:29 +0000</bug_when>
    <thetext>Commit pushed to master at https://github.com/w3c/html

https://github.com/w3c/html/commit/572aa7b55bcf60eb7f1e8642f1203229ad20e70c
[Bug 23208]: Be more explicit about translate attribute behavior. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=23208</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98050</commentid>
    <comment_count>2</comment_count>
    <who name="Erika Doyle Navara">erika.doyle</who>
    <bug_when>2014-01-06 23:02:33 +0000</bug_when>
    <thetext>It seems that the most intuitive behavior would be to only translate translatable attributes when their element is in the translate-enabled state, and in all other cases not to translate an element&apos;s attribute values. 

As I read it, this is the behavior currently described in the spec, but I&apos;d be happy to take a stab at making this more explicit:

https://github.com/w3c/html/commit/572aa7b55bcf60eb7f1e8642f1203229ad20e70c

Is there usage data or use cases suggesting otherwise? I&apos;m having a hard time imagining why one might want to translate the translatable attributes but not the text node children of an element.

If the clarification looks okay, I&apos;ll merge it into the HTML5 CR spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98079</commentid>
    <comment_count>3</comment_count>
    <who name="Felix Sasaki">fsasaki</who>
    <bug_when>2014-01-07 14:57:30 +0000</bug_when>
    <thetext>(In reply to Erika Doyle Navara from comment #2)
&gt; It seems that the most intuitive behavior would be to only translate
&gt; translatable attributes when their element is in the translate-enabled
&gt; state, and in all other cases not to translate an element&apos;s attribute
&gt; values. 
&gt; 
&gt; As I read it, this is the behavior currently described in the spec, but I&apos;d
&gt; be happy to take a stab at making this more explicit:
&gt; 
&gt; https://github.com/w3c/html/commit/572aa7b55bcf60eb7f1e8642f1203229ad20e70c
&gt; 
&gt; Is there usage data or use cases suggesting otherwise? I&apos;m having a hard
&gt; time imagining why one might want to translate the translatable attributes
&gt; but not the text node children of an element.
&gt; 
&gt; If the clarification looks okay, I&apos;ll merge it into the HTML5 CR spec.

The clarification looks good to me.

- Felix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98114</commentid>
    <comment_count>4</comment_count>
    <who name="Erika Doyle Navara">erika.doyle</who>
    <bug_when>2014-01-08 00:47:55 +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: Accepted

Change Description: Making translation behaviors of attributes under translate-enabled and no-translate states of an element a little more explicit.

Rationale: Clarifies intended behavior of the translate attribute for web authors and implementers of localization tools (no normative changes).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98115</commentid>
    <comment_count>5</comment_count>
    <who name="github bugzilla bot">sideshowbarker+gitzilla</who>
    <bug_when>2014-01-08 00:54:24 +0000</bug_when>
    <thetext>Commit pushed to master at https://github.com/w3c/html

https://github.com/w3c/html/commit/32c3e93f765dde4b0873c519cd4728305bada5f0
Adding W3C fork markers for HTML5 CR bug 23208.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98116</commentid>
    <comment_count>6</comment_count>
    <who name="github bugzilla bot">sideshowbarker+gitzilla</who>
    <bug_when>2014-01-08 00:59:31 +0000</bug_when>
    <thetext>Commits pushed to CR at https://github.com/w3c/html

https://github.com/w3c/html/commit/8c743ed23b2006f9bd738735b703b21a54fb4a0b
[Bug 23208]: Be more explicit about translate attribute behavior. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=23208

https://github.com/w3c/html/commit/af58f280cb43e860043a81ce436dda9fa9d03a95
Adding W3C fork markers for HTML5 CR bug 23208.

Conflicts:
	source</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98618</commentid>
    <comment_count>7</comment_count>
    <who name="github bugzilla bot">sideshowbarker+gitzilla</who>
    <bug_when>2014-01-16 15:12:29 +0000</bug_when>
    <thetext>Commits pushed to CR at https://github.com/w3c/html

https://github.com/w3c/html/commit/572aa7b55bcf60eb7f1e8642f1203229ad20e70c
[Bug 23208]: Be more explicit about translate attribute behavior. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=23208

https://github.com/w3c/html/commit/32c3e93f765dde4b0873c519cd4728305bada5f0
Adding W3C fork markers for HTML5 CR bug 23208.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>