[whatwg] Drag and drop in HTML5

On Thu, 5 May 2005, Dean Edwards wrote:
> 
> Controlling behavior through CSS is OK if the what you are changing is 
> CSS.
> 
> It seems there two kinds of drag/drop. One kind affects the DOM, e.g. 
> changing the order of items in a list. The other kind affects CSS, e.g. 
> dragging a window on screen. For a draggable window only the CSS "left" 
> and "top" positions would be a affected. It would be difficult to 
> specify this without CSS!
> 
> Ideally, i'd like to do both. Use CSS to declare a draggable element and 
> use HTML to declare a list that can be re-ordered.

True. I am primarily (exclusively?) concerned with "meaningful" 
dragging-and-dropping here. Resizing or moving things that aren't 
otherwise affecting the logic of the application is out of scope.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 4 May 2005 16:20:10 UTC