Commit Graph

47098 Commits

Author SHA1 Message Date
Wes Kocher
ebdcf9fc9e Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-16 11:00:55 -07:00
Wes Kocher
9c01eed3d4 Merge m-c to b2ginbound, a=merge 2015-09-15 17:20:50 -07:00
Fabrice Desré
82a61453c5 Bug 1202744 - Overlapping software home buttons r=snorp 2015-09-15 11:01:03 -07:00
Brian Birtles
4561f6d61c Bug 1183461 part 8 - Add tests for event order dispatch; r=heycam
--HG--
extra : rebase_source : 9ab0dcf64e5e7f40730bbdb9f426aebcc2e64942
2015-09-15 14:13:04 +09:00
Brian Birtles
183dc5eeee Bug 1183461 part 7 - Add EventInfoComparator and sort events; r=heycam
This patch also reworks the dispatch of events in nsRefreshDriver. Previously
the refresh driver would dispatch the transition events for all subdocuments
then the animation events. This arrangement is complicated and not obviously
necessary. This patch simplifies this arrangement by dispatching transition
events and animation events for each document before proceeding to
subdocuments.

--HG--
extra : rebase_source : ed9147de4a4b5f36e444bdab82e45ee2143e5be8
2015-09-15 14:05:49 +09:00
Brian Birtles
bbfbefa427 Bug 1183461 part 6 - Store the generating animation on the event; r=heycam
In order to sort between events that have the same timestamp we use the
sort order of the corresponding animations so we need to store a pointer
to the animation along with the event.

--HG--
extra : rebase_source : 2767157135abd5a094d856410cd9c70e46a33b68
2015-09-15 14:05:44 +09:00
Brian Birtles
7f47d861c6 Bug 1183461 part 5 - Store event TimeStamp along with event info; r=heycam
--HG--
extra : rebase_source : b0c580b684a49744c435bee26cca062012c87ef5
2015-09-15 14:04:53 +09:00
Brian Birtles
8874d11c24 Bug 1183461 part 4 - Add CSSAnimation::ElapsedTimeToTimeStamp; r=heycam
The elapsedTime member reported on AnimationEvents measures the time from
the *end* of the delay phase (i.e. the beginning of the active interval) to
when the event occurred. However, the AnimationTimeToTimeStamp method
introduced in the previous patch expects a time relative to the animation's
start time (i.e. the *start* of the delay phase). This patch adds a method
that performs the necessary conversion from an elapsedTime to an animation
time before calling AnimationTimeToTimeStamp. It also provides extra handling
for cases such as when the animation's start time has not yet been resolved or
when animation effect has disappeared.

--HG--
extra : rebase_source : 594f3f12bab3febe592d09b57be72b2ec09b47cf
2015-09-15 14:04:08 +09:00
Brian Birtles
ccaa539dfb Bug 1183461 part 2 - Reorder the parameters to EventInfo constructors; r=heycam
This patch lines up the parameters of AnimationEventInfo and
TransitionEventInfo constructors so that they are more logical and consistent.
Specifically, it groups the element and pseudo type together since they
form a logical pair denoting the event target. For AnimationEventInfo this
patch also places the type of event before the common event parameters since
the event type seems to be more significant.

This patch also performs some miscelleaneous housekeeping: removing some
unnecessary namespace prefixes, whitespace fixes, and making
TransitionEventInfo use the same concrete type to store the target element
as AnimationEventInfo (dom::Element instead of nsIContent).

--HG--
extra : rebase_source : ce6935f74f31dffadce4d0e7d4fa8859ec213740
2015-09-15 14:04:05 +09:00
Brian Birtles
d135283802 Bug 1183461 part 1 - Move InitialAdvance to CSSAnimation; r=heycam
Currently we define a helper method, InitialAdvance, on KeyframeEffectReadOnly.
However, this method is only used for filling out the elapsedTime member of
AnimationEvents (which are generated by CSS animations). This patch moves this
method to CSSAnimation since it is unneeded for other types of Animations.

