<?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>7475</bug_id>
          
          <creation_ts>2009-09-01 01:57:59 +0000</creation_ts>
          <short_desc>Semantics of rel=first and rel=index breaks specs and implementations</short_desc>
          <delta_ts>2013-10-22 22:12:10 +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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/public-html/2009Sep/0003</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>TrackerIssue, WGDecision</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LC</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leif Halvard Silli">xn--mlform-iua</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>alexandre</cc>
    
    <cc>contributor</cc>
    
    <cc>fantasai.bugs</cc>
    
    <cc>ian</cc>
    
    <cc>julian.reschke</cc>
    
    <cc>mike</cc>
    
    <cc>mjs</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>xn--mlform-iua</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>26766</commentid>
    <comment_count>0</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2009-09-01 01:57:59 +0000</bug_when>
    <thetext>The current draft defines semantics for rel=&quot;index&quot; and rel=&quot;first&quot; that break with current specs (HTML 4 and XHTML) as well as with implementations (Opera 9.x, Seamonkey and iCab).

In a summary, the draft 

a) makes synonyms out of rel keywords that are not keywords in any other spec or implementation 

       Example: &quot;begin&quot; and &quot;start&quot; as synonyms for &quot;first&quot;. (&quot;First&quot; isn&apos;t defined in specs at all yet.)
       See draft: http://www.whatwg.org/specs/web-apps/current-work/#link-type-first

b) splits keywords that otherwise are synonyms. 

        Example: &quot;top&quot; is split from &quot;start&quot; and &quot;home&quot; [and made synonymous with &quot;index&quot; instead see above]
        See draft: http://www.whatwg.org/specs/web-apps/current-work/#link-type-index 

Message to HTMLwg for more detais: http://lists.w3.org/Archives/Public/public-html/2009Sep/0003</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26769</commentid>
    <comment_count>1</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2009-09-01 15:00:57 +0000</bug_when>
    <thetext>Typo: 

In  a) the second instance of &quot;keywords&quot; was meant to be the word &quot;synonyms&quot; - like so:

a) makes synonyms out of rel keywords that are not SYNONYMS in any other spec or implementation </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26802</commentid>
    <comment_count>2</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2009-09-02 23:30:52 +0000</bug_when>
    <thetext>Alexandre Alapetite informs about how &quot;Link Widgets&quot; implements &quot;first&quot;, &quot;index&quot; etc:

              http://lists.w3.org/Archives/Public/public-html/2009Sep/0122.html

The &quot;XHTML Vocabulary&quot; 

http://www.w3.org/1999/xhtml/vocab/

The XHTML vocabulary has &quot;last&quot; as the opposite of &quot;start&quot;. This contradicts how &quot;last&quot; is interpreted in Opera, Seamonkey and iCab, where &quot;first&quot; and &quot;last&quot; are opposites without &quot;start&quot; and &quot;first&quot; being the same thing. However, the XHTML Vocab is here seemingly in line with the HTML 5 draft with regard to how it treats &quot;first&quot; and &quot;start&quot; as synonyms.

But XHTML Vocab and the current draft still disagrees about &quot;index&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27305</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-18 19:24:30 +0000</bug_when>
    <thetext>Having read all the documenting materials here, I concluded as I did when I did the research to write that part of the spec in the first place: it&apos;s a huge big giant mess that nobody agrees on, and it&apos;s implemented in such a small number of software packages and used by such a small fraction of users of those packages that it would be better to dramatically reduce the number of keywords, and then map legacy keywords to their closest synonyms, than to try to continue to support the huge number of existing keywords that are in use today.

I believe that the spec provides a more coherent model for moving forwards and converging existing implementations on a single model than would be achieved by implementing the proposals in this bug and in the materials linked to from this bug.

As such, I haven&apos;t changed the spec for this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29584</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandre Alapetite">alexandre</who>
    <bug_when>2009-11-15 22:51:57 +0000</bug_when>
    <thetext>Dear Ian,
With regard to @rel={top,index,contents,toc}, I believe that the situation before HTML5 was pretty clear and with a good consensus, but the current HTML5 draft introduces some severe incompatibilities (please note that I have no issue with @rel=&quot;first&quot; as currently defined in HTML5, so the title of this bug could be updated AFAIC).

In order to illustrate this fact, I have attempted to summarise the major information in the following draft table:

http://alexandre.alapetite.fr/divers/vrac/20091115_HTML_link_rel.html

The problems in the current version of HTML5 can IMHO be resumed to the following:

