RE: LINK'ed style sheets

SGML comments are now a valid way to "hide" the <STYLE> contents from
non-conformant browsers, as decided by the W3C.  CSS has its own
commenting mechanism - basically, just use C comments ( /* like this */
), and the stylesheet handler will ignore the contents.  Right now, the
stylesheet parser is expected to parse <STYLE> data that is inside SGML
comments, so it's picking up  "red letter day" in the example below as
being part of the selector.

Chris Wilson

>From: 	Steve Knoblock[SMTP:knoblock@worldnet.att.net]
>Sent: 	Monday, June 17, 1996 10:35 AM
>To: 	Chris Wilson (PSD)
>Subject: 	RE: LINK'ed style sheets
>One other thing,
>I noticed that any comment in the <style></style> containter caused the
>style sheet to not apply.
><!-- red letter day -->
>p {
>   color: red;
>It would help to have comments in style sheets.
>At 04:55 PM 6/17/96 +0000, you wrote:
>>You can also surround the contents of the <STYLE>-contained embedded
>>stylesheet with comments, similar to the <SCRIPT> commenting procedure. 
>>H1 { text-decoration: underline; color: blue }
>>P { color: red }
>>Planned implementation is, I believe, to apply <LINK>ed stylesheets
>>automatically, but allow the user to selectively turn them off. 
>>Comments on this plan are welcome.
>>	-Chris
>>Chris Wilson
>>>From: 	mseaton@pobox.com[SMTP:mseaton@pobox.com]
>>>Sent: 	Sunday, June 16, 1996 11:34 AM
>>>To: 	www-style@w3.org
>>>Subject: 	Re: LINK'ed style sheets
>>>> In MS IE 3.0 beta 1, a style sheet referenced through the LINK element 
>>>> will automatically be applied to a document. However, according to
>>>                                                        ^^^^^^^^^ ^^ 
>>>> the specification, the LINK element should be used to refer to 
>>>  ^^^ ^^^^^^^^^^^^^
>>>> alternative style sheets that the user can select. If you style
>>>>sheets to 
>>>> be automatically applied, the @import .. construct within the 
>>>> STYLE element is better: 
>>>Here is the actual wording:
>>>: Authors can use LINK elements to offer readers a choice of style
>>>: e.g: 
>>>:  <LINK TITLE="Old" REL=stylesheet HREF="old.style"
>>>:  <LINK TITLE="New" REL=stylesheet HREF="new.style"
>>>:  <LINK TITLE="Wacky" REL=stylesheet HREF="wacky.style"
>>>Nowhere does it say that <STYLE> *must* be used for a style sheet to be
>>>automatically applied.  I also feel it would be foolish to insist on
>>>this, as 
>>><STYLE> results in the style sheet appearing as gibberish at the start
>>>of the 
>>>page on browsers that do not support it, while <LINK rel=stylesheet> is
>>>Michael Seaton (mseaton@inforamp.net)
> _/     City Gallery - History of Photography                          
>          http://www.webcom.com/cityg  
> _/     PhotoGen -  Photography and Genealogy Mailing List
>          http://genealogy.org/~mangold
>_/     Member:  National Stereoscopic Association
>         http://www.tisco.com/3d-web/nsa/nsa.htm
>          Steve Knoblock 
>          Webmaster/Listowner
>          knoblock@worldnet.att.net