<?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>9593</bug_id>
          
          <creation_ts>2010-04-26 19:51:26 +0000</creation_ts>
          <short_desc>Anchors in spec are not consistent</short_desc>
          <delta_ts>2011-08-04 05:02:37 +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>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>All</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></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jirka Kosek">jirka</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</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>35261</commentid>
    <comment_count>0</comment_count>
    <who name="Jirka Kosek">jirka</who>
    <bug_when>2010-04-26 19:51:26 +0000</bug_when>
    <thetext>Definition of most element is preceded by anchor in a for the-xxx-element and similarly for attributes (the-xxx-attribute). However I have found that some attributes doesn&apos;t follow this pattern. For example for contenteditable there is just contenteditable anchor, not the-contenteditable-attribute.

This naming schema should be 100% consistent in order to allow easy linking to definition of element/attributes from other specs and reference materials.

It this is not feasible I would as editor to provide XML file with mapping from attribute/element name to an appropriate anchor label.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35877</commentid>
    <comment_count>1</comment_count>
      <attachid>885</attachid>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2010-05-28 16:21:19 +0000</bug_when>
    <thetext>Created attachment 885
Section id -&gt; Element mapping

I would say that keeping existing links intact is more important than consistency &lt;http://www.w3.org/Provider/Style/URI&gt;...

However, here&apos;s a section id -&gt; element mapping. Hope it&apos;s useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37565</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-08-17 18:46:08 +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: Rejected
Change Description: no spec change
Rationale: The section IDs are mostly auto-generated by Anolis. As Ms2ger says, consistency over time is more important here.

If you really want a mapping of elements of IDs, I&apos;d rather wait until the spec is really stable before providing one, since otherwise it&apos;ll just keep going out of date as the auto-generated IDs change. If you rely on a specific ID, let me know and I can freeze it by explicitly listing it in the source.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37584</commentid>
    <comment_count>3</comment_count>
    <who name="Jirka Kosek">jirka</who>
    <bug_when>2010-08-17 20:07:15 +0000</bug_when>
    <thetext>&gt; Rationale: The section IDs are mostly auto-generated by Anolis.
&gt; As Ms2ger says, consistency over time is more important here.

Well if inconsistent IDs were generated at the start there is no reason to takeover this legacy forever. You can assign consistent IDs in the form &quot;the-xxx-element|attribute&quot; where irregular IDs are used and put additional &lt;a name=&quot;original-id&quot;&gt; in the place to make sure that old links works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37585</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-08-18 01:16:09 +0000</bug_when>
    <thetext>Is there a good reason to spend the effort to do this? Or is it just a matter of wanting things to be pretty?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37595</commentid>
    <comment_count>5</comment_count>
    <who name="Jirka Kosek">jirka</who>
    <bug_when>2010-08-18 08:29:18 +0000</bug_when>
    <thetext>IMHO there is a good reason. For example I do a lot of training. In supplement materials (authored in XML) I can enclose each HTML tag like

...&lt;tag&gt;table&lt;/tag&gt;...

which is then transformed to

...&lt;a href=&quot;http://dev.w3.org/html5/spec/Overview.html#the-table-element&quot;&gt;table&lt;/a&gt;...

so it is easy to navigate to definition of element in spec. In past I have done so for many other languages and it was easy because mapping from element name to URI was straightforward.

So I think it is worth effort, especially given that irregularly named are just few elements.

Thanks in advance,

Jirka</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37619</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-08-18 17:58:42 +0000</bug_when>
    <thetext>Ok, list the ones you want me to fix, and I&apos;ll go through and move the current id=&quot;&quot;s for those to be on a slightly different element so that the auto-generated ID works also.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37937</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-08-26 18:41:28 +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: Did Not Understand Request