1) The traditional concepts of &quot;table of contents&quot; and &quot;index&quot; (i.e. a list of names or topics that are referred in a book, etc., usually arranged at the end of a book in alphabetical order) have disappeared in HTML5, while they exist in HTML4, HTML3.2, are used in the wild (also in other W3C documents), and backed up by several implementations, all agreeing. (See the above table for details)

2) Those two traditional concepts of &quot;index&quot; and &quot;table of contents&quot; have been merged into the traditional concept of &quot;top&quot; or &quot;home&quot;, as defined in HTML3.2 and implemented in e.g. Opera, SeaMonkey, etc. There is also a good consensus in the interpretation of &quot;top&quot; or &quot;home&quot;.

3) Against all definitions, this traditional concept of &quot;top&quot; or &quot;home&quot; has been renamed &quot;index&quot; in HTML5. The current definition of &quot;index&quot; in HTML5 (&quot;leading to the document that is the top of the hierarchy&quot;) has simply nothing to do with an index (as defined in an English dictionary, or HTML4, HTML3.2, etc.).

Therefore, I urge you to reconsider this chapter, for which I propose the following changes.

A) (6.12.3.17.1) Rename this concept &quot;top&quot; instead of the erroneous &quot;index&quot;, and remove &quot;index&quot;, &quot;contents&quot; and &quot;toc&quot; from this concept. Maybe add &quot;home&quot; as a synonym.

B) Reintroduce the traditional concept of &quot;index&quot; (i.e. a list of names or topics that are referred in a book, etc., usually arranged at the end of a book in alphabetical order), or in the worst case just drop it from the specification.

C) Reintroduce the traditional concept of &quot;Table of Contents&quot; (i.e. a list of the main points or information in a book, usually at the front of the book), or in the worst case just drop it from the specification. Make &quot;toc&quot; a synonym.

D) (Detail) Maybe add &quot;parent&quot; as a synonym of &quot;top&quot;.

Should it be necessary, I would be willing to contribute my services to improve this chapter, or create documents summarizing the current situation as I have just attempted with

http://alexandre.alapetite.fr/divers/vrac/20091115_HTML_link_rel.html

Thank you for your consideration.

Best regards,
Alexandre Alapetite
Technical University of Denmark
http://alexandre.alapetite.fr

P.S.: Thanks to Leif Halvard Silli for his contributions.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30359</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-01-04 09:18:20 +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: 

Thank you for this research. It is consistent with the results I had found myself when studying this several years ago.

While I agree with you that the few client implementations that support these values have indeed been considering these as separate meanings, that in itself is not a convincing argument. It is clear that as designed so far, the feature has been a failure (virtually nobody uses it). The main way to increase the likelihood that something like this will be used is to simplify it, which is part of what HTML5 does.

In actual use, I would guess that WordPress is amongst the biggest users of this feature. According to your table, if I&apos;m not misreading it, WordPress uses &quot;index&quot; (and &quot;start&quot;) as defined in HTML5. It doesn&apos;t have separate index and toc pages. Indeed none of the other CMSes you list use &quot;index&quot; at all. Plone and DotClear use &quot;contents&quot;, but it&apos;s not clear if the distinction they make is especially good from a usability perspective.

I do agree that the definitions in HTML5 rock the boat. However, given the utter mess we are starting with, and given the rarity of these features, I think it is a worthwhile cost. The alternative, IMHO, quite apart from making the feature more complicated by having more keywords, would be to just drop the whole thing altogether.

