<?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>18090</bug_id>
          
          <creation_ts>2012-07-18 17:14:36 +0000</creation_ts>
          <short_desc>For ease of interoperability with CSS, suggest adding an authoring recommendation that id attribute values consist of the characters A-Z, a-z, 0-9, _, - and not begin with a dash.</short_desc>
          <delta_ts>2012-09-14 09:59:19 +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>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-id-attribute</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</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>70648</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:14:36 +0000</bug_when>
    <thetext>This was was cloned from bug 16351 as part of operation convergence.
Originally filed: 2012-03-13 23:33:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-03-13 23:33:00 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html
Multipage: http://www.whatwg.org/C#the-id-attribute
Complete: http://www.whatwg.org/c#the-id-attribute

Comment:
For ease of interoperability with CSS, suggest adding an authoring
recommendation that id attribute values consist of the characters A-Z, a-z,
0-9, _, - and not begin with a dash.

Posted from: 99.113.33.155
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 Iceweasel/10.0.2
================================================================================
 #1   Simon Pieters                                   2012-03-14 07:49:58 +0000 
--------------------------------------------------------------------------------
Same with classes, I presume? What about data-* attribute names?

Note that the rule is:

&quot;In CSS, identifiers (including element names, classes, and IDs in selectors) can contain only the characters [a-zA-Z0-9] and ISO 10646 characters U+00A0 and higher, plus the hyphen (-) and the underscore (_); they cannot start with a digit, two hyphens, or a hyphen followed by a digit.&quot;
================================================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73864</commentid>
    <comment_count>1</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2012-09-14 09:59:19 +0000</bug_when>
    <thetext>Same decision as https://www.w3.org/Bugs/Public/show_bug.cgi?id=16351.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>