<?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>23645</bug_id>
          
          <creation_ts>2013-10-26 15:15:05 +0000</creation_ts>
          <short_desc>&quot;formal way&quot; to indicate the computing language for &lt;code&gt;, &lt;samp&gt; and possibly &lt;var&gt;</short_desc>
          <delta_ts>2014-02-25 16:55:41 +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>NEEDSINFO</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-code-element</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Needs Impl Interest</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>master.skywalker.88</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95396</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-10-26 15:15:05 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html
Multipage: http://www.whatwg.org/C#the-code-element
Complete: http://www.whatwg.org/c#the-code-element
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
I know it can seem useless, but has it ever been proposed to indicate in a
&quot;formal way&quot; the computing language for &lt;code&gt;, &lt;samp&gt; and possibly &lt;var&gt;
element? It could also be useful for syntax highlighting scripts, not to rely
on the author&apos;s (in)correct use of @class.

Posted from: 94.39.32.174 by master.skywalker.88@gmail.com
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95480</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-10-28 22:04:12 +0000</bug_when>
    <thetext>It&apos;s something that&apos;s come up, but we&apos;re not sure there&apos;s enough evidence of need for us to do a formal standard. What would be helpful is seeing syntax highlighting script authors get together and come up with their own convention. That would show that there&apos;s a need.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95495</commentid>
    <comment_count>2</comment_count>
    <who name="Andrea Rendine">master.skywalker.88</who>
    <bug_when>2013-10-28 23:49:24 +0000</bug_when>
    <thetext>Is there a public discussion about what did come up? Specific attributes or attribute semantics other than the @class? If you let me know, then we can try to throw a voice among such script authors to see if they can agree on it or propose new things. My effort won&apos;t be that strong, but this is the kind of things in which a someone inexpert like me can still help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95521</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-10-29 17:11:27 +0000</bug_when>
    <thetext>By &quot;come up&quot; I just mean that people have filed bugs about it, like you (or mailed to the WHATWG list).

The ways scripts are encouraged to collaborate on something like this would be either class=&quot;&quot; attributes or data-*=&quot;&quot; attributes.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>