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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 22 Jun 2006 20:44:55 +0200
To: "HTTP Working Group" <ietf-http-wg@w3.org>
Message-ID: <op.tbj805qc64w2qv@id-c0020.www.planet.nl>

On Thu, 22 Jun 2006 20:37:02 +0200, Mark Nottingham <mnot@mnot.net> wrote:
>> Any chance you include Default-Style as well http://www.w3.org/TR/ 
>> 1999/REC-html401-19991224/present/styles.html#h-14.3.2 in some future  
>> version?
> Default-Style is already in the Message Header registry:
>   http://www.iana.org/assignments/message-headers/perm-headers.html
> Are you saying that its status is ambiguous, or that it's not well- 
> defined?

I actually didn't know it was in there. :-o It points back to HTML4 though  
which doesn't really give a solid definition. It's more an example of  

>> Regarding the draft, it's important that the draft says that any Link  
>> headers should be added before <link> relations included in the  
>> document so that CSS cascade and such works out ok.
> Could you expand upon that? I'm not sure I'm following you.

Say the document has the following snippet:

   <style type="text/css">
    p { background:lime }

... 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  
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?>...

Anne van Kesteren
Received on Thursday, 22 June 2006 18:45:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:39 UTC