<?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>17579</bug_id>
          
          <creation_ts>2012-06-23 00:10:21 +0000</creation_ts>
          <short_desc>Apply &apos;tag&apos; (link type) to its nearest article or body element ancestor</short_desc>
          <delta_ts>2012-09-18 12:22:47 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Stefan Götz">res-html</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>mike</cc>
    
    <cc>mtanalin</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>69353</commentid>
    <comment_count>0</comment_count>
    <who name="Stefan Götz">res-html</who>
    <bug_when>2012-06-23 00:10:21 +0000</bug_when>
    <thetext>(if it&apos;s undesirable for a link type definition to differ from &apos;a&apos;/&apos;area&apos; to &apos;link&apos;, dump this issue)

The spec about the &apos;rel&apos; keyword &apos;tag&apos; states:
&quot;The tag keyword indicates that the tag that the referenced document represents applies to the current document.&quot;

I think it would be useful if the tag (when linked with the &apos;a&apos;/&apos;area&apos; element) applies to its nearest article or body element ancestor, instead (which is the case for the &apos;address&apos; element, too).

Thereby a page listing several articles could make use of the &apos;tag&apos; keyword:

&amp;lt;section&amp;gt;
  &amp;lt;h1&amp;gt;Recent articles&amp;lt;/h1&amp;gt;

  &amp;lt;article&amp;gt;
    &amp;lt;h1&amp;gt;My first cooking lesson&amp;lt;/h1&amp;gt;
    &amp;lt;p&amp;gt;… — &amp;lt;a href=&quot;/blog/cooking-lesson&quot;&amp;gt;Read more&amp;lt;/a&gt;&amp;lt;/p&amp;gt;
    &amp;lt;footer&amp;gt;Tagged with &amp;lt;a href=&quot;/tags/cooking&quot; rel=&quot;tag&quot;&amp;gt;Cooking&amp;lt;/a&gt;&amp;lt;/footer&amp;gt;
  &amp;lt;article&amp;gt;

  &amp;lt;article&amp;gt;
    &amp;lt;h1&amp;gt;I scored two goals&amp;lt;/h1&amp;gt;
    &amp;lt;p&amp;gt;… — &amp;lt;a href=&quot;/blog/two-goals&quot;&gt;Read more&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;
    &amp;lt;footer&amp;gt;Tagged with &amp;lt;a href=&quot;/tags/football&quot; rel=&quot;tag&quot;&amp;gt;Football&amp;lt;/a&gt;&amp;lt;/footer&amp;gt;
  &amp;lt;article&amp;gt;

&amp;lt;/section&amp;gt;

With the current definition, the tags &quot;Cooking&quot; and &quot;Football&quot; apply to the whole page. 
With my proposed addition, the tag &quot;Cooking&quot; applies only to the first article snippet, the tag &quot;Football&quot; only to the second.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69354</commentid>
    <comment_count>1</comment_count>
    <who name="Stefan Götz">res-html</who>
    <bug_when>2012-06-23 00:14:12 +0000</bug_when>
    <thetext>(sorry, I messed up the example; another try)

&lt;section&gt;
  &lt;h1&gt;Recent articles&lt;/h1&gt;

  &lt;article&gt;
    &lt;h1&gt;My first cooking lesson&lt;/h1&gt;
    &lt;p&gt;… — &lt;a href=&quot;/blog/cooking-lesson&quot;&gt;Read more&lt;/a&gt;&lt;/p&gt;
    &lt;footer&gt;Tagged with &lt;a href=&quot;/tags/cooking&quot; rel=&quot;tag&quot;&gt;Cooking&lt;/a&gt;&lt;/footer&gt;
  &lt;article&gt;

  &lt;article&gt;
    &lt;h1&gt;I scored two goals&lt;/h1&gt;
    &lt;p&gt;… — &lt;a href=&quot;/blog/two-goals&quot;&gt;Read more&lt;/a&gt;&lt;/p&gt;
    &lt;footer&gt;Tagged with &lt;a href=&quot;/tags/football&quot; rel=&quot;tag&quot;&gt;Football&lt;/a&gt;&lt;/footer&gt;
  &lt;article&gt;

&lt;/section&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70517</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 15:45:52 +0000</bug_when>
    <thetext>This bug was cloned to create bug 18024 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74031</commentid>
    <comment_count>3</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2012-09-18 12:22:47 +0000</bug_when>
    <thetext>Same decision as https://www.w3.org/Bugs/Public/show_bug.cgi?id=18024</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>