LINK only in HEAD?

According to the HTML 4
spec<http://www.w3.org/TR/html401/struct/links.html#h-12.1.3>LINK tags
must appear in HEAD:

*The LINK element may only appear in the head of a document.*


The HTML Imports
spec<http://www.w3.org/TR/custom-elements/#enqueuing-and-invoking-callbacks>contains
the following example:

> <me-first></me-first>
> <link rel="import" href="import.html">
> <me-third></me-third>


Is the intention of this example that me-first and me-third occur in the
HEAD?

If not, the example should be changed.

If so, it seems confusing since most examples and discussions of custom
elements are for visible elements (ie, *not* in the HEAD). Examples of this
from the HTML Imports spec include the many places where a browsing context
is referenced (such as the enteredView and leftView callbacks, and
the Creating and Passing Registries section) since a browsing context is
only relevant to elements visible to the user.

-Steve

Received on Wednesday, 27 November 2013 19:35:37 UTC