|
Fixing up WheelEvent to follow W3C standards and work on all platforms.
There were a couple of problems here:
- The name of the event is different between platforms, logic to handle this has been added.
- The event object was not getting wrapped on Firefox.
- The wheel event parameters were different across all platforms.
The event name ('mouseWheel' vs 'DOMMouseScroll' vs 'wheel') has been fixed on ElementEvents, but not BodyElementEvents or DocumentElementEvents. I've opened bug #5414 to track fixing those up.
BUG= 5186
Committed: https://code.google.com/p/dart/source/detail?r=12921
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+271 lines, -49 lines) |
Patch |
|
M |
lib/compiler/implementation/lib/native_helper.dart
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
lib/html/dart2js/html_dart2js.dart
|
View
|
|
5 chunks |
+103 lines, -16 lines |
0 comments
|
Download
|
|
M |
lib/html/dartium/html_dartium.dart
|
View
|
|
2 chunks |
+18 lines, -17 lines |
0 comments
|
Download
|
|
M |
lib/html/scripts/htmlrenamer.py
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
lib/html/scripts/systemhtml.py
|
View
|
|
4 chunks |
+20 lines, -9 lines |
0 comments
|
Download
|
|
M |
lib/html/scripts/systemnative.py
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
lib/html/src/Device.dart
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
A |
lib/html/templates/html/dart2js/impl_ElementEvents.darttemplate
|
View
|
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
A |
lib/html/templates/html/impl/impl_WheelEvent.darttemplate
|
View
|
1
|
1 chunk |
+85 lines, -0 lines |
0 comments
|
Download
|
|
A + |
lib/html/templates/html/interface/interface_WheelEvent.darttemplate
|
View
|
|
1 chunk |
+9 lines, -3 lines |
0 comments
|
Download
|
|
M |
samples/ui_lib/touch/Scroller.dart
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|