W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2006

Re: FYI: draft-nottingham-http-link-header-00

From: Mark Nottingham <mnot@mnot.net>
Date: Thu, 22 Jun 2006 12:02:11 -0700
Message-Id: <85699CF1-479B-4A31-AF36-9AA7A25BF63D@mnot.net>
Cc: "HTTP Working Group" <ietf-http-wg@w3.org>
To: Anne van Kesteren <annevk@opera.com>


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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:49:44 GMT