News for hackers. Stuff that matters.
Re:All style tags after the first 30 style tags are not appl... by qeorge on Monday January 04, 2010 @04:09PM (#1031249)
Fair point, but in what case does including 30 inline stylesheets make sense?

I'm hesitant to call this a bug.

Re:All style tags after the first 30 style tags are not appl... by pyre on Monday January 04, 2010 @04:25PM (#1031272)
If it was meant to be a feature, it should have at least been documented. How is it good to have undocumented, arbitrary limitations on a platform that you are using?
Re:All style tags after the first 30 style tags are not appl... by daleharvey on Monday January 04, 2010 @05:53PM (#1031405)
using inline style tags directly after elements can have a noticeable speedup on a pages rendering, dynamically generated pages could quite easily have well over 30 with the only downside being this silly limit.

and that isnt mentioning the boundary situations for things like web page builders with the ability to user define styles in which having a "lot" of style tags is architecturally a good idea.

I am quite tired of this "your doing it wrong" meme when its used instead of "you arent doing the same thing I am doing"

Re:All style tags after the first 30 style tags are not appl... by jey on Monday January 04, 2010 @04:56PM (#1031330)
It makes perfect sense if you're generating your HTML and CSS from some kind of code-generator. Limiting it to only 30 style tags is really arbitrary and small.
Re:All style tags after the first 30 style tags are not appl... by knuckle_cake on Monday January 04, 2010 @04:34PM (#1031294)
The one time I've run into this 'bug' in the past was on a site that used lots of javascript plugins, more and more of which are coming with their own CSS files nowadays.

Of course you can concat them together, but that adds a maintenance burden in the future whose size can vary wildly.

At the very least, there is a documentation bug here. The reason for this seemingly arbitrary limit should be documented by MS.

Re:All style tags after the first 30 style tags are not appl... by pavs on Monday January 04, 2010 @04:16PM (#1031261)
Well, with MS, its a feature.
Re:All style tags after the first 30 style tags are not appl... by dkarl on Monday January 04, 2010 @06:48PM (#1031491)
At MS, it might be dictated by a coding standard.

More seriously, I was once treated VERY skeptically by an old-school programmer (not at MS, never worked there) when I replaced some of his fixed-sized buffers with resizeable ones. "If our customers are running workloads that create more than 256 frooble node objects, I want to hear about it." Via a bug report? Really? And then get a new bug report next year when the new limit is reached? But he was adamant, and if it was up to him we wouldn't have made the change at all. The way he worked, you knew how many frooble node objects the customer needed, and if you were wrong then you fixed the code.

Re:All style tags after the first 30 style tags are not appl... by ubernostrum on Monday January 04, 2010 @09:02PM (#1031666)
It's not unheard-of for components on a page to be separately generated, and for each to emit its own HTML and style info.