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

Re: Same source multiple times with @import

From: Douglas Rand <drand@sgi.com>
Date: Mon, 05 Jan 1998 17:50:29 -0500
Message-ID: <34B163B5.EFBA1662@sgi.com>
To: Chris Wilson <cwilso@MICROSOFT.com>
CC: "'neil@bigpic.com'" <neil@bigpic.com>, www-style@w3.org
Chris Wilson wrote:
> If they're cyclic, they include their parent (or themselves) and vice-versa.
> I would propose the CSS2 spec declare that
> "Treating stylesheets as a tree of stylesheet nodes (the document being the
> root) if an imported stylesheet has the same URI as one of its direct
> ancestors, that import should be ignored."

I'd concur with this.  That is also what I've implemented and I  suspect
the only practical solution to cycles in the DAG.

> I believe only the cyclic problem should be addressed - multiple importing
> may have some uses.

Multiple imports should definitely remain allowed.  Imports out of order
of the contents of a stylesheet probably should remain disallowed as
they needlessly complicate things.

Doug Rand				drand@sgi.com
Silicon Graphics/SSO			http://reality.sgi.com/drand
Disclaimer: These are my views,  SGI's views are in 3D
Received on Monday, 5 January 1998 17:52:07 UTC

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