Previous Message
Next Message

Limits to CSS

Sent by Adam Kuehn on 25 January 2005 21:09


Zoe M. Gillenwater wrote:

>>Having heard the 'C' in CSS means cascading, I was wondering; is 
>>there a limit to how many levels of redefines are suported? Is this 
>>different across browsers?
>
>I've never heard of any limits on the cascade, and I'm guessing that 
>the silence of the rest of the list means they haven't either.

I have seen a declaration on the web that "over 100" stylesheets are 
allowed.  However, I can't find the actual reference, and I don't 
believe it was in any way authoritative.  There is no limit listed in 
the spec (or at least, I haven't found one).  I expect that this 
would be limited by the implementations (i.e. would be 
browser-specific), if it is limited at all.

It is far more likely, however, that there is no theoretical limit 
and the real limit is practical.  Why would anyone even want to call 
more than, say, a dozen or two style sheets?  Even at that point, a 
dozen server calls is going to start to begin to slow down page 
display.  I would think 100 such calls would impose a significant 
enough delay to be regarded as intolerable, not to mention the delay 
imposed in deploying the site by having to create the 100 pages.

I don't think you probably need to worry.

-- 

-Adam Kuehn
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: