- From: Mark Nottingham <mnot@mnot.net>
- Date: Thu, 22 Jun 2006 12:02:11 -0700
- To: Anne van Kesteren <annevk@opera.com>
- Cc: "HTTP Working Group" <ietf-http-wg@w3.org>
On 2006/06/22, at 11:44 AM, Anne van Kesteren wrote:
>
> Say the document has the following snippet:
>
> <head>
> <style type="text/css">
> p { background:lime }
> </style>
> </head>
>
> ... it should be clear that Link enters the (CSS) cascade before
> that. So that if you attach a style sheet using Link containg `p
> { background:red }`, <p> elements will have a green background.
>
> See also the last paragraph of http://www.w3.org/TR/1999/REC-
> html401-19991224/present/styles.html#h-14.6 for another way of
> saying it. I think this should be in the specification that defines
> Link rather than in every specification that defines a way to
> attach style sheets in documents like <svg:style>, <html:style>,
> <html:link> and <?xml-stylesheet?>...
Something like:
"If a format defines a compatible mechanism for embedding links where
ordering may be significant (e.g., the LINK element in HTML), Link
HTTP headers SHOULD be considered to occur before them."
?
--
Mark Nottingham http://www.mnot.net/
Received on Thursday, 22 June 2006 19:01:58 UTC