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

fantasai fantasai.lists at inkedblade.net
Tue Aug 14 11:52:16 PDT 2012

On 08/13/2012 11:55 PM, Ryosuke Niwa wrote:
> On Mon, Aug 13, 2012 at 9:19 PM, fantasai <fantasai.lists at inkedblade.net <mailto:fantasai.lists at inkedblade.net>> wrote:
>     The CSSWG discussed drag-and-drop pseudo-classes today. The current
>     proposal is to have three pseudo-classes:
>        * One for the element representing the drop target that
>          would receive the item if it were dropped.
>        * One for all elements representing possible drop targets
>          that could receive the item.
> How do we find these elements? On one hand, if we're only supporting dropzone attribute, then adding new pseudo element seems
> unnecessary. On the other hand, I can't think of ways to detect whether an element could return false or prevents the default
> action on dragover/dragenter events without firing those events.

I don't know. I'm just going on what was asked for in the following thread. :)

The spec prose so far is this:
The definition is pretty generic; I'm happy to add details on how
exactly it should work with HTML, if someone can provide them.


More information about the whatwg mailing list