Commit Graph

27531 Commits

Author SHA1 Message Date
Wes Kocher
b1739d80d5 Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-16 11:00:55 -07:00
Wes Kocher
51a51aa221 Merge m-c to b2ginbound, a=merge 2015-09-15 17:20:50 -07:00
Fabrice Desré
bdb61cf1f4 Bug 1202744 - Overlapping software home buttons r=snorp 2015-09-15 11:01:03 -07:00
Brian Birtles
6925337de6 Bug 1183461 part 8 - Add tests for event order dispatch; r=heycam 2015-09-15 14:13:04 +09:00
Brian Birtles
8304eb03e5 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.
2015-09-15 14:05:49 +09:00
Brian Birtles
0a45589b29 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.
2015-09-15 14:05:44 +09:00
Brian Birtles
f8caf9cbb9 Bug 1183461 part 5 - Store event TimeStamp along with event info; r=heycam 2015-09-15 14:04:53 +09:00
Brian Birtles
e9cf9b63fe 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.
2015-09-15 14:04:08 +09:00
Brian Birtles
98d8cdb605 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).
2015-09-15 14:04:05 +09:00
Brian Birtles
885ac682c9 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.
2015-09-15 14:03:24 +09:00
Wes Kocher
2cf77fb1a0 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
7ab74dfc66 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
e5d7ae16e2 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
00660d203f Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-15 15:33:34 +01:00
James Graham
f8cf8aa5a3 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
bbab570e7f 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
9e83223087 Bug 1197620 - Part 1 - Stop all animations in destroyed frames. r=bbirtles 2015-09-14 23:42:00 +02:00
Lee Salzman
eb8ba7cad3 Bug 1074733 - Add reftest to verify canvas 2d rects with negative dimensions are rendered properly. r=jmuizelaar 2015-09-09 17:32:11 -04:00
Nicholas Nethercote
f71059bd78 Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru. 2015-09-14 14:23:47 -07:00
Nicholas Nethercote
4dafae0e81 Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru. 2015-09-14 14:23:24 -07:00
Nicholas Nethercote
6f753fbb80 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru. 2015-09-14 14:23:12 -07:00
Christoph Kerschbaumer
ebc9c086f2 Bug 1195162 - Use channel->ascynOpen2 dom/xbl/nsXBLService.cpp (r=sicking) 2015-09-14 18:59:35 -07:00
John Daggett
d9ae1393fc Bug 953408 - switch to unprefixed hyphens property in tests. r=jfkthame 2015-09-15 10:09:30 +09:00
John Daggett
2aebd697d8 Bug 953408 - unprefix hyphens property. r=heycam 2015-09-15 10:09:30 +09:00
Benoit Girard
41087db8b1 Bug 1191539 - DisplayPort should ForceInside frameRect to match compositor DisplayPort. r=kats 2015-09-09 14:41:38 -04:00
Matt Woodrow
50df4ecab8 Bug 1204597 - Use Move constructor for opaque region in FrameLayerBuilder instead of copying. r=jrmuizel 2015-09-14 14:18:20 -04:00
Matt Woodrow
a00e502e96 Bug 1202029 - Use the containing block for determining perspective for transformed elements. r=dbaron 2015-09-14 14:17:40 -04:00
Masayuki Nakano
d66b52f0cf Bug 895274 part.252 Rename NS_TRANSITION_END to eTransitionEnd r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
3f13a7ce8e Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
13ad066f9b Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
6b21fea7d5 Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
6038863222 Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Nicolas Silva
c882f9e320 Bug 1198674 - Null-check mFrameLoader before calling GetFrom in RenderFrameParent. r=sotaro 2015-09-10 10:43:04 +02:00
Milan Sreckovic
7de11fb7b5 Bug 1203626 - remove the unused argument from nsTreeBodyFrame::GetTwistyRect. r=mattwoodrow 2015-09-10 10:55:00 +02:00
Milan Sreckovic
88a57634ca Bug 1202703 - Part 1 - CreateRenderingContext can fail. r=mattwoodrow 2015-09-10 12:31:00 +02:00
Nigel Babu
cf16a4feef 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
18a6759b6b Bug 1164279 - Disable font-variant-east-asian: ruby for <rt> on Windows. r=jfkthame 2015-09-14 17:35:13 +08:00
James Graham
50f9894db4 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
3e7aa7ce0b Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-14 09:46:57 +01:00
James Graham
d81e7b08b3 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
2256f07061 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
653829e962 Bug 1204291 - Null check the argument of AutoHideSelectionChanges::AutoHideSelectionChanges() 2015-09-12 22:58:46 -04:00
Michael Layzell
42eab7f768 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
bca2ce7da8 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
6261581c48 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
ce8a58d255 Bug 1202512 - Part 4: Reftests. r=bzbarsky 2015-09-12 19:08:11 +10:00
Cameron McCormack
ae32851243 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
d9641d3114 Bug 1202512 - Part 2: Make SelectorMatchesTree take a flags argument. r=bzbarsky 2015-09-12 19:08:10 +10:00
Cameron McCormack
42466a72fa 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
5c5b66455e Bug 1201529 - Ensure that zoomable scrollframes return true from WantAsyncScroll(). r=botond 2015-09-11 21:58:16 -04:00