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 17278 - In the description of the sequence of steps that a user-agent must execute every 350 ms: In side condition 'Otherwise' of item 3.1, there are 4 conditions listed - the first 3 starting with the word 'If' and the last one with 'Otherwise'. In all of the fi
Summary: In the description of the sequence of steps that a user-agent must execute ev...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-01 02:06 UTC by contributor
Modified: 2012-09-19 23:07 UTC (History)
3 users (show)

See Also:


Attachments
Excerpt from HTML5 spec 8.7.5 Drag-and-drop processing model (17.39 KB, text/html)
2012-06-01 18:05 UTC, Sumeet
Details

Description contributor 2012-06-01 02:06:04 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html
Multipage: http://www.whatwg.org/C#drag-and-drop-processing-model
Complete: http://www.whatwg.org/c#drag-and-drop-processing-model

Comment:
In the description of the sequence of steps that a user-agent must execute
every 350 ms: In side condition 'Otherwise' of item 3.1, there are 4
conditions listed - the first 3 starting with the word 'If' and the last one
with 'Otherwise'. In all of the first three conditions (i.e. those starting
with 'If') shouldn't references to 'current target element' be instead
'immediate user selection'?

Posted from: 24.4.130.88
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
Comment 1 Sumeet 2012-06-01 02:17:26 UTC
Below is the text I commented about. Thanks.

If the current target element is a text field (e.g. textarea, or an input element whose type attribute is in the Text state) or an editing host or editable element, and the drag data store item list has an item with the drag data item type string "text/plain" and the drag data item kind Plain Unicode string

    Set the current target element to the immediate user selection anyway.

If the current target element is an element with a dropzone attribute that matches the drag data store

    Set the current target element to the immediate user selection anyway.

If the current target element is the body element

    Leave the current target element unchanged.

Otherwise

    Fire a DND event named dragenter at the body element, if there is one, or at the Document object, if not. Then, and set the current target element to the body element, regardless of whether that event was canceled or not.
Comment 2 Sumeet 2012-06-01 18:05:32 UTC
Created attachment 1140 [details]
Excerpt from HTML5 spec 8.7.5 Drag-and-drop processing model

I realize that my comments are not clear. Therefore I am providing an html attachment of the original text with footnotes about what I think should change. 

BR,
SS
Comment 3 contributor 2012-07-18 17:41:26 UTC
This bug was cloned to create bug 18209 as part of operation convergence.
Comment 4 Ian 'Hixie' Hickson 2012-09-19 23:07:05 UTC
Yeah, I think you're right. Oops.
Comment 5 contributor 2012-09-19 23:07:34 UTC
Checked in as WHATWG revision r7381.
Check-in comment: Not sure how this went so long without being noticed...
http://html5.org/tools/web-apps-tracker?from=7380&to=7381