W3C home > Mailing lists > Public > www-style@w3.org > January 1998

RE: Same source multiple times with @import

From: Neil St.Laurent <neil@bigpic.com>
Date: Mon, 5 Jan 1998 15:07:21 -0600
Message-Id: <199801052157.OAA02486@underworld.bigpic.com>
To: Chris Wilson <cwilso@MICROSOFT.com>
CC: www-style@w3.org
> Not quite true.  Multiple inclusion does not by itself allow cycles - only
> inclusion of a parent stylesheet.  This is detectable with a different
> algorithm..

Yes, but what do you do in this case:

t.css: 

@import url(u.css);
@import url(v.css);

u.css:

@import url(v.css);

v.css:

@import url(u.css);

It isn't clear where to stop importing and which sheet to use.  I 
know the algorithm is fairly simple and doesn't waste much memory, 
but its unclear as to what actually happens with multiple inclusions 
if they are cyclic, include their parent,or otherwise.  And the fact 
that they are actually "imports" and not inclusions would seem to 
imply importing more than once is useless and possibly ignored.

 
__  __  __  __  __  __  __  __  __  __  __  __  __  __  __  __  __
 Mortar: Advanced Web Development      <http://mortar.bigpic.com/>
 Neil St.Laurent                     <mailto:stlaurent@bigpic.com>
 Big Picture Multimedia                            +1.403.265.8018
Received on Monday, 5 January 1998 17:02:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:54 GMT