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

57 Коммитов

Автор SHA1 Сообщение Дата
Mantaroh Yoshinaga d5e9a6bfe7 Bug 1302648 part 2 - Add onanimationcancel EventHandler to WebIDL. r=baku
The 'animationcancel' spec is as follow:
https://drafts.csswg.org/css-animations-1/#eventdef-animationevent-animationcancel

MozReview-Commit-ID: 27Ju6DcakzS

--HG--
extra : rebase_source : fef5c05c71f8050e0bcface0fa55298b4be9d2d6
2017-02-10 12:32:44 +09:00
Xidorn Quan 6a9f5ff102 Bug 1289642 - Remove prefixed PointerLock API. r=smaug
MozReview-Commit-ID: BUSEojZNIgb

--HG--
extra : rebase_source : bfdf71d5244d3b0877712a63cb07cf119c2e6992
2016-12-19 12:40:02 +11:00
Boris Zbarsky d07b805990 Bug 1333838. Only treat actual boolean return values from OnErrorEventHandlerNonNull as being able to cancel the event. r=smaug 2017-01-26 15:40:09 -05:00
Wes Kocher 200a7e4e9a Backed out changeset 9fae2a07dd43 (bug 1333838) for wplint failures a=backout
MozReview-Commit-ID: D6FEaIbDpMq

--HG--
extra : rebase_source : c33688ef80e6d00aed81498ff7899c578398d70b
2017-01-26 13:13:38 -08:00
Boris Zbarsky bc88abc700 Bug 1333838. Only treat actual boolean return values from OnErrorEventHandlerNonNull as being able to cancel the event. r=smaug 2017-01-26 15:40:09 -05:00
Boris Zbarsky bba6751af3 Bug 1330457. Introduce DocumentAndElementEventHandlers to more closely align with the HTML spec. r=bkelly 2017-01-13 10:41:20 -05:00
Tim Nguyen 5884019f51 Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is called. r=smaug
MozReview-Commit-ID: 7OKlKFb3lok
2016-12-23 16:01:50 +01:00
Mantaroh Yoshinaga 17b67a9128 Bug 1264125 part 2 - Add ontransitioncancel EventHandler to WebIDL. r=baku
We moved 'transitioncancel' event to the CSS-Transition Level 1.
The definition of 'transitioncancel' is as follow:
https://drafts.csswg.org/css-transitions-1/#transitioncancle

MozReview-Commit-ID: 62s9R7MpXmk

--HG--
extra : rebase_source : 1774410824f32b1f822b83ccec3f132b6dad77de
2016-12-20 16:03:29 +09:00
Kevin Wern b2052e9ddc Bug 1304044 - implement auxclick r=smaug
After click events with button 2 or 3 are fired, fire auxclick, a new
event intended to represent a non-primary mouse click. Because this
event, based on the design examples and blink's implementation, is
intended to be used with content listeners, always dispatch on content
listeners--not just those that force all events to be dispatched (i.e.
document/window). This diverges from the behavior of our click events
from non-primary buttons.

Eventually, we hope this will replace click events for non-primary
buttons. For now, leave those events for compatibility reasons.

Additionally, add handling of this new event, where necessary.

MozReview-Commit-ID: 8osozM4h6Ya

--HG--
extra : rebase_source : 558261dd0d0b9241efa84ca168c50455850af03a
2016-11-30 19:48:02 -05:00
Ting-Yu Lin 55e3c801ba Bug 1271549 - Remove details and summary preference. r=bz
Bug 1259889 Part 2 [1] cannot be reverted cleanly, so I manually undo those
changes in this patch. That is, remove the ability for html.css to
invalidate dynamically since it was added specifically for details element.

Although reftest-stylo.list explicit mentions "DO NOT EDIT!", but I still
remove details pref from the file, since it doesn't harm to edit it anyway.

[1] https://hg.mozilla.org/mozilla-central/rev/30aaf3805b56

MozReview-Commit-ID: FsyTGQTxujh

--HG--
extra : rebase_source : 25e5a05a8a5a47642772da69f427631fa07e232d
2016-11-16 14:02:58 +08:00
Mantaroh Yoshinaga 3d795f2c3e Bug 1287983 part 1 - Add transitionstart/transitionrun event handlers. r=masayuki,smaug
This transitionstart and transitionrun event is defined in
editor's draft of CSS Transition Level 2.

