[Webkit-unassigned] [Bug 114643] WebKit does not expose HTML5 drag/drop status

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 26 21:24:09 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=114643

--- Comment #9 from Don <donshreds at yahoo.com> ---
Created attachment 247494
  --> https://bugs.webkit.org/attachment.cgi?id=247494&action=review
modified original testcase such that demo works

Similar to original testcase posted by James.

Whats changed includes
1. background-image URLs no longer reference some obsolete twitter headshots, instead they now simply reference a logo image commonly presented on www.google.com's main search page. (Only a corner of it gets displayed in our testcase, but thats enough to see something draggable). The new URL is (and its the same for all 5 <li> elements, sorry) 
https://www.google.com/images/srpr/logo11w.png

2. I tweaked the Javascript slightly where the <li> elements were being iterated over and the HTML 5 'draggable' attribute was being set. The original testcase was setting 'draggable' to '' (empty string). However, the value must be one of 'true', 'false', or 'auto' (at least according to the W3 Schools folks at http://www.w3schools.com/tags/att_global_draggable.asp)

Basically, I changed a line from
    item.setAttribute('draggable', ''); // make it draggable
to
    item.setAttribute('draggable', 'true'); // make it draggable

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150227/42c3e201/attachment-0002.html>


More information about the webkit-unassigned mailing list