Connecting Tech Pros Worldwide Help | Site Map

How many levels of nested @import are allowed?

  #1  
Old July 20th, 2005, 11:50 PM
Hostile17
Guest
 
Posts: n/a
The question's all in the title really, but here's the context.

I was writing a Perl script to fetch the CSS from pages and calculate
the size of the images referenced in it.

Then I remembered that you can nest another @import statement inside
an imported or linked style sheet.

How many times can you do this? A third one inside the second one? A
fourth inside the third?
  #2  
Old July 20th, 2005, 11:50 PM
Mark Tranchant
Guest
 
Posts: n/a

re: How many levels of nested @import are allowed?


Hostile17 wrote:
[color=blue]
> Then I remembered that you can nest another @import statement inside
> an imported or linked style sheet.
>
> How many times can you do this? A third one inside the second one? A
> fourth inside the third?[/color]

Until the browser with the weakest support breaks.

--
Mark.
Closed Thread