Re: [css3-conditional] navigator.supportsCSS rather than window.supportsCSS

Glenn Adams:
> I believe this is intended to be a function of the browser in general,
> independent of whether operating in quirks mode or not, which is
> effectively under author control. So NO, it should not be defined on
> Document.

Is supportsCSS() even meant to take quirks mode into account?  If so, 
then I'd think that calling window.supportsCSS() would use the quirks 
mode flag of that window's document.  I don't think it's necessary to 
support quirks mode dependent behaviour of supportsCSS() based on 
arbitrary documents created with createDocument() or XHR.

But anyway, I'm not sure there's much value in having supportsCSS() -- 
or @supports -- honours quirks mode at all.

Gecko does by accident, incidentally:

http://people.mozilla.org/~cmccormack/tests/supports-quirks-1.html
http://people.mozilla.org/~cmccormack/tests/supports-quirks-2.html

Received on Wednesday, 15 August 2012 07:40:28 UTC