Граф коммитов

1710 Коммитов

Автор SHA1 Сообщение Дата
Mantaroh Yoshinaga ae2e808431 Bug 911987 part 4 - Add onwebkitanimation** and onwebkittransitionend event handlers. r=smaug
Add the onwebkit prefixed event handler attributes of CSS-Animation
and CSS-Transition.

We need to support both content attributes and IDL attributes like
onanimation** attributes.

We should support attribute of lower-case and mixed-case. But currently
Gecko defined as mixed-case only. [1][2]

[1] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/base/nsContentUtils.cpp#747
[2] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/events/EventNameList.h#977

So we can't find the related Atom when we set content attributes as lower-case. [3]

[3] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/base/nsGlobalWindow.h#818

In this patch, I add two Atoms in order to support mixed and lower case.

MozReview-Commit-ID: 8nOfVGQ8h7R

--HG--
extra : rebase_source : fe954eb5c79d305660bdc3ef95b14e55cdb34534
2016-08-05 14:12:38 +09:00
Mantaroh Yoshinaga bd81fb18be Bug 911987 part 1 - Add onanimation** and ontransitionend event handlers. r=masayuki,smaug
This event handler is defined CSS-Animation and CSS-Transition.
https://drafts.csswg.org/css-animations-1/#event-animationevent
https://github.com/w3c/csswg-drafts/pull/344

MozReview-Commit-ID: ARgsibd7wST

--HG--
extra : rebase_source : 7b4f366a8661508185d60ead9ce68fb234959577
2016-08-05 08:12:14 +09:00
Carsten "Tomcat" Book 6b13b3cde6 Merge mozilla-central to autoland 2016-08-03 17:08:48 +02:00
Neil Deakin 2d46e97dbd Bug 1284914, add support in html for the ondragexit attribute, r=smaug 2016-08-03 07:45:46 -04:00
Masayuki Nakano 78b4a701e3 Bug 1259665 part.3 Rename WidgetPointerEvent::isPrimary to mIsPrimary r=smaug
MozReview-Commit-ID: LfKzpwCjMcz

--HG--
extra : rebase_source : d4fd41db8ff4dc39a7156f2f509aae89d1c126a1
2016-08-03 17:34:53 +09:00
Masayuki Nakano b38025c056 Bug 1259665 part.2 Rename WidgetPointerEvent::height to mHeight r=smaug
MozReview-Commit-ID: Ji4X53dByiH

--HG--
extra : rebase_source : 0e79a45d34142453e79f2412eddb7abc132e11d7
2016-08-03 17:23:56 +09:00
Masayuki Nakano 924e7f39e5 Bug 1259665 part.1 Rename WidgetPointerEvent::width to mWidth r=smaug
MozReview-Commit-ID: 3V5gyOvPuQi

--HG--
extra : rebase_source : 6adf7908e8a84bc2cfb86d8f7823662f1b72170f
2016-08-03 17:18:04 +09:00
Stone Shih f8f5ef1c1a Bug 1285128 - Should not generate pointer events for those synthesized events that are not dispatched to DOM. r=smaug 2016-07-07 15:28:11 +08:00
Kartikaya Gupta b968f0d733 Bug 1288799 - Add a test_touch_action.html which runs all of the W3C touch-action tests as mochitests. rs=smaug
MozReview-Commit-ID: CA0XMnQepVD
2016-07-29 14:27:39 -04:00
Kartikaya Gupta a74193fa22 Bug 1288799 - Delete the old mochitest wrappers for the touch-action mochitests, and copy over the unmodified W3C files. rs=smaug
MozReview-Commit-ID: 1Z2VYSqjPSL
2016-07-29 14:27:38 -04:00
Olli Pettay 7cbc9752a1 Bug 1288898 - Document::createEvent sometimes creates events with the initialized flag set, r=masayuki 2016-07-29 19:45:52 +03:00
Olli Pettay 47a98b8ad1 Bug 1289255 - Implement DataTransferItem.webkitGetAsEntry, r=baku
--HG--
extra : rebase_source : 10517eeb5b5a68204514527c8a904ab216df6534
2016-07-29 14:42:33 +03:00
Xidorn Quan 132b526f3a Bug 991899 part 3 - Disable prefixed PointerLock API by default. r=smaug
Given that Blink has removed prefixed PointerLock API for quite a while
without receiving compatibility issue, I'd suggest we try dropping the
prefixed version directly.

We will either pref the prefixed API on if we see enough compatibility
issue, or remove the whole bunch of prefixed PointerLock API after the
unprefixed API reaches release channel without issues.

MozReview-Commit-ID: ACC69nqSBiH

--HG--
extra : source : 22791c53b6a94c3de4eb7f38823afce89b0419e4
2016-07-28 17:15:21 +10:00
Xidorn Quan 0aa8c340df Bug 991899 part 2 - Unprefix PointerLock tests. r=smaug
MozReview-Commit-ID: BPAuJWKZgBG