--HG--
extra : rebase_source : 9ab3b81a8272c004aabf26fea557c9a2f5d76caf
2015-09-15 14:03:24 +09:00
Wes Kocher
e2c033639c Backed out 7 changesets (bug 1181516, bug 1198257, bug 1193257, bug 1194166, bug 1193223, bug 1193224, bug 1181520) for breaking android 4.0 debug reftests CLOSED TREE
Backed out changeset 25f22b3433e0 (bug 1194166)
Backed out changeset a824847677c5 (bug 1193257)
Backed out changeset 6cc19a8f1bb0 (bug 1193224)
Backed out changeset bf1271f6cfa0 (bug 1198257)
Backed out changeset 75b3c43770bd (bug 1193223)
Backed out changeset 81a5cf4c8f19 (bug 1181516)
Backed out changeset db3691ee6fd1 (bug 1181520)
2015-09-15 08:52:19 -07:00
Mason Chang
76b8c1d6e8 Bug 1160216 - Add a preference to force software vsync and set software vsync rate. r=kats 2015-09-15 08:13:57 -07:00
James Graham
77000f40b9 Bug 1198257 - Better support for providing a directory name and discovering reftests under that directory, r=jmaher 2015-09-15 15:33:35 +01:00
James Graham
1b361ed03b Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-15 15:33:34 +01:00
James Graham
5042d96464 Bug 1181516 - Allow reftests to take paths to multiple directories containing tests on the command line, r=jmaher
This makes reftest command line arguments behave more like other test suites,
so we can use a simple unified syntax for e.g. |mach try|. The patch also
reworks the command line argument parsing to use argparse rather than optparse,
and causes mach to reuse the same parser as the suite.
2015-09-15 15:33:33 +01:00
James Graham
14841af906 Bug 1181520 - Remove support for passing in reftest arguments via the command line, r=jmaher
This unifies how reftests are invoked across desktop and
mobile, and paves the way for introducing more complex
datatypes that are unreasonable to express on the
command line.
2015-09-15 15:33:32 +01:00
Hiroyuki Ikezoe
3525eca033 Bug 1197620 - Part 1 - Stop all animations in destroyed frames. r=bbirtles 2015-09-14 23:42:00 +02:00
Lee Salzman
24a30d81a6 Bug 1074733 - Add reftest to verify canvas 2d rects with negative dimensions are rendered properly. r=jmuizelaar
--HG--
extra : rebase_source : 143a97f431dc92d96d36bc5f04dae5f0d978698c
2015-09-09 17:32:11 -04:00
Nicholas Nethercote
2ee4fd783b Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
--HG--
extra : rebase_source : 3cdc975507170d783b02d70f7c7d95c6bf2e1bcd
2015-09-14 14:23:47 -07:00
Nicholas Nethercote
59683492e5 Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru.
--HG--
extra : rebase_source : c34d693de4aca45f2ea05c2767c8b1007c89df29
2015-09-14 14:23:24 -07:00
Nicholas Nethercote
479244f7c9 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Christoph Kerschbaumer
1e5ee64415 Bug 1195162 - Use channel->ascynOpen2 dom/xbl/nsXBLService.cpp (r=sicking) 2015-09-14 18:59:35 -07:00
John Daggett
0ed820f845 Bug 953408 - switch to unprefixed hyphens property in tests. r=jfkthame 2015-09-15 10:09:30 +09:00
John Daggett
adb4b8ada8 Bug 953408 - unprefix hyphens property. r=heycam 2015-09-15 10:09:30 +09:00
Benoit Girard
282b6c7b96 Bug 1191539 - DisplayPort should ForceInside frameRect to match compositor DisplayPort. r=kats
--HG--
extra : commitid : Ee4ufF6D1Pm
extra : rebase_source : a0eb0d18b98cff49c82dd3e9f59e8461c4f0b3c0
2015-09-09 14:41:38 -04:00
Matt Woodrow
3a98f89348 Bug 1204597 - Use Move constructor for opaque region in FrameLayerBuilder instead of copying. r=jrmuizel
--HG--
extra : rebase_source : 2eb322beabf6557fdff509c8d8212762a9835dfe
2015-09-14 14:18:20 -04:00
Matt Woodrow
6e6e6105aa Bug 1202029 - Use the containing block for determining perspective for transformed elements. r=dbaron
--HG--
extra : rebase_source : f8a1403a77e71179aca097e26567bcb3b7c1848b
2015-09-14 14:17:40 -04:00
Masayuki Nakano
e11becb130 Bug 895274 part.252 Rename NS_TRANSITION_END to eTransitionEnd r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
683794135c Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
51d7268995 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
52a7afe36c Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
7a48a6f2ab Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Nicolas Silva
52abcdcfa5 Bug 1198674 - Null-check mFrameLoader before calling GetFrom in RenderFrameParent. r=sotaro 2015-09-10 10:43:04 +02:00
Milan Sreckovic
384b40b6e4 Bug 1203626 - remove the unused argument from nsTreeBodyFrame::GetTwistyRect. r=mattwoodrow 2015-09-10 10:55:00 +02:00
Milan Sreckovic
865e1ef45c Bug 1202703 - Part 1 - CreateRenderingContext can fail. r=mattwoodrow 2015-09-10 12:31:00 +02:00
Nigel Babu
84a5522c61 Backed out 7 changesets (bug 1181516, bug 1198257, bug 1193257, bug 1194166, bug 1193223, bug 1193224, bug 1181520) for JS Refest bustage on Android
Backed out changeset e768739ec812 (bug 1194166)
Backed out changeset a8393be51468 (bug 1193257)
Backed out changeset 1484fe1a38e6 (bug 1193224)
Backed out changeset 24f4ad5c55cc (bug 1198257)
Backed out changeset 985f984a97ad (bug 1193223)
Backed out changeset 6137013d4933 (bug 1181516)
Backed out changeset 0456de3eb5e3 (bug 1181520)

