<?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>18024</bug_id>
          
          <creation_ts>2012-07-18 15:45:50 +0000</creation_ts>
          <short_desc>Apply &apos;tag&apos; (link type) to its nearest article or body element ancestor</short_desc>
          <delta_ts>2012-08-25 16:48:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</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></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>mtanalin</cc>
    
    <cc>res-html</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70516</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 15:45:50 +0000</bug_when>
    <thetext>This was was cloned from bug 17579 as part of operation convergence.
Originally filed: 2012-06-23 00:10:00 +0000
Original reporter: res-html@untief.org

================================================================================
 #0   res-html@untief.org                             2012-06-23 00:10:21 +0000 
--------------------------------------------------------------------------------
(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.
================================================================================
 #1   res-html@untief.org                             2012-06-23 00:14:12 +0000 
--------------------------------------------------------------------------------
(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>72773</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-08-25 16:48:22 +0000</bug_when>
    <thetext>If I recall correctly, the specced behaviour matches deployed implementations, so can&apos;t really be changed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>