Brian Birtles
dba77091dc
Bug 77992 part 1.0 - Add timeStamp to WidgetEvent; r=smaug
...
This patch adds a timeStamp member to WidgetEvent alongside the existing 'time'
member. In the future we would like to remove 'time' and just keep timeStamp but
that depends on it being web-compatible. For now we introduce both members
side-by-side. Later we will add a pref to determine which one to return. If no
compatibility issues arise we will remove 'time' altogether.
2014-06-06 14:29:49 +09:00
Markus Stange
508c4ef238
Bug 1018464 - Make ContainerState::FindOpaqueBackgroundColorFor look through holes in display items. r=roc
...
--HG--
extra : rebase_source : 69d82381327e1114a6264d5ed360dd16aca39166
2014-06-03 14:50:42 +02:00
Markus Stange
598c605e7d
Bug 1018464 - Add nsDisplayItem::IsInvisibleInRect API to expose holes in display items. r=roc
...
--HG--
extra : rebase_source : 9f362283113c0ce925ca81c3613ac8c6d19dfebe
2014-06-03 14:48:16 +02:00
Phoebe Chang
943fc38329
Bug 924692 - Part 4: Hooks up event handling to TouchCaret; r=roc, bugs
2014-06-03 15:08:54 +08:00
Phoebe Chang
5413497932
Bug 924692 - Part 3: Add TouchCaret; r=roc, bugs
2014-06-03 15:08:45 +08:00
Phoebe Chang
e702177894
Bug 924692 - Part 2: Add TransformPoint and TransformRect to nsLayoutUtils; r=roc
2014-06-03 15:08:37 +08:00
Phoebe Chang
a76e3e825d
Bug 924692 - Part 1: Add touch caret rendering support; r=roc
2014-06-03 15:08:25 +08:00
Robert O'Callahan
44a3b169a7
Bug 1015664. Part 4: Remove NS_HIDDEN in a few miscellaneous places. r=bsmedberg
2014-06-03 00:08:29 +12:00
Robert O'Callahan
a8bbe633b9
Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg
2014-06-03 00:08:24 +12:00
Robert O'Callahan
9170085906
Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12:00
Phil Ringnalda
61966eed95
Merge f-t to m-c
2014-05-31 20:31:07 -07:00
Victor Porof
5643294005
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Matt Woodrow
573e2de8a7
Bug 854421 - Part 10: Resume the refresh driver if we miss too many ticks. r=vlad
2014-05-29 09:45:06 +12:00
Matt Woodrow
de4d7232ef
Bug 854421 - Part 9: Send DidComposite during ClientLayerManager destruction. r=roc
2014-05-29 09:44:30 +12:00
Matt Woodrow
2946d172f5
Bug 854421 - Part 8: Try find a 'root' refresh driver to see if it's blocked. r=vlad
2014-05-29 09:43:41 +12:00
Matt Woodrow
7f11d1f162
Bug 854421 - Part 7: Allocate and return transaction id's from the refresh driver when using OMTC to prevent over-production. r=roc
2014-05-29 09:43:39 +12:00
Matt Woodrow
da6b1b81df
Bug 854421 - Part 6: Add gfx API for allocating transaction ids. r=roc
2014-05-29 09:42:17 +12:00
Matt Woodrow
30964df57a
Bug 854421 - Part 5: Add nsRefreshDriver API to track which transactions have completed composition. r=vlad
2014-05-29 09:42:17 +12:00
Matt Woodrow
2c698fac04
Bug 854421 - Part 4: Flush out of date animations even if async animations are disabled since they could also be throttled by the refresh driver. r=dbaron
2014-05-29 09:42:16 +12:00
Botond Ballo
e24dcd4aaa
Bug 1016573 - Put logging of APZ test data behind a pref. r=kats
2014-05-29 12:51:28 -04:00
Robert Longson
f4c58b2672
Bug 1016440 - Stop crashing when failing to allocate draw targets. r=jwatt
2014-05-31 11:26:04 +01:00
Michael Wu
82821675ed
Bug 994081 - [2/3] Convert imgFrame to SourceSurfaces, r=seth
2014-04-19 21:28:38 -04:00
Chris Lord
7e4720a45f
Bug 988511 - Allow fixed position items to fully occlude displayport items. r=tn
...
We don't allow fixed position items to occlude display-ports, but we should if
they fully occlude the scroll-position scroll clamping port of the displayport
frame.
2014-06-06 12:00:34 +01:00
Morris Tseng
3b9de473da
Bug 987718 - Part 6: Hooks up SelectionCaret; r=roc
2014-06-04 22:58:00 +02:00
Morris Tseng
508f746be3
Bug 987718 - Part 5: Add SelectionCarets; r=roc
2014-06-04 22:57:00 +02:00
Morris Tseng
3afaec75e4
Bug 987718 - Part 2: Expose GetHintForPosition to nsFrameSelection; r=roc
2014-06-04 22:53:00 +02:00
Morris Tseng
dc727f6e9c
Bug 987718 - Part 1: Add FirstAndLastRectCollector to nsLayoutUtils; r=roc
2014-06-04 22:53:00 +02:00
Markus Stange
403f6d2222
Bug 1013392 - Initialize the new nsDisplayListBuilder fields.
2014-06-04 21:18:20 +02:00
Ed Morley
196cd93457
Backed out changeset f6395f17c99f (bug 960897) for intermittent test failures
2014-06-10 18:03:30 +01:00
Mats Palmgren
58a27e36b9
Bug 1007067 - Adding a reftest. r=smontagu
2014-05-29 15:15:14 +00:00
Ed Morley
70b33d439f
Backed out changeset 743bd08df703 (bug 854421)
2014-05-29 10:56:01 +01:00
Ed Morley
ae1524c30c
Backed out changeset 1d9f1a4d7838 (bug 854421)
2014-05-29 10:55:57 +01:00
Ed Morley
ddc1b85e3d
Backed out changeset 056cc43a50b6 (bug 854421)
2014-05-29 10:55:54 +01:00
Ed Morley
69e78422fc
Backed out changeset 3f58a7521a51 (bug 854421)
2014-05-29 10:55:51 +01:00
Ed Morley
2cb6d1c04c
Backed out changeset 123998cc3f92 (bug 854421)
2014-05-29 10:55:47 +01:00
Ed Morley
591dcf127d
Backed out changeset cbe947863ad3 (bug 854421)
2014-05-29 10:55:44 +01:00
Ed Morley
c1b3d91749
Backed out changeset b4f05a5d9d89 (bug 854421)
2014-05-29 10:55:40 +01:00
Mats Palmgren
d17421ebc1
Bug 1015562 - [css-grid] Add a missing grid container check. Add a convenience function to check for flex/grid container frames and use that throughout this file. r=dholbert
2014-05-28 23:16:18 +00:00
Matt Woodrow
0ff3ae3e75
Bug 854421 - Part 10: Resume the refresh driver if we miss too many ticks. r=vlad
2014-05-29 09:45:06 +12:00
Matt Woodrow
cf37e52e33
Bug 854421 - Part 9: Send DidComposite during ClientLayerManager destruction. r=roc
2014-05-29 09:44:30 +12:00
Matt Woodrow
6878e27974
Bug 854421 - Part 8: Try find a 'root' refresh driver to see if it's blocked. r=vlad
2014-05-29 09:43:41 +12:00
Matt Woodrow
573ea1821a
Bug 854421 - Part 7: Allocate and return transaction id's from the refresh driver when using OMTC to prevent over-production. r=roc
2014-05-29 09:43:39 +12:00
Matt Woodrow
cf5b0feb74
Bug 854421 - Part 6: Add gfx API for allocating transaction ids. r=roc
2014-05-29 09:42:17 +12:00
Matt Woodrow
eeb60d7371
Bug 854421 - Part 5: Add nsRefreshDriver API to track which transactions have completed composition. r=vlad
2014-05-29 09:42:17 +12:00
Matt Woodrow
33e70b81c4
Bug 854421 - Part 4: Flush out of date animations even if async animations are disabled since they could also be throttled by the refresh driver. r=dbaron
2014-05-29 09:42:16 +12:00
Mats Palmgren
06b0a9460b
Bug 1015781 - part 1+2, Make the SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame methods return void (scripted change). Remove code handling the return values. r=roc
2014-05-28 19:36:58 +00:00
Ed Morley
e41e1f4f38
Backed out changeset 827fe00eecc7 (bug 1013392) for reftest failures on Windows; CLOSED TREE
2014-05-28 18:20:09 +01:00
Markus Stange
1ccabb9ab2
Bug 1013392 - Put APZ scrollbar annotations on the scrollbar thumb. r=roc
2014-05-28 16:14:43 +02:00
Markus Stange
350a6b0c92
Bug 1012797 - Speed up rendering of linear gradients when only painting the uniform color beyond the gradient edge. r=roc
2014-05-28 16:14:42 +02:00
Markus Stange
3dbd763a09
Fix a typo in a comment in ContainerState::FindThebesLayerFor. No bug, r=typo
2014-06-04 14:44:28 +02:00
Markus Stange
7aea5fc3e9
Bug 944938 - Move the layers.async-pan-zoom.enabled pref to gfxPrefs and make it override the apz subframe pref when false. r=kats
2014-06-03 15:39:44 +02:00
Markus Stange
b7063ce735
Bug 1019737 - Only layerize the scrollbar thumb if the target scroll frame has active scrolling. r=roc
2014-06-04 14:44:26 +02:00
Markus Stange
9da2196479
Bug 1013392 - Put APZ scrollbar annotations on the scrollbar thumb. r=roc
2014-06-04 14:44:26 +02:00
Markus Stange
27f705c2ee
Bug 1009679 - Layerize the scrollbar thumb on desktop, too. r=roc
2014-05-28 12:52:13 +02:00
Markus Stange
d4da42b2cc
Bug 1016525 - Ignore empty rects in AddTransformedBoundsToRegion. r=roc
2014-05-28 11:47:07 +02:00
Brian Birtles
4457eea22f
Bug 1015803 - Align Layers' Animation.numIterations with AnimationTiming.mIterationCount; r=dholbert
...
In the IPC Animation struct used in layers code we have a member called
'numIterations' where 'iterate forever' is represented by -1.
In layout/style however we have an AnimationTiming struct with an
mIterationCount member where 'iterate forever' is represented by
NS_IEEEPositiveInfinity().
This patch renames 'numIterations' to 'iterationCount' and uses infinity to
represent 'iterate forever'.
2014-05-28 16:51:50 +09:00
Brian Birtles
f22f27e127
Bug 1004871 part 2 - Add AnimationTiming struct, to encapsulate animation timing parameters; r=dholbert
...
Introduces a struct to store timing parameters for passing to
GetPositionInIteration. In future this struct is expected to be expanded to
include other timing parameters as well (based roughly on Web Animations'
"Timing" interface, hence the name AnimationTiming).
2014-05-28 16:51:49 +09:00
Trevor Saunders
cb0e030ae4
bug 966084 - don't QI the result of win->GetFrameElementInternal() when its not required r=smaug
2014-01-23 16:14:29 -05:00
Trevor Saunders
3e8a2ce19d
bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug
2014-01-09 21:03:47 -05:00
Geoff Brown
320b57a883
Bug 979921 - Enable some crashtests on Android 2.3; r=dminor
2014-05-27 06:46:15 -06:00
Neil Rashbrook
9cfd58c16f
Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
Relading with correct bug number so DONTBUILD.
--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
f3421c776b
Backout 8b8bbe7aa1cc due to wrong bug number
2014-05-27 14:42:13 +03:00
Neil Rashbrook
12b4869c02
Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Tim Taubert
8e4728a686
Bug 990812 - Allow a deeper frame message manager hierarchy than only global > window > tab r=smaug
2014-05-23 14:52:36 +02:00
Mats Palmgren
ad2b182633
Bug 1007067 - Add a currentLine->MarkDirty() to wallpaper a bug 936935 regression. r=smontagu
2014-05-25 02:50:59 +00:00
Mats Palmgren
1e7dbbc25d
Bug 508665 - part 12, Move nsIFrame::GetChildBox/GetNextBox/GetParentBox to XUL where they came from. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
798dc583cb
Bug 508665 - part 9, Remove now redundant static_cast<nsContainerFrame*> and do_QueryFrame() calls. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
da5455a4b0
Bug 508665 - part 8, Move child frame insertion/removal methods from nsIFrame to nsContainerFrame. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
621459f534
Bug 508665 - part 7, Require a nsContainerFrame* for aParent in nsFrameManager methods. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
beb1dea11c
Bug 508665 - part 4, Make nsCSSFrameConstructor use nsContainerFrame* for frames used as parent frames. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
285c9e041a
Bug 508665 - part 3, Change GetContentInsertionFrame() to return a nsContainerFrame*, and return null for leaf frames. Deal with GetContentInsertionFrame() returning null in a couple of places. r=roc
2014-05-24 22:20:39 +00:00
Mats Palmgren
6af072cbc3
Bug 508665 - part 2, Move nsCSSFrameConstructor::GetFrameFor to a static function in nsCSSFrameConstructor.cpp. r=roc
2014-05-24 22:20:39 +00:00
Mats Palmgren
ac5e91a762
Bug 508665 - part 1, Change the signature of SetParent/GetParent from nsIFrame* to nsContainerFrame*. r=roc
2014-05-24 22:20:39 +00:00
Jonathan Watt
994403b30e
Bug 1011806 - Stop loading user-agent and user style sheets for SVG-as-an-image (the main UA sheets svg.css, html.css, etc. will still load on demand). r=bz CLOSED TREE
2014-05-24 21:37:48 +01:00
Jonathan Watt
46e7eec626
Bug 1013936, part 2 - Only load the html.css UA style sheet on-demand for SVG documents. r=bz CLOSED TREE
2014-05-24 20:29:11 +01:00
Jonathan Watt
1e31906fbd
Bug 1008455 - Avoid loading the xul.css UA style sheet when possible. r=bz CLOSED TREE
...
--HG--
rename : toolkit/content/xul.css => toolkit/content/minimal-xul.css
2014-05-24 19:51:06 +01:00
Mike Conley
3d1a60d674
Bug 978913 - Dragging e10s window between HiDPI and non-HiDPI displays causes text to be scaled incorrectly. r=smaug.
2014-05-23 10:36:50 -04:00
Ryan VanderMeulen
510bb7eb35
Backed out changeset f1068bf18e64 (bug 978913) for bustage on most platforms.
...
CLOSED TREE
2014-05-22 16:39:46 -04:00
Mike Conley
aed81296e1
Bug 978913 - Dragging e10s window between HiDPI and non-HiDPI displays causes text to be scaled incorrectly. r=smaug.
2014-05-22 12:07:27 -04:00
Matt Woodrow
73814d43f9
Bug 1013771 - Dump nsDisplayTransform transforms during display list dumping. r=roc
2014-05-22 14:36:26 +12:00
Boris Zbarsky
36b5591afb
Bug 999456. Page load events should not be cancelable. r=smaug
2014-05-22 00:23:51 -04:00
Timothy Nikkel
b6f61ce569
Bug 1013780. Silly bustage fixup.
2014-05-21 23:17:56 -05:00
Timothy Nikkel
e32f4fb08e
Bug 1013780. Only create displayports during display list building if the display list is for painting to the screen. r=botond
2014-05-21 23:14:49 -05:00
Birunthan Mohanathas
6f68094e30
Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
2deaba6d91
Bug 869836 - Part 8: Use Append('c')
instead of Append("c")
. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
76ca8ec617
Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
c4568a7085
Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
411a8639b4
Bug 869836 - Part 3: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
2014-05-22 06:48:51 +03:00
Wes Kocher
391727c7ba
Backed out changeset 91d280c835b2 (bug 1013771) for b2g osx build bustage
2014-05-21 20:00:33 -07:00
Matt Woodrow
212cd95ad4
Bug 1013771 - Dump nsDisplayTransform transforms during display list dumping. r=roc
2014-05-22 14:36:26 +12:00
Matt Woodrow
85cabc53ea
Bug 1013536 - Clip paint flashing area when using single-rect painting mode. r=Bas
2014-05-22 14:36:26 +12:00
Kartikaya Gupta
0935bd8594
Bug 1001438 - Refactor the GetDisplayPortImpl code for readability. r=tn
2014-05-21 12:06:03 -04:00
Kartikaya Gupta
ed28b62150
Bug 1001438 - Remove setCriticalDisplayPortForElement and have the getter function automatically compute it. r=tn
2014-05-21 12:06:02 -04:00
Kartikaya Gupta
cc2c523775
Bug 1001438 - Rearrange the code in nsLayoutUtils::GetDisplayPort. r=tn
2014-05-21 12:06:02 -04:00
Gavin Sharp
595578ee3d
Bug 881996 part 2. Remove now-unneeded workaround from printpreview_bug396024_helper.xul
2014-05-18 12:48:00 -07:00
Mats Palmgren
546eea50a2
Bug 1011163 - Remove the border which isn't essential for the test since it caused orange due to focus issues. r=me
2014-05-17 23:10:52 +00:00
Debbe Heisler
52640a26cf
Bug 1001582 -- Transitioned FrameMetrics::mPresShellId to use a getter/setter. r=botond
2014-05-16 19:00:50 -04:00
Brian Birtles
c5f689a020
Bug 1004383 part 4 - Move mAnimations to CommonElementAnimationData; r=dbaron
...
As a result, transitions are now stored using a pointer to the base class,
mozilla::ElementAnimation. We downcast to a transition only when necessary. No
error-checking of the result of AsTransition is performed since we only ever
call it on the mAnimations member of ElementTransitions.
2014-05-15 08:38:37 +09:00
Brian Birtles
5191a3eb7e
Bug 1004383 part 2 - Rename StyleAnimation to ElementAnimation; r=dholbert
...
We currently have mozilla::StyleAnimation as well as nsStyleAnimation. This
patch renames StyleAnimation back to ElementAnimation.
Although ElementAnimation is very similar to ElementAnimations, in the near
future we expect to retire ElementAnimations and replace it with a common
AnimationSet-like structure that is covers the features of ElementAnimations and
ElementTransitions.
2014-05-15 08:38:37 +09:00
Brian Birtles
e3859b3244
Bug 1004383 part 1 - Put StyleAnimation on the heap; r=dbaron
...
This patch takes StyleAnimation and makes it ref-counted heap object. This
should allow us to store StyleAnimation and its subclasses (transitions only
currently) in a consistent fashion (an array of base-class pointers).
Furthermore, this will be helpful if we want these things to be pointed to
from Javascript objects that may, for example, preserve their lifetime beyond
that of the element that currently owns them.
This patch also introduces a typedef for an array of refptrs to StyleAnimation
objects (and similarly for the subclass ElementPropertyTransition) to simplify
the code somewhat.
2014-05-15 08:38:37 +09:00