On 16/08/11 09:38, Roan Kattouw wrote:
So these warnings are harmless and a testament to the
fact that you
can't write stuff that works in all browsers AND validates in all
browsers (not 'validates' in the W3C sense, but 'validates' in the
browser-doesn't-complain sense). We're in the situation where things
work in all browsers but nearly all browsers complain about certain
things (but only in the developer console, and without actually
breaking functionality), and I think that's better than having a
warning-free but broken (or less feature-rich) web site :)
We could avoid the warnings by using conditional comments in the HTML.
That's how it was done in Monobook. But the effect of this was a
higher number of object requests for IE users, which slowed down site
performance for them. Another solution would be to send Vary:
User-Agent headers, but that would reduce server-side performance
significantly.
The current scheme has good performance and a good feature set, at the
expense of putting some annoying errors in your Firefox error console.
-- Tim Starling