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

[selectors4] drag-and-drop pseudo-classes

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 13 Aug 2012 21:19:00 -0700
Message-ID: <5029D1B4.9010102@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>, whatwg@lists.whatwg.org
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.
   * One for all elements representing drop targets that do
     not accept this type of item.

We'd like comments on
   a) whether this is a correct and useful set of pseudo-elements
   b) what these pseudo-elements should be called, that would best
      (most clearly and succinctly) represent their functionality
      to authors using them

Name sets being considered:

     Set A         Set B       Set C            Set D
----------------------------------------------------------------
  :active-drop    :drop        :current-drop    :active-drop
  :drop           :can-drop    :valid-drop      :valid-drop
  :no-drop        :no-drop     :invalid-drop    :invalid-drop

Thanks~
~fantasai
Received on Tuesday, 14 August 2012 06:50:56 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:58 GMT