--HG--
extra : source : e8aea995c048039521246d2032a28e3b903c30c5
2016-07-28 17:15:21 +10:00
Xidorn Quan b83b9e7406 Bug 991899 part 1 - Add unprefixed API for PointerLock. r=smaug
MozReview-Commit-ID: 3af2D9IWI1Q

--HG--
extra : source : 527777bea747fb8ab363960e41b0a1ddb26d7749
2016-07-28 17:15:21 +10:00
Xidorn Quan a622a4ba48 Bug 1287706 part 7 - Add support of AddEventListenerOptions.once. r=smaug
MozReview-Commit-ID: BzuhPtNW29u

--HG--
extra : source : edb9d160b5f567c97b307b465f4a575f2210d5d4
2016-07-28 12:00:06 +10:00
Xidorn Quan 55d860ca4a Bug 1287706 part 6 - Separate notifying listener removal to an independent method. r=smaug
MozReview-Commit-ID: EE4fp4eqzqK

--HG--
extra : source : 51a979be13f77f84e69ea202ddb2838612b324c0
2016-07-28 12:00:06 +10:00
Xidorn Quan 54106b71e9 Bug 1287706 part 4 - Unify B2G device-type events to be handled in the same way as others device-type events. r=smaug
MozReview-Commit-ID: JHudlK595CV

--HG--
extra : source : c26fff27b9614817dd38d23f7cd8609f0d41cb58
2016-07-28 12:00:06 +10:00
Xidorn Quan 6ed5e7d57e Bug 1287706 part 3 - Make EventListenerHandler::Listener movable. r=smaug
MozReview-Commit-ID: F86qndZHNxB

--HG--
extra : source : 310aecf4285e01270ab639a4ada66c893e01ae77
2016-07-28 12:00:06 +10:00
Xidorn Quan 707f2d70a0 Bug 1287706 part 2 - Remove useless runtime check of EventListenerManager::Listener. r=smaug
MozReview-Commit-ID: 3XEfeF03Umx

--HG--
extra : source : de7346c106bd2716de7b3ab5068ef6604dd6d826
2016-07-28 12:00:06 +10:00
Xidorn Quan 31f5ebf083 Bug 1287706 part 1 - Make CallbackObjectHolder movable (and actually move-only). r=smaug
So that we can avoid unnecessary refcount changes.

MozReview-Commit-ID: 4Mk9SJTj6AS

--HG--
extra : source : c35643f76ef33b6cdce115c8de0dfae8abccd644
2016-07-28 12:00:06 +10:00
Olli Pettay 811035a57c Bug 1289900 - DataTransferItem::mCachedFile leaks, r=khuey
--HG--
extra : rebase_source : 610259321f53ef77d9c81039bd30de9e2643e083
2016-07-28 00:37:12 +03:00
isangelawu 5362a0f92e Bug 1275473 - Implement CompositionEvent.ranges. r=masayuki, r=smaug 2016-07-26 12:09:07 +02:00
Sebastian Hengst 4bcb37cd63 Backed out changeset 6acbad99a3ff (bug 1284914) for not updated expected results. r=backout 2016-07-25 16:59:41 +02:00
Carsten "Tomcat" Book a3904e8a8a Merge mozilla-central to mozilla-inbound 2016-07-25 15:59:01 +02:00
Carsten "Tomcat" Book b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Neil Deakin d6835ffd46 Bug 1284914, add support in html for the ondragexit attribute, r=smaug 2016-07-25 09:08:39 -04:00
Manish Goregaokar 52b9ca33f3 Bug 1288383 - Replace NS_STYLE_USER_FOCUS_* with an enum class; r=heycam
MozReview-Commit-ID: A7BYcfsn1tI

--HG--
extra : rebase_source : b893331b173a306143e546f0d403ae25f827fae2
2016-07-25 11:56:40 +05:30
Xidorn Quan 834c029b00 Bug 1284788 - Allow change target of pointer lock when the pointer has been locked in the document. r=smaug
MozReview-Commit-ID: HiPkCPrQQr0

--HG--
extra : rebase_source : ce3826834065242a4e99b82d52ac65ddc205ae61
2016-07-20 14:42:08 +10:00
Andrea Marchesini 60ab8339e0 Bug 1288736 - Add some missing rv.SuppressException(), r=smaug 2016-07-22 16:50:10 +02:00
Carsten "Tomcat" Book 336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Emilio Cobos Álvarez 253dfd8aad Bug 1287951: stylo: Add support for computing style hints from Servo. r=heycam
MozReview-Commit-ID: ALuJxcfAMuL
2016-07-21 16:57:52 -07:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson d634a99cad Bug 1277106 - Part 4: Remove MOZ_UTF16() macro. r=Waldo 2016-07-19 21:07:53 -07:00
Kartikaya Gupta eb68bbaaa8 Bug 970346 - Add a DocShell attribute to override the default touch event options to a tab. r=bz
MozReview-Commit-ID: 4BdhwQRBavd
2016-07-18 10:26:38 -04:00
Masayuki Nakano ff4a3d7d66 Bug 1286730 IMEStateManager::NotifyIME() should treat NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED same as the other notifications because all of them are notified by IMEContentObserver asynchronously r=smaug
MozReview-Commit-ID: 1GJk9bfOqjS

