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:02:52 -0600
Message-Id: <199801052153.OAA02483@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:


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


@import url(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 16:57:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:46 UTC