https://drafts.csswg.org/css-transitions-2/#transition-events

MozReview-Commit-ID: 6c0GqlaOOPZ

--HG--
extra : rebase_source : 9d16572634a388da25e16096f06087e808ec57ae
2016-10-19 15:16:51 +09:00
Ben Tian 7d5abfc007 Bug 1264769 - Part 1: Dispatch loadend event for image loading. r=hsivonen
--HG--
extra : rebase_source : 8843a2a3c56c74dc1838f2da3c8251783e20f295
2016-08-16 12:01:12 +08:00
Wes Kocher e386a2bc9e Backed out 2 changesets (bug 1264769) for invalid-src.html wpt failures a=backout
Backed out changeset 7b9d3d0c09f5 (bug 1264769)
Backed out changeset 780f7036c084 (bug 1264769)
2016-08-15 13:35:46 -07:00
Ben Tian 5c79574178 Bug 1264769 - Part 1: Dispatch loadend event for image loading. r=hsivonen
--HG--
extra : rebase_source : efa121de9a8b3b8bcd9639b59780d7b2340bdfef
2016-07-20 11:01:46 +08:00
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
Neil Deakin 2d46e97dbd Bug 1284914, add support in html for the ondragexit attribute, r=smaug 2016-08-03 07:45:46 -04: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
Sebastian Hengst 4bcb37cd63 Backed out changeset 6acbad99a3ff (bug 1284914) for not updated expected results. r=backout 2016-07-25 16:59: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
Xidorn Quan 26c3d73bf6 Bug 1270386 - Move unprefixed fullscreen event handlers from GlobalEventHandlers to Document. r=smaug
MozReview-Commit-ID: FfQhDoD5Wf3

--HG--
extra : source : db4cd63a10f577e68b238509b7a13897ff028064
2016-05-24 13:21:22 +10:00
Phil Ringnalda db3e2c7d7f Back out 8 changesets (bug 931445, bug 1274104, bug 1270386) for frequent e10s APZ mochitest failures starting with test_group_mouseevents.html
CLOSED TREE

Backed out changeset 6db35dcc6885 (bug 1274104)
Backed out changeset 0c2fc088a46d (bug 1274104)
Backed out changeset 17786141f3ac (bug 1274104)
Backed out changeset f7c6b58dddc1 (bug 1274104)
Backed out changeset 67407d1829a3 (bug 1270386)
Backed out changeset 82d2c5404d84 (bug 931445)
Backed out changeset 0921152b9f08 (bug 931445)
Backed out changeset f73352ab6f99 (bug 931445)
2016-05-23 18:42:32 -07:00
Xidorn Quan 600a374e5d Bug 1270386 - Move unprefixed fullscreen event handlers from GlobalEventHandlers to Document. r=smaug
MozReview-Commit-ID: FfQhDoD5Wf3

--HG--
extra : source : db4cd63a10f577e68b238509b7a13897ff028064
2016-05-23 09:03:32 +10:00
Xidorn Quan eb882bc07f Bug 1268749 part 4 - Hide unprefixed Fullscreen API from content when disabled. r=smaug
MozReview-Commit-ID: KpjNFYYyCWh

--HG--
extra : rebase_source : 43eebf0398c3accbe2f901d482f9d4399bdf03e6
2016-05-02 14:26:04 +10:00
Ting-Yu Lin b8972c7eb9 Bug 1225412 Part 2 - Add support to dispatch toggle events to details element. r=smaug
Add ontoggle event handler, and dispatch toggle events to the details
element if the open attribute is added or changed. According to the
spec, if a new toggle event has been queued, previous toggle events
should be aborted.

MozReview-Commit-ID: EN6Jf5hVHHD

