Re: Inclusion of :drag-over in CSS4 UI

On 23/9/11 12:28, Mikko Rantalainen wrote:
> 2011-09-23 04:33 EEST: Ojan Vafai:
>> On Thu, Sep 22, 2011 at 6:30 PM, David Chambers:
>>> Since this actually matches an element with @dropzone (and which
>>> is a
>>> valid dropzone for the dragged element), I think it needs a better
>>> name.  As an initial bad suggestion, :valid-dropzone.
>> How about just :dropzone?
> I think that :valid-dropzone would be better. That way there would be a
> logical extension :invalid-dropzone that would trigger if user is
> dragging something over an area that will not accept the drop.
>
Isn't that just :not(:valid-dropzone)? Or there's a state where it's 
neither a valid nor an invalid dropzone?

-- 
Lea Verou (http://leaverou.me | @LeaVerou)

Received on Friday, 23 September 2011 10:55:41 UTC