counting stylesheet links

how many stylesheet links can a browser handle...

chaotic test page
#27-b
01.mar.2008

Extreme test:

The background should be white.

2 - 30:
#independent {background: green;}

31:
#independent {background: yellow;}

32:
#independent {background: red;}

33 - 1033:
#independent {background: blue;}

1034:
#independent {background: white;}

Notes:

This page contains 1033 stylesheet links with the "correct" link at the end.

The style element counts as one link – at least in IE/win, so the style element has to come before stylesheet links in order to preserve this page's basic styles in IE/win. This skewes the link counting by one.

tested browsers:

Opera:
win2K: 7.54+ … more than 1030
(tested to ≈4000: extremely slow but ok)
FF:
win2K: 2.0+ … more than 1030
(tested to ≈4000: extremely slow but ok)
Safari:
winXP: 3.0 … more than 1030
IE:
win2K: 5.0, 6.0 … no more than 31
winXP: 7.0 … no more than 31

Note: IE/win completely ignores all links beyond the 31st, so having a few thousand more doesn't slow it down.

Note: may take the CSS validator a couple of minutes to go through all the stylesheet links. [valid]

go to test-menu