--HG--
extra : rebase_source : 35605e49950bb59a0eb6dca594c3ede465ff587d
2016-03-12 19:53:51 +08:00
Xidorn Quan 775aed278a Bug 743198 part 6 - Add unprefixed fullscreen events. r=smaug
--HG--
extra : source : cb096452899287cb35b51146d2f2ffc3dc26350f
2016-02-17 08:47:11 +08:00
Boris Zbarsky 9ecf8df931 Bug 1225188. Implement window.onstorage. r=smaug 2015-11-17 18:09:53 -05:00
Michael Layzell fe31896607 Bug 571294 - Part 1: Implement selection events behind the dom.select_events.enabled pref, r=smaug 2015-09-12 17:56:44 -04:00
Andreas Pehrson 77ec90c5a5 Bug 992685 - Part 1. Make onresize event handler global and forwarded. r=smaug 2014-12-04 17:26:00 +01:00
Carsten "Tomcat" Book 4d2773b297 Backed out changeset 142031795f33 (bug 992685) for failing w3 and w4 tests 2015-01-20 11:21:51 +01:00
Andreas Pehrson c198c1283a Bug 992685 - Part 1. Make onresize event handler global and forwarded. r=smaug 2014-12-04 17:26:00 +01:00
Mounir Lamouri bd7cae1e0e Bug 889335 - Implement navigator.languages and languagechange event. r=sicking,smaug 2014-05-12 13:48:15 +02:00
Maksim Lebedev 2af751cef5 Bug 968148 - Implement PointerCapture for pointer events. r=smaug
--HG--
extra : rebase_source : 331cf187194c8827e4b75835e85b2d79fdc419c7
2014-04-04 10:09:10 -07:00
Tom Schuster 3f0943f577 Bug 355430 - Add the thrown error object to the dom error event. r=bz 2014-01-03 01:04:15 +00:00
Oleg Romashin 29f215877a Bug 977695 - Update bubbles/cancelable attribute for pointer events. r=smaug 2014-02-27 16:13:05 -08:00
Boris Zbarsky 0bc28e81b8 Bug 952365. Add a TreatNonObjectAsNull annotation for WebIDL callback functions and use it for event handlers, since web sites depend on assigning non-callable objects to them in some cases. r=peterv 2014-01-13 15:08:56 -05:00
Oleg Romashin c02ba0fedc Bug 822898 - Implement pointer events. Interface. r=smaug 2013-11-20 21:44:22 -08:00
Oleg Romashin 117dfcdce3 Backed out 3 changesets (bug 822898) for mochitest bustage on B2G ICS emulator 2013-11-20 16:08:36 -08:00
Oleg Romashin dbdb925adf Bug 822898 - Implement pointer events. Interface. r=smaug 2013-11-20 13:05:39 -08:00
Peter Van der Beken dfc2297bd8 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Ms2ger 7cd50d2f15 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken e01445a2df Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Peter Van der Beken 20d1345d89 Bug 922160 - Bring EventHandler.webidl more in line with the spec, remove NodeEventHandlers. r=bz.
--HG--
extra : rebase_source : 9cfba32241add4c79d67fb0323178228b00bf631
2013-10-08 17:51:15 +02:00
Peter Van der Beken 57e0597683 Bug 922160 - Bring EventHandler.webidl more in line with the spec, rename BeforeUnloadEventHandler to OnBeforeUnloadEventHandler. r=bz.
--HG--
extra : rebase_source : e4bed124f36e94e1aa646b24783f7f2c682e31b5
2013-10-08 17:51:15 +02:00
Ed Morley 63933ee05b Backed out changeset fd177e58f30b (bug 922160) 2013-10-23 15:51:21 +01:00
Ed Morley 80176a649f Backed out changeset dddecb33b337 (bug 922160) 2013-10-23 15:51:18 +01:00
Peter Van der Beken bb44a6154b Bug 922160 - Bring EventHandler.webidl more in line with the spec, remove NodeEventHandlers. r=bz.
--HG--
extra : rebase_source : f43383fb1447174ef8f791240ddfe27052ef0aa3
2013-10-08 17:51:15 +02:00
Peter Van der Beken d27efa298e Bug 922160 - Bring EventHandler.webidl more in line with the spec, rename BeforeUnloadEventHandler to OnBeforeUnloadEventHandler. r=bz
--HG--
extra : rebase_source : acb2edc950b13a16621421801779caf496663595
2013-10-08 17:51:15 +02:00
Olli Pettay 9283cd2a76 Bug 916879, remove SetterThrows from eventhandlers, r=emk 2013-09-17 14:01:28 +03:00
Boris Zbarsky f16c3128f4 Bug 829072 part 3. Move the event handlers that are shared by HTMLBodyElement, HTMLFramesetElement, and Window onto a WindowEventHandlers interface that can be on the RHS of 'implements'. r=peterv 2013-01-29 08:44:00 -05:00