(Note that the word &quot;index&quot; here is not used in the printed-book sense, but in the sense of &quot;index.html&quot;, the default page on Apache.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33375</commentid>
    <comment_count>6</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-03-14 14:50:30 +0000</bug_when>
    <thetext>This bug predates the HTML Working Group Decision Policy.

If you are satisfied with the resolution of this bug, 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

This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35142</commentid>
    <comment_count>7</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-04-19 12:26:11 +0000</bug_when>
    <thetext>This issue is also related to the Link registry.

When Ian closed this issue, I discussed it with Julian Reschke and  Alexandre Alapetite.  We agreed to no do anything until the Link registry was ready etc. 

It goes without saying that I do not agree with the resolution of this bug. Will be awaiting the link registry for further input.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35143</commentid>
    <comment_count>8</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-04-19 12:28:02 +0000</bug_when>
    <thetext>The link registry = ISSUE-27</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37510</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-08-16 22:06:27 +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: No new information since comment 5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37531</commentid>
    <comment_count>10</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-08-16 23:06:19 +0000</bug_when>
    <thetext>This would break with how these link types are specified elsehwere. I think this issue is ready for the tracker.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37571</commentid>
    <comment_count>11</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-08-17 18:53:21 +0000</bug_when>
    <thetext>Do not reopen bugs that are to become issues. That is an invalid use of the bug system. Please see the document cited above for details.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38395</commentid>
    <comment_count>12</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-09-02 13:12:53 +0000</bug_when>
    <thetext>(In reply to comment #10)
&gt; This would break with how these link types are specified elsehwere. I think
&gt; this issue is ready for the tracker.

Suggested title of the Tracker issue: Do not break implemented link types

Suggested text of Tracker issue:  Some of the drafts/the editor&apos;s proposed re-definitions and re-canonicalizations  of some of the link types, will &apos;break the Web&apos; as they represent a break with how  these link relation keywords  are generally implemented and/or specified. For a good overview over how existing specs and implementations define or canonicalize link relations, see  Alexandre Alapetites table. (Current link to his table: http://alexandre.alapetite.fr/divers/vrac/20091115_HTML_link_rel.html )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38413</commentid>
    <comment_count>13</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-09-02 14:09:35 +0000</bug_when>
    <thetext>(In reply to comment #12)  

]] 4.12.4.18.1 Link type &quot;first&quot;
The first keyword may be used with link, a, and area elements. This keyword creates a hyperlink.
The first keyword indicates that the document is part of a sequence, and that the link is leading to the document that is the first logical document in the sequence.
Synonyms: For historical reasons, user agents must also treat the keywords &quot;begin&quot; and &quot;start&quot; like the first keyword. [[

Issue annotation: Summary: the problem is that &apos;start&apos; is defined as synonym for &apos;first.  &apos;start&apos; is today mainly treated as synonym for &quot;start page/home page&quot;. Start page is very common word for &apos;home page&apos; in the non-English world. Thus it should be treated as synonym for &apos;top&apos; instead.

]] 4.12.4.17.1 Link type &quot;index&quot;
The index keyword may be used with link, a, and area elements. This keyword creates a hyperlink.
The index keyword indicates that the document is part of a hierarchical structure, and that the link is leading to the document that is the top of the hierarchy. It conveys more information when used with the up keyword (q.v.).
Synonyms: For historical reasons, user agents must also treat the keywords &quot;top&quot;, &quot;contents&quot;, and &quot;toc&quot; like the index keyword.[[

Issue annotation: 
0. Ian suggest to conflate many link types which are treated as different link types in the wild. E.g Alexandre&apos;s table shows that mst user agents/user agent addons see &apos;top&apos;, &apos;index&apos; and &apos;toc&apos; as different things. Only &apos;toc&apos; and &apos;contents&apos; are often seen as same thing. What does Ian expect? That e.g. iCab offers a much simpler links relations toolbar in order to treat these things as synonyms?
1. &apos;User agents and use agent addons treats &apos;index&apos; as  index page in the book sense of the word (index in a book). Only Wordpress breaks that and uses Ian&apos;s dumbed down (Apache&apos;s index.html pages) interpretation. (However, Wordpress makes scarce use of link type - and the fewer link types one uses, then of course, the more synonymous - in practically speaking - does those terms become.)
2. Since the starting point is wrong, then it becomes meaningless to say that &apos;top&apos;/&apos;content&apos;/&apos;toc&apos; should be considered synonyms of &apos;index&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38414</commentid>
    <comment_count>14</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2010-09-02 14:31:24 +0000</bug_when>
    <thetext>Raised as http://www.w3.org/html/wg/tracker/issues/118.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46108</commentid>
    <comment_count>15</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2011-02-28 22:16:49 +0000</bug_when>
    <thetext>The HTML Working Group hereby adopts the Change Proposal to drop support for rel=&quot;&quot; values based on the lack of interest from 
implementors and users.

http://lists.w3.org/Archives/Public/public-html/2010Nov/0042.html

Please execute the edits specified in the Change Proposal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46164</commentid>
    <comment_count>16</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-03-02 01:03:18 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r5924.
Check-in comment: Drop support for rel=up, rel=last, rel=index, rel=first, and any related synonyms.
http://html5.org/tools/web-apps-tracker?from=5923&amp;to=5924</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46165</commentid>
    <comment_count>17</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-03-02 01:03:54 +0000</bug_when>
    <thetext>Done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95141</commentid>
    <comment_count>18</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-10-22 22:12:10 +0000</bug_when>
    <thetext>*** Bug 20931 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>