WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
148124
Implement DragEvent and move MouseEvent.dataTransfer to DragEvent.
https://bugs.webkit.org/show_bug.cgi?id=148124
Summary
Implement DragEvent and move MouseEvent.dataTransfer to DragEvent.
Jincheol Jo
Reported
2015-08-18 00:21:38 PDT
I would like to implement DragEvent and move MouseEvent.dataTransfer to DragEvent. Such is the spec:
https://html.spec.whatwg.org/multipage/interaction.html#dragevent
Gecko and Chrome already has the DragEvent interface and has the dataTransfer attribute only on that interface. I added this in chromium as follows
http://src.chromium.org/viewvc/blink?view=revision&revision=200649
The change seems fairly low risk.
Attachments
Patch
(28.77 KB, patch)
2015-08-29 20:02 PDT
,
Jincheol Jo
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Jincheol Jo
Comment 1
2015-08-29 20:02:53 PDT
Created
attachment 260231
[details]
Patch
Jincheol Jo
Comment 2
2015-08-29 20:03:30 PDT
Do not review. I am working on this.
WebKit Commit Bot
Comment 3
2015-08-29 20:04:19 PDT
Attachment 260231
[details]
did not pass style-queue: ERROR: Source/WebCore/dom/MouseEvent.cpp:115: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/dom/MouseEvent.cpp:116: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/dom/MouseEvent.cpp:274: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/dom/MouseEvent.h:63: preprocessor directives (e.g., #ifdef, #define, #import) should never be indented. [whitespace/indent] [4] ERROR: Source/WebCore/dom/MouseEvent.h:63: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/dom/MouseEvent.h:71: preprocessor directives (e.g., #ifdef, #define, #import) should never be indented. [whitespace/indent] [4] ERROR: Source/WebCore/dom/MouseEvent.h:71: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/dom/DOMAllInOne.cpp:49: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/dom/DragEvent.cpp:73: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebCore/dom/DragEvent.cpp:66: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/dom/DragEvent.cpp:68: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/dom/DragEvent.cpp:70: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/dom/DragEvent.cpp:71: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/dom/DragEvent.cpp:72: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/dom/DragEvent.cpp:79: Wrong number of spaces before statement. (expected: 27) [whitespace/indent] [4] ERROR: Source/WebCore/dom/DragEvent.cpp:74: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3] Total errors found: 16 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 4
2015-08-30 10:19:51 PDT
Comment on
attachment 260231
[details]
Patch Unsetting the review flag as the author is not ready for review.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug