<?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>5895</bug_id>
          
          <creation_ts>2008-07-24 07:53:33 +0000</creation_ts>
          <short_desc>Require attributes on &lt;embed&gt; and data-* attributes to be lowercase</short_desc>
          <delta_ts>2010-10-04 14:30:21 +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>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>aaz</cc>
    
    <cc>hsivonen</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>shadow2531</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>21312</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2008-07-24 07:53:33 +0000</bug_when>
    <thetext>For round-trippability and in order to avoid confusion with post-parsing mutations of attributes (the U12345 stuff), attributes on &lt;embed&gt; and data-* attributes should be required to be lowercase (in the ASCII range).

This would also give authors less rope when trying mixed case for data-* attributes in text/html in markup and using the .dataset API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21313</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2008-07-24 08:15:52 +0000</bug_when>
    <thetext>I don&apos;t understand what this would mean. How would I phrase this in such a way that authors who are writing HTML wouldn&apos;t think it applied to them?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21316</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2008-07-24 11:11:12 +0000</bug_when>
    <thetext>It does apply to them, but only when using the .dataset API, since, AFAICT, it&apos;s case sensitive. No?

&lt;body data-foo=bar&gt;

alert(document.body.dataset.FOO);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21317</commentid>
    <comment_count>3</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2008-07-24 13:37:42 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I don&apos;t understand what this would mean. How would I phrase this in such a way
&gt; that authors who are writing HTML wouldn&apos;t think it applied to them?

Names of data-* attributes and attributes on the embed element must not contain upper-case ASCII letters. Note: It is impossible to violate this requirement in the text/html serialization. Thus, the requirement concerns the XML serialization and the DOM.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21342</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2008-07-25 21:07:41 +0000</bug_when>
    <thetext>I don&apos;t really like that but I&apos;ll figure something out I guess.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>