W3C home > Mailing lists > Public > www-style@w3.org > August 2012

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

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Mon, 13 Aug 2012 23:55:17 -0700
Message-ID: <CABNRm62hBnQDTwr6s-WH=b1QRa7xvuKU1iwFR-Z+CpqCDzYX4g@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>, whatwg@lists.whatwg.org
On Mon, Aug 13, 2012 at 9:19 PM, fantasai <fantasai.lists@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.

- Ryosuke
Received on Tuesday, 14 August 2012 06:56:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:20 UTC