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

Same source multiple times with @import

From: Neil St.Laurent <neil@bigpic.com>
Date: Fri, 2 Jan 1998 14:50:10 -0600
Message-Id: <199801022140.OAA02029@underworld.bigpic.com>
To: www-style@w3.org
Given t.css:

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

and u.css:

@import (v.css);

p { color: red; }

and v.css:

p { color: green; }

Should the color of p be red or green?

I will argue that it should be "red" because sheets are to be 
processed in order they are found (recursively into files) and if the 
same sheet is included twice the second inclusion is 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 Friday, 2 January 1998 16:43:50 GMT

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