W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2013

[whatwg] [html][webcomponents]: Link element in body?

From: Brian Kardell <bkardell@gmail.com>
Date: Tue, 19 Mar 2013 11:18:53 -0400
Message-ID: <CADC=+je=5_mVJyirFnpJytfzWzu5f6v6KBWz=LTAoF8pxMbY9Q@mail.gmail.com>
To: whatwg@whatwg.org
Section 4.2.4 of the HTML Standard[1] contains a note:
"Note: If the rel attribute is used, the element is restricted to the
head element. When used with the itemprop attribute, the element can
be used both in the head element and in the body of the page, subject
to the constraints of the microdata model."

However, all modern browsers at least seem to respect/treat rel link
elements in the body as most developers would expect (ie, they work
just fine).

Given that this would appear to be a de-facto standard and that is to
some extent the goal of the spec (documenting what _is_ actually
standard), I'm curious as to the discrepancy... Can someone (Hixie
maybe) explain?  Is it worth opening a bug or am I missing something

1. http://www.whatwg.org/specs/web-apps/current-work/#the-link-element

Brian Kardell :: @briankardell :: hitchjs.com
Received on Tuesday, 19 March 2013 15:19:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:20 UTC