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 21883 - [HTML] editorial: 8.7.7: "the draggable DOM"
Summary: [HTML] editorial: 8.7.7: "the draggable DOM"
Status: CLOSED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: All All
: P2 minor
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-30 19:12 UTC by Michael Dyck
Modified: 2013-08-02 23:48 UTC (History)
2 users (show)

See Also:


Attachments

Description Michael Dyck 2013-04-30 19:12:07 UTC
In "8.7.7 The draggable attribute",
the second-last paragraph says:
    Otherwise, the draggable DOM must return false.

Change "DOM" to "IDL attribute".

Also, I believe this paragraph should be joined to the previous paragraph,
since it appears to be within that paragraph's 'scope'.
Comment 1 Ian 'Hixie' Hickson 2013-06-06 20:43:47 UTC
It's part of the chain that the previous three paragraphs form, it's not just for the previous one.
Comment 2 contributor 2013-06-06 20:45:55 UTC
Checked in as WHATWG revision r7925.
Check-in comment: Fix some typos or copypasta.
http://html5.org/tools/web-apps-tracker?from=7924&to=7925
Comment 3 Michael Dyck 2013-07-15 21:30:56 UTC
(In reply to comment #1)
> It's part of the chain that the previous three paragraphs form, it's not
> just for the previous one.

I don't see how that can be. The previous three paragraphs are:

1. If X has the state /true/, ...
2. Otherwise, if X has the state /false/, ...
3. Otherwise, X has the state /auto/. ...

Those exhaust the possibilities for X -- the element's draggable content attribute must have one of those three states. Para 3 acknowledges this by making an *assertion* about X's state, rather than testing it. So there *is* no "otherwise" that can logically extend that chain. Instead, the only logical place for:
    Otherwise, the draggable DOM must return false.
is at the end of para 3. (I.e., as the "else" to "If the element is an img element, or, if the element is an a element with an href content attribute".)

(If para 3 were
   Otherwise, IF X has the state /auto/ AND the element is .... return true.
then the final "Otherwise" would make sense where it is.)
Comment 4 contributor 2013-07-15 23:25:35 UTC
Checked in as WHATWG revision r8059.
Check-in comment: Make this prose about draggable='' make more sense.
http://html5.org/tools/web-apps-tracker?from=8058&to=8059
Comment 5 Ian 'Hixie' Hickson 2013-07-15 23:25:41 UTC
Yeah, fair enough. Thanks,