ON A CLOSED TREE
2015-09-14 15:16:34 +05:30
Xidorn Quan
7fd39128eb Bug 1164279 - Disable font-variant-east-asian: ruby for <rt> on Windows. r=jfkthame
--HG--
extra : source : f8fc9af32ee1bb86cc85e156a4c2a5f89fc361dc
2015-09-14 17:35:13 +08:00
James Graham
76cd28ba62 Bug 1198257 - Better support for providing a directory name and discovering reftests under that directory, r=jmaher 2015-09-14 09:46:57 +01:00
James Graham
841e634737 Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-14 09:46:57 +01:00
James Graham
2ec5acef36 Bug 1181516 - Allow reftests to take paths to multiple directories containing tests on the command line, r=jmaher
This makes reftest command line arguments behave more like other test suites,
so we can use a simple unified syntax for e.g. |mach try|. The patch also
reworks the command line argument parsing to use argparse rather than optparse,
and causes mach to reuse the same parser as the suite.
2015-09-14 09:46:56 +01:00
James Graham
4f84c608b3 Bug 1181520 - Remove support for passing in reftest arguments via the command line, r=jmaher
This unifies how reftests are invoked across desktop and
mobile, and paves the way for introducing more complex
datatypes that are unreasonable to express on the
command line.
2015-09-14 09:46:55 +01:00
Ehsan Akhgari
3228eca502 Bug 1204291 - Null check the argument of AutoHideSelectionChanges::AutoHideSelectionChanges() 2015-09-12 22:58:46 -04:00
Michael Layzell
fc03111ce2 Bug 1196479 - Fire selectstart and selectionchange events on the input node when the selection in that editor changes. r=ehsan 2015-09-12 17:56:46 -04: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
Michael Layzell
0097c41e01 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Cameron McCormack
6d9312d8ad Bug 1202512 - Part 4: Reftests. r=bzbarsky 2015-09-12 19:08:11 +10:00
Cameron McCormack
5db8d16779 Bug 1202512 - Part 3: Restyle elements with attribute/state changes if we find a conditionally restyled ancestor while selector matching up the tree. r=bzbarsky 2015-09-12 19:08:10 +10:00
Cameron McCormack
13249de7f6 Bug 1202512 - Part 2: Make SelectorMatchesTree take a flags argument. r=bzbarsky 2015-09-12 19:08:10 +10:00
Cameron McCormack
646a0c727a Bug 1202512 - Part 1: Add Element flags to record whether an eRestyle_SomeDescendants restyle is pending for it. r=bzbarsky 2015-09-12 19:08:10 +10:00
Kartikaya Gupta
6630a65ba4 Bug 1201529 - Ensure that zoomable scrollframes return true from WantAsyncScroll(). r=botond
--HG--
extra : commitid : 29B0WVGYfId
2015-09-11 21:58:16 -04:00