This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9105 - t.target instanceof HTMLLIElement) { // use the element's data-value="" attribute as the value to be moving: event.dataTransfer.setData(internalDNDType, event.target.dataset.value); event.effectAllowed = 'move'; // only allow moves }
Summary: t.target instanceof HTMLLIElement) { // use the element's data-value=""...
Status: RESOLVED NEEDSINFO
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: LC
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-21 09:32 UTC by contributor
Modified: 2010-10-04 14:47 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2010-02-21 09:32:44 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/#introduction-5

Comment:
t.target instanceof HTMLLIElement) {	   // use the element's data-value=""
attribute as the value to be moving:	  
event.dataTransfer.setData(internalDNDType, event.target.dataset.value);      
event.effectAllowed = 'move'; // only allow moves     } else {	    
event.preventDefault(); // don't allow sel

Posted from: 188.62.136.93