Change Description: no spec change
Rationale: See comment 6. I&apos;m happy to do this, just let me know the IDs to fix and reopen the bug. (I&apos;m just marking this NEEDSINFO so that it isn&apos;t on my list in the meantime.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45352</commentid>
    <comment_count>8</comment_count>
    <who name="Jirka Kosek">jirka</who>
    <bug_when>2011-02-10 21:46:27 +0000</bug_when>
    <thetext>The following elements doesn&apos;t use regular anchor name (the-xxx-element):

audio
command
h1
h2
h3
h4
h5
h6
head
html
menu
meta
script
sub
sup
title
video

I have tried to find inconsistencies in attribute anchors as well, but it seems that there is much larger variety as attributes are sometimes depending on element where they are used and some attributes are shared between several elements. Although it would be great to have this unified as well I&apos;m not insisting on this change for attributes now as it&apos;s not so common to create general links to attributes.

Ian, thanks in advance for this small improvement.

Jirka</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47872</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-05-03 19:18:53 +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: see diff given below
Rationale: Concurred with reporter&apos;s comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47873</commentid>
    <comment_count>10</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-05-03 19:19:13 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6050.
Check-in comment: make ids more consistent (this might break some links, sorry)
http://html5.org/tools/web-apps-tracker?from=6049&amp;to=6050</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47907</commentid>
    <comment_count>11</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-05-03 22:05:06 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6058.
Check-in comment: make more ids consistent
http://html5.org/tools/web-apps-tracker?from=6057&amp;to=6058</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52558</commentid>
    <comment_count>12</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:02:37 +0000</bug_when>
    <thetext>mass-moved component to LC1</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>885</attachid>
            <date>2010-05-28 16:21:19 +0000</date>
            <delta_ts>2010-05-28 16:21:19 +0000</delta_ts>
            <desc>Section id -&gt; Element mapping</desc>
            <filename>sections.json</filename>
            <type>application/json</type>
            <size>3212</size>
            <attacher name="Ms2ger">Ms2ger</attacher>
            
              <data encoding="base64">ewogICJ0aGUtaHRtbC1lbGVtZW50LTAiIDogImh0bWwiLAogICJ0aGUtaGVhZC1lbGVtZW50LTAi
IDogImhlYWQiLAogICJ0aGUtdGl0bGUtZWxlbWVudC0wIiA6ICJ0aXRsZSIsCiAgInRoZS1iYXNl
LWVsZW1lbnQiIDogImJhc2UiLAogICJ0aGUtbGluay1lbGVtZW50IiA6ICJsaW5rIiwKICAibWV0
YSIgOiAibWV0YSIsCiAgInRoZS1zdHlsZS1lbGVtZW50IiA6ICJzdHlsZSIsCiAgInNjcmlwdCIg
OiAic2NyaXB0IiwKICAidGhlLW5vc2NyaXB0LWVsZW1lbnQiIDogIm5vc2NyaXB0IiwKICAidGhl
LWJvZHktZWxlbWVudC0wIiA6ICJib2R5IiwKICAidGhlLXNlY3Rpb24tZWxlbWVudCIgOiAic2Vj
dGlvbiIsCiAgInRoZS1uYXYtZWxlbWVudCIgOiAibmF2IiwKICAidGhlLWFydGljbGUtZWxlbWVu
dCIgOiAiYXJ0aWNsZSIsCiAgInRoZS1hc2lkZS1lbGVtZW50IiA6ICJhc2lkZSIsCiAgInRoZ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iwKICAidGhlLWtleWdlbi1lbGVtZW50IiA6ICJrZXlnZW4iLAogICJ0aGUt
b3V0cHV0LWVsZW1lbnQiIDogIm91dHB1dCIsCiAgInRoZS1wcm9ncmVzcy1lbGVtZW50IiA6ICJw
cm9ncmVzcyIsCiAgInRoZS1tZXRlci1lbGVtZW50IiA6ICJtZXRlciIsCiAgInRoZS1kZXRhaWxz
LWVsZW1lbnQiIDogImRldGFpbHMiLAogICJ0aGUtc3VtbWFyeS1lbGVtZW50IiA6ICJzdW1tYXJ5
IiwKICAidGhlLWNvbW1hbmQiIDogImNvbW1hbmQiLAogICJtZW51cyIgOiAibWVudSIsCiAgImRl
dmljZXMiIDogImRldmljZSIKfQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>