[whatwg] Form controls disabled IDL attribute and disabled state

Boris Zbarsky bzbarsky at MIT.EDU
Sat Sep 11 18:08:05 PDT 2010

On 9/11/10 6:57 PM, Mounir Lamouri wrote:
> [2] some tricks might be to use query selector and check if the element
> has the :disabled pseudo-class applying but that's only a workaround.

Why? Something like matchesSelector is an api on the element itself that 
does what you want; do we really need another api for it?


More information about the whatwg mailing list