--HG--
extra : rebase_source : 1f88f9bffc8b40ff77992987d429c3d04913817b
2016-07-14 12:11:56 +09:00
Jimmy Wang aa9a74f34c Bug 1162050 - remove instances of eLegacyDragDrop and dragdrop. r=enn
MozReview-Commit-ID: Di41WT8zcZ1

--HG--
extra : rebase_source : b9502c06b5351d0c75d23b17319c77579ccbb5a1
2016-05-27 16:54:36 -04:00
Jimmy Wang 81ebc7d712 Bug 1162050 - Remove draggesture and eLegacyDragDrop from comments in EventStateManager.cpp/.h. r=enn
MozReview-Commit-ID: FXErW3vo36q

--HG--
extra : rebase_source : b57895e5e15f641ce679b0f3082868c397b635c9
2016-05-27 15:43:17 -04:00
Jimmy Wang 39278a5bb6 Bug 1162050 - Remove the dragdrop event code that is not related to the drop event in from EventStateManager.cpp. r=enn
MozReview-Commit-ID: Jxf9dXgxJ14

--HG--
extra : rebase_source : 2e6cc5bffad2d55f65638a0e01a267c8a7a1da40
2016-05-27 14:50:30 -04:00
Jimmy Wang 6ad324725d Bug 1162050 - Remove use of eLegacyDragGesture from EventStateManager.cpp. r=enn
MozReview-Commit-ID: F4a52Yw5ri3

--HG--
extra : rebase_source : cfa72993e938fdd36e56f7f6d0e2cb5f065b5559
2016-05-27 14:47:19 -04:00
Jimmy Wang af06755ad8 Bug 1162050 - Remove instances of eLegacyDragGesture and draggesture. r=enn
MozReview-Commit-ID: 8kP1AY4peos

--HG--
extra : rebase_source : 0f64e55770c2b9cfd9737f8da53111bad007dca6
2016-05-27 14:32:59 -04:00
Carsten "Tomcat" Book d2e362e983 Backed out changeset f8fe3acf2e78 (bug 1162050) 2016-07-11 11:18:48 +02:00
Carsten "Tomcat" Book e9f0f7406e Backed out changeset f940ad94cc9d (bug 1162050) 2016-07-11 11:18:47 +02:00
Carsten "Tomcat" Book 9bcbd8cb61 Backed out changeset 11421fcb32b5 (bug 1162050) 2016-07-11 11:18:46 +02:00
Carsten "Tomcat" Book 287942807f Backed out changeset af0d7fedc60f (bug 1162050) 2016-07-11 11:18:45 +02:00
Carsten "Tomcat" Book 50ea69d1c5 Backed out changeset 342274a86c0d (bug 1162050) 2016-07-11 11:18:44 +02:00
Jimmy Wang d89f7681bc Bug 1162050 - remove instances of eLegacyDragDrop and dragdrop. r=enn
MozReview-Commit-ID: Di41WT8zcZ1

--HG--
extra : transplant_source : %1D%B5%C0%B3g%2C%EC8%DD%0E%DB%DD%10%A5%81%8F%90o%27%96
2016-05-27 16:54:36 -04:00
Jimmy Wang 70443599e6 Bug 1162050 - Remove draggesture from comments in EventStateManager.cpp/.h. r=enn
MozReview-Commit-ID: FXErW3vo36q

--HG--
extra : transplant_source : %F4XC/%9EK%E2%7E%98%3C%85%19t%C6%A1%A7%A22jc
2016-05-27 15:43:17 -04:00
Jimmy Wang 0fa3ffa71d Bug 1162050 - Remove the dragdrop event code that is not related to the drop event in from EventStateManager.cpp. r=enn
MozReview-Commit-ID: Jxf9dXgxJ14

--HG--
extra : transplant_source : %C9%B0F%85%B7%DE.%7C%89%09%C8%04P%DEbB%20%01%1C%A2
2016-05-27 14:50:30 -04:00
Jimmy Wang 3452b4c596 Bug 1162050 - Remove use of eLegacyDragGesture from EventStateManager.cpp. r=enn
MozReview-Commit-ID: F4a52Yw5ri3

--HG--
extra : transplant_source : T%A5%24%20%88%FB%0AF%24%B1%D3x%8F%A2%EFH%11Z%3A%E3
2016-05-27 14:47:19 -04:00