W3C home > Mailing lists > Public > public-html@w3.org > June 2012

[Bug 17579] New: Apply 'tag' (link type) to its nearest article or body element ancestor

From: <bugzilla@jessica.w3.org>
Date: Sat, 23 Jun 2012 00:10:25 +0000
To: public-html@w3.org
Message-ID: <bug-17579-2495@http.www.w3.org/Bugs/Public/>

           Summary: Apply 'tag' (link type) to its nearest article or body
                    element ancestor
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: res-html@untief.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,

(if it's undesirable for a link type definition to differ from 'a'/'area' to
'link', dump this issue)

The spec about the 'rel' keyword 'tag' states:
"The tag keyword indicates that the tag that the referenced document represents
applies to the current document."

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

Thereby a page listing several articles could make use of the 'tag' keyword:

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

    &lt;h1&gt;My first cooking lesson&lt;/h1&gt;
    &lt;p&gt;… — &lt;a href="/blog/cooking-lesson"&gt;Read
    &lt;footer&gt;Tagged with &lt;a href="/tags/cooking"

    &lt;h1&gt;I scored two goals&lt;/h1&gt;
    &lt;p&gt;… — &lt;a href="/blog/two-goals">Read more&lt;/a&gt;&lt;/p&gt;
    &lt;footer&gt;Tagged with &lt;a href="/tags/football"


With the current definition, the tags "Cooking" and "Football" apply to the
whole page. 
With my proposed addition, the tag "Cooking" applies only to the first article
snippet, the tag "Football" only to the second.

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 26 June 2012 13:07:48 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:23 UTC