[whatwg] [selectors4] drag-and-drop pseudo-classes

Tab Atkins Jr. jackalmage at gmail.com
Tue Aug 14 11:06:35 PDT 2012

On Tue, Aug 14, 2012 at 3:03 AM, Sebastian Zartner
<sebastianzartner at gmail.com> wrote:
>>   * One for all elements representing possible drop targets
>>     that could receive the item.
>>   * One for all elements representing drop targets that do
>>     not accept this type of item.
> This sounds like these two pseudo-classes would do exactly the opposite. So
> why not use :not() for this case?

Nope, the distinction is similar to :valid/:invalid - usually, most
elements will match neither, because they're not drop targets at all,
so they can't be a valid drop target *or* an invalid one.


More information about the whatwg mailing list