Sylvestre Ledru
eabcdd21b2
Bug 1278282 - Replace #if (MOZ_WIDGET_GTK == 3) by #ifdef MOZ_WIDGET_GTK r=lsalzman
...
MozReview-Commit-ID: Bo0m7n078oh
--HG--
extra : rebase_source : 1874ac3e0abca65b821b5d04a6610a5cbb63fe24
2018-01-09 11:51:07 +01:00
Ciure Andrei
23575f7023
Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
2018-01-11 12:06:29 +02:00
Cameron McCormack
25abd91980
Bug 1427419 - Part 21: Move content state methods from inIDOMUtils to InspectorUtils. r=bz
...
MozReview-Commit-ID: KfrUdNU4as3
2018-01-11 12:38:01 +08:00
Edgar Chen
fd3cbab671
Bug 1417829 - Remove unresolved pseudoclass; r=heycam,smaug
...
MozReview-Commit-ID: JHfYVnh1SET
--HG--
extra : rebase_source : 287a967f4f354999ab8af93eb696e81727289b12
2017-12-04 17:49:41 +08:00
Jessica Jong
dd9a9b8c68
Bug 1419803 - Use GetComposedDoc instead of GetUncomposedDoc in ContentEventHandler. r=smaug
2018-01-08 01:31:00 +02:00
Stone Shih
0123116fe8
Bug 1420590 - dragleave event returns bad target. r=smaug.
2018-01-05 11:35:35 +08:00
Andrea Marchesini
f482503c87
Bug 1425440 - Get rid of GetChildAt_Deprecated in IMEContentObserver, r=catalinb
2018-01-05 15:23:25 +01:00
Jessica Jong
1133de96d2
Bug 1398981 - Turn off webcomponents pref by default when running tests. r=smaug
2018-01-05 16:17:38 +08:00
Stone Shih
fc0584db41
Bug 1426527 - Revise test_remove_frame_when_got_pointer_capture.html to correctly run the test in release build. f=RyanVM. r=smaug.
2017-12-23 08:31:35 +08:00
Stone Shih
653167e88f
Bug 1426728 - Don't cache the event target of pointer events when they are generated from touch. r=smaug.
...
The event targets of touch events are not necessarily to be the same as their corresponding pointer events. So we don't have to cache the event target of pointer events when they are generated from touch.
MozReview-Commit-ID: 9Gd6ion7NXf
2017-12-22 12:27:05 +08:00
Olli Pettay
811a9c30ca
backout Bug 1414204 because of regressions, r=backout
...
--HG--
extra : rebase_source : 97927ab24b0f24e4cfce8ce9199dda24857cfd3b
2018-01-03 18:42:50 +02:00
Andrea Marchesini
00e79ef07b
Bug 1425321 - Renaming nsINode::GetChildAt to GetChildAt_Deprecated, r=catalinb
...
We want to deprecate nsINode::GetChildAt as the first step of removing DOM node
child array storage. See bug 651120.
2018-01-03 13:59:54 +01:00
Emilio Cobos Álvarez
c8eb630ebe
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Emilio Cobos Álvarez
ffdf5d2cb5
Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me
2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez
c0959b2955
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
--HG--
extra : rebase_source : 09b82acb4f3d69e8a4345457ab217443bc28d6e2
2017-12-07 19:13:50 +01:00
Masayuki Nakano
a5bd93a76e
Bug 1425412 - part 4: Create CompositionTransaction::Create() and remove EditorBase::CreateTxnForComposition() r=m_kato
...
EditorBase::CreateTxnForComposition() just hides what it does. For its caller,
creating a factory method, CompositionTransaction::Create(), is clearer what
it does.
Additionally, capsuling the creation in CompositionTransaction class can make
the text node information in TextComposition updated automatically. So, now,
it might be better to update them in DoTransaction() because there is a lag
between creating the transaction and calling DoTransaction(). However, this
patch doesn't want to change any existing behavior. So, this doesn't fix this
issue.
MozReview-Commit-ID: K8ci7ytwh1u
--HG--
extra : rebase_source : d468a0fc997c99f78f7eb46451082e7f1e052890
2017-12-15 18:26:37 +09:00
Stone Shih
4b47b52afe
Bug 1414204 Part1: Suppress input events when there is a dnd session. r=smaug.
...
There may be some pending input events in the queue of thread when content starts a dnd operation. Spec says that input events should be suppressed when there is a dnd operation. Add a flag in ESM and turn on/off when start/finish a dnd operation. Checking the flag in PresShell::HandleEvent because we may start a dnd operation with pointermove and we want to suppress the mousemove as well.
MozReview-Commit-ID: 43NZrA7SW4c
2017-11-03 18:25:49 +08:00
Stone Shih
a4f6e53467
Bug 1420589 Part9: Dispatch pointer events to the capturing target even it's frame is destroyed. r=smaug.
...
MozReview-Commit-ID: DxNx3ByTdCW
2017-11-30 16:10:03 +08:00
Stone Shih
58f49aba41
Bug 1420589 Part8: Test multiple touch points on different documents. r=smaug.
...
MozReview-Commit-ID: 49lKMFmuVq7
2017-11-30 11:39:38 +08:00
Stone Shih
4e51f8e1c5
Bug 1420589 Part7: Using mouse or touch event to do hit test and then generate pointer events with the same target. r=smaug.
...
MozReview-Commit-ID: 1uM3MxurI9I
2017-11-26 21:54:07 +08:00
Stone Shih
cd8b01e32a
Bug 1420589 Part6: Keep those touch points that are not in the same document so that we can use them to dispatch pointer events.
...
MozReview-Commit-ID: JlXHDwpbcEO
2017-12-09 10:06:18 +08:00
Stone Shih
777509d199
Bug 1420589 Part4: Revise PointerEventHandler utilities. r=smaug.
...
MozReview-Commit-ID: DpGrbbYJbzh
2017-12-09 08:56:11 +08:00
Stone Shih
edf50a6c24
Bug 1420589 Part3: Merge PresShell::HandlePositionedEvent to PresShell::HandleEvent. r=smaug.
...
MozReview-Commit-ID: 9w1DSb5uXME
2017-12-02 22:25:25 +08:00
Olli Pettay
ddf5c731fa
Bug 1425441 - Move relatedTarget to WidgetEvent, r=stone
...
--HG--
extra : rebase_source : 75b00efa0af5989e41763fbecac6fd8794c870c6
2017-12-18 19:08:11 +02:00
Olli Pettay
1d4729afe6
Bug 1412775
- Implement Event.composedPath, tests for chrome handling, r=stone
...
--HG--
extra : rebase_source : 1f13feb180f5d42e8bc4b3092b11a942d9dd37ab
2017-12-18 18:08:03 +02:00
Olli Pettay
d78d3295c5
Bug 1412775
- Implement Event.composedPath, r=stone
...
--HG--
extra : rebase_source : a970c4a0daac4a7a02cec34733131734eb93b151
2017-12-18 18:07:36 +02:00
Stone Shih
94bb433a0d
Bug 1303957 Part2: Setup necessary attributes to calculate offsetX/offsetY and add a test with synthesized widget events. r=smaug.
...
MozReview-Commit-ID: Kc4f2MXueUP
2017-11-08 11:42:04 +08:00
Stone Shih
f54b118ead
Bug 1303957 Part1: Add support for PointerEvent.getCoalescedEvents. r=smaug.
...
We implement PointerEvent.getCoalescedEvents as
1. Clone the widget events we coalesced.
2. Convert them to dom::PointerEvent when user calls getCoalescedEvents.
MozReview-Commit-ID: 8IKw4PbUsDD
2017-09-20 13:00:57 +08:00
Masayuki Nakano
6e8192fd45
Bug 1425390 - part 1: Move some IME related members of EditorBase into TextComposition r=m_kato
...
EditorBase stores a text node, offset in it and length in it of composition
string directly. However, this wastes memory space if user never uses IME
or user only sometimes uses IME. Additionally, storing all data in
TextComposition is better than current design when other classes like
CompositionTransaction wants some information of both EditorBase and
TextComposition.
This patch moves those 3 members from EditorBase to TextComposition.
MozReview-Commit-ID: 4N7wmGGfxmt
--HG--
extra : rebase_source : bd7cb37fe9631b959ec21da40c20751fec269dca
2017-12-15 13:14:51 +09:00
Emilio Cobos Álvarez
85e91b82da
Bug 1424633: Decide which frame to focus using the flattened tree. r=smaug
...
MozReview-Commit-ID: vPbPvu0vrf
2017-12-16 00:39:13 +01:00
Cosmin Sabou
6db073a174
Backed out changeset b83870070900 (bug 1424633) for multiple failures on dom/events/test/test_focus_abspos.html r=backout on a CLOSED TREE
2017-12-15 22:32:37 +02:00
Emilio Cobos Álvarez
925ba4616f
Bug 1424633: Decide which frame to focus using the flattened tree. r=smaug
...
MozReview-Commit-ID: vPbPvu0vrf
2017-12-15 19:25:55 +01:00
Margareta Eliza Balazs
bbf4a5f687
Backed out changeset 2ad057a99aae (bug 1424633) for failing 2 in dom/events/test/test_focus_abspos.html r=backout on a CLOSED TREE
2017-12-15 18:44:12 +02:00
Emilio Cobos Álvarez
dd8604fed2
Bug 1424633: Decide which frame to focus using the flattened tree. r=smaug
...
MozReview-Commit-ID: vPbPvu0vrf
--HG--
extra : rebase_source : ecbbb7cda8f6d1d68be622d6d6db29fd378d27b5
2017-12-14 00:07:50 +01:00
Stone Shih
3c22abf394
Bug 1394228 - Intermittent test_touch_action.html test timed out. r=kats.
...
Wait for chrome process to handle all synthesize requests and then finish the test.
MozReview-Commit-ID: 2qiFEO6l7wN
2017-12-09 14:26:14 +08:00
Stone Shih
ce606aec45
Bug 1421480 - Revise pointer events test cases to verify implicit pointer capture for touch. r=smaug.
...
MozReview-Commit-ID: 9PaI4EwRs7O
2017-11-13 16:30:33 +08:00
Stone Shih
39bc975ceb
Bug 1421482
Part2: Replace test utility synthesizePointer with synthesizeMouse. r=smaug.
...
We should follow the real use cases to synthesize mouse or touch events to generate pointer events so that the related logic is covered by these test cases.
MozReview-Commit-ID: 9xSgjSL0Azt
2017-11-24 07:50:12 +08:00
Sebastian Hengst
9d920555ec
Backed out 2 changesets (bug 1421482
) for failing modified mochitest layout/base/tests/test_bug1078327.html. r=backout a=backout
...
Backed out changeset a8701e1bd012 (bug 1421482
)
Backed out changeset d774f5fe6e94 (bug 1421482
)
2017-12-12 19:03:49 +02:00
Stone Shih
841f50b537
Bug 1421482
Part2: Replace test utility synthesizePointer with synthesizeMouse. r=smaug.
...
We should follow the real use cases to synthesize mouse or touch events to generate pointer events so that the related logic is covered by these test cases.
MozReview-Commit-ID: 9xSgjSL0Azt
2017-11-24 07:50:12 +08:00
Olli Pettay
b4030794fa
Bug 1423159 - Ensure proper multiprocess mouse enter/exit handling. r=stone
2017-12-10 14:49:49 -05:00
maiquynhtruong
1c233ac5bd
Bug 1422626 - Remove redundant declarion of class EnterLeaveDispatcher. r=masayuki
...
MozReview-Commit-ID: axbrIpDbad
--HG--
extra : rebase_source : 3862282357a13efb3658067c7f61a64a684daa78
2017-12-05 01:09:21 -05:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Olli Pettay
cf345e2ae6
Bug 1421758, IME handling shouldn't cross shadow boundaries, r=masayuki
2017-12-08 00:01:51 +02:00
Matthew Noorenberghe
e6e4165603
Bug 1415692 - Show the bookmark toolbar in new profiles with > 3 bookmarks on it. r=Gijs,mak
...
MozReview-Commit-ID: C3tmqIrt5ak
--HG--
extra : rebase_source : 936b8cab5de587e2dde708b94f8be597f9c83e6a
2017-12-04 15:24:02 -08:00
Sebastian Hengst
35e834df9a
Backed out changeset 8312a6286023 (bug 1415692) for failing to parse dom/events/test/mochitest.ini on Android due pref usage. r=backout
2017-12-05 19:56:51 +02:00
Matthew Noorenberghe
02471f5cfa
Bug 1415692 - Show the bookmark toolbar in new profiles with > 3 bookmarks on it. r=Gijs,mak
...
MozReview-Commit-ID: C3tmqIrt5ak
--HG--
extra : rebase_source : 20eeacd571e6f50ff076ae1a97924720bf7a55f3
2017-12-04 15:24:02 -08:00
Jessica Jong
fbd3a63cba
Bug 1409975 - Part 3: Fix event get-the-parent algorithm for a node. r=smaug
2017-12-04 16:06:40 +08:00
Chung-Sheng Fu
5b56656364
Bug 1037335 - Fix test failures. r=ckerschb,smaug
...
Require review from DOM peer.
MozReview-Commit-ID: HWBKKxxPh0e
--HG--
extra : rebase_source : be42de075010e79835b519e04a01c6e3f3c6ef8b
2017-11-29 16:54:00 +02:00
Olli Pettay
af3373dc1d
Bug 1418002 - Remove HTMLContentElement, r=jessica
2017-11-30 10:57:15 +02:00
Brindusan Cristian
9f3bd430c2
Merge inbound to mozilla-central a=merge r=merge
2017-11-28 11:50:57 +02:00