Commit Graph

12094 Commits

Author SHA1 Message Date
Xidorn Quan
c011970f03 Bug 966166 - Part 3: Link to other parts. r=dbaron 2014-06-11 21:12:00 -04:00
Xidorn Quan
4831f428cc Bug 966166 - Part 2: Computation of counter style. r=dbaron 2014-06-11 21:11:00 -04:00
Wes Kocher
b9d1bf909f Merge m-c to inbound 2014-06-11 18:38:53 -07:00
Ed Morley
63eff9d511 Merge mozilla-central and b2g-inbound 2014-06-11 18:06:52 +01:00
Daniel Holbert
a8e9a7e70c backout 703d26e9d979 (Bug 1024084) for Android bustage, on a CLOSED TREE 2014-06-11 16:10:29 -07:00
Jonathan Watt
0f23c6cd87 Bug 1024138 - Remove the GetPresShell() and GetPresContext() methods from nsFrameManager. r=dholbert 2014-06-11 23:38:17 +01:00
Daniel Holbert
d4dc8d8c50 Bug 1024084: Use forward declarations instead of #includes for nsIFrame & nsContent in nsFrameManager.h. r=jwatt 2014-06-11 15:35:17 -07:00
Jonathan Watt
730ae601c6 Bug 1016680, part 3 - DeCOMify nsGenConNode::mText. r=dholbert 2014-06-11 23:11:15 +01:00
Ting-Yu Lin
583c467b2f Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Enlarge touch caret expiration time to 60 seconds to avoid intermittent
test failures in test cases which need to move touch caret.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-11 02:48:00 -04:00
Jonathan Watt
d66709e471 Bug 1016680, part 2 - Report the memory used by PresShell::mVisibleImages and PresShell::mFramesToDirty. r=dholbert
--HG--
extra : rebase_source : 0d348e97861917c67862271c4c4ee9f51b007255
2014-06-11 11:20:52 +01:00
Simon Montagu
961881d5da Mark line after a preformatted newline as dirty during bidi resolution. Bug 1015128, r=mats 2014-06-11 08:57:25 -07:00
Simon Montagu
90cb8f2dd9 Back out wallpaper patch from bug 1007067 in favour of real fix from bug 1015128, r=mats 2014-06-11 08:57:24 -07:00
Wes Kocher
934871f3a2 Merge m-c to inbound 2014-06-10 18:55:47 -07:00
Geoff Brown
d0860ecabe Bug 982915 - Use different expected assertion range for layout/base/crashtests/898913.html on Android; r=dholbert 2014-06-10 19:10:10 -06:00
Botond Ballo
14c54cd3c3 Bug 1022381 - Enforce that strongly-typed geometric classes are used with a proper coordinate system tag type. r=kats 2014-06-10 12:43:52 -04:00
Markus Stange
86d79d99f5 Bug 1021420 - Ensure that scrollable layers get a view ID created for them. r=tnikkel 2014-06-10 22:29:32 +02:00
Cameron McCormack
9a75e854c1 Bug 1017798 - Part 1: Make AncestorFilter and the TreeMatchContext style scope list include ancestors from following ShadowRoots up to the light tree. r=bzbarsky 2014-06-06 15:22:55 +10:00
Kartikaya Gupta
0d3a73d431 Bug 1018387 - Update various variables and comments to reflect the fact that the values are in layer pixels and not layout device pixels. r=Cwiiis 2014-06-09 14:02:39 -04:00
Ryan VanderMeulen
1a316f5d4f Merge inbound to m-c. a=merge 2014-06-08 22:10:12 -04:00
Ting-Yu Lin
129535f3e3 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-07 08:49:00 -04:00
Botond Ballo
727b1998f8 Bug 1014280 - Add a background color attribute to scrollable ContainerLayers. r=tn,BenWa
--HG--
extra : source : dff750e410e5f4e1ed019527ea17f37e53dd8fe6
2014-06-06 16:50:20 -04:00
Wes Kocher
42ab217b5b Merge inbound to m-c a=merge 2014-06-11 18:46:34 -07:00
Wes Kocher
709cdab11c Merge inbound to m-c a=merge 2014-06-11 18:23:43 -07:00
William Chen
00bef8c70a Bug 992521 - Part 5: Bind native anonymous content to null document when node is contained by a ShadowRoot. r=smaug 2014-06-07 01:42:55 -07:00
William Chen
d5a9346ba8 Bug 992521 - Part 4: Make PresShell events work when not in document, but contained by a ShadowRoot with a host in document. r=smaug 2014-06-07 01:42:54 -07:00
William Chen
416f36b0de Bug 992521 - Part 2: Make styles work when not in document, but contained by a ShadowRoot with a host in document. r=smaug 2014-06-07 01:42:54 -07:00
William Chen
603c74dbeb Bug 992521 - Part 1: Remove "in document" flag on ShadowRoot and its descendants. r=smaug 2014-06-07 01:42:53 -07:00
Timothy Nikkel
2d4f5b7712 Bug 1002992. Part 6. Rename ExpandRect to ExpandToNearlyVisibleRect. r=addressingreviewcomment 2014-06-06 21:23:22 -05:00
Timothy Nikkel
91256bfbc7 Bug 1002992. Part 5. Use a custom frame tree walker to find visible and almost visible images instead of using the heavier weight display list infrastructure. r=mats
This is about 3 or 4 times faster.
2014-06-06 21:23:21 -05:00
Timothy Nikkel
d36dde1982 Bug 1002992. Part 3. Don't build the caret when building a display list for image visibility. r=mats
It's not needed and complicates things.
2014-06-06 21:23:21 -05:00
Timothy Nikkel
ad28cfc802 Bug 1002992. Part 2. Handle display ports and ignore viewport scrolling for image visibility display lists the same way we do for painting display lists. r=mats 2014-06-06 21:23:20 -05:00
Markus Stange
1e0903dbed Bug 944938 - Pass scroll events to the APZC tree manager on the async event thread. r=smichaud 2014-06-07 00:49:59 +02:00
Ryan VanderMeulen
7f662cd774 Merge inbound to m-c. a=merge 2014-06-06 17:18:45 -04:00
Ed Morley
d791ee02f0 Merge mozilla-central and b2g-inbound 2014-06-06 19:12:21 +01:00
Ed Morley
28d36524ec Backed out changeset e982377e39a3 (bug 960897) since the new test_touchcaret.py intermittently fails 2014-06-06 18:14:43 +01:00
Wes Kocher
1972488853 Merge b2g-inbound to m-c a=merge 2014-06-05 18:49:36 -07:00
Ting-Yu Lin
3d1fb8c249 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-04 06:21:00 -04:00
Ms2ger
c52225d272 Bug 1018778 - Part b: use more early returns in nsDocumentViewer::SyncParentSubDocMap; r=roc 2014-06-06 10:06:25 +02:00
Ms2ger
373c13b4dd Bug 1018778 - Part a: use nsPIDOMWindow::GetDoc in nsDocumentViewer::SyncParentSubDocMap; r=roc 2014-06-06 10:06:25 +02:00
Botond Ballo
328066636f Bug 1019766 - Avoid including gfxPrefs.h from nsLayoutUtils.h. r=kats
--HG--
extra : rebase_source : de931f7f1fae64e8f59ae923aaf07c2742f372e0
2014-06-03 14:13:05 -04:00
Robert O'Callahan
a287b0ecdb Bug 1005588. Fix getBoxQuads test to work when the feature prefs are disabled by default. r=matspal
--HG--
extra : rebase_source : fd13c824c8eb70e87c1926f1c8d1a6520203988d
2014-06-03 13:54:20 +12:00
John Daggett
8259cc74f5 Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw 2014-06-06 15:09:23 +09:00
Brian Birtles
194b6cc3b7 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
9aa68b0bc5 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
81714ca17f 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
4286f5c0d3 Bug 924692 - Part 4: Hooks up event handling to TouchCaret; r=roc, bugs 2014-06-03 15:08:54 +08:00
Phoebe Chang
2bcba7c1cc Bug 924692 - Part 3: Add TouchCaret; r=roc, bugs 2014-06-03 15:08:45 +08:00
Phoebe Chang
0d6163380e Bug 924692 - Part 2: Add TransformPoint and TransformRect to nsLayoutUtils; r=roc 2014-06-03 15:08:37 +08:00
Phoebe Chang
a37fc5efe4 Bug 924692 - Part 1: Add touch caret rendering support; r=roc 2014-06-03 15:08:25 +08:00
Robert O'Callahan
fc44c75519 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
2a92625af7 Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg 2014-06-03 00:08:24 +12:00
Robert O'Callahan
cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Phil Ringnalda
3e5340dd29 Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Matt Woodrow
2036c6d1a8 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
89a53598b1 Bug 854421 - Part 9: Send DidComposite during ClientLayerManager destruction. r=roc 2014-05-29 09:44:30 +12:00
Matt Woodrow
795c2136c0 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
d78f4156e4 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
8b3992ab79 Bug 854421 - Part 6: Add gfx API for allocating transaction ids. r=roc 2014-05-29 09:42:17 +12:00
Matt Woodrow
bd4c48f570 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
563a383a1e 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
1897fda700 Bug 1016573 - Put logging of APZ test data behind a pref. r=kats 2014-05-29 12:51:28 -04:00
Robert Longson
289ee87838 Bug 1016440 - Stop crashing when failing to allocate draw targets. r=jwatt 2014-05-31 11:26:04 +01:00
Michael Wu
9e075daedc Bug 994081 - [2/3] Convert imgFrame to SourceSurfaces, r=seth 2014-04-19 21:28:38 -04:00
Chris Lord
d0ad5d7a62 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
5d9e036945 Bug 987718 - Part 6: Hooks up SelectionCaret; r=roc 2014-06-04 22:58:00 +02:00
Morris Tseng
e0ddfe5e18 Bug 987718 - Part 5: Add SelectionCarets; r=roc 2014-06-04 22:57:00 +02:00
Morris Tseng
827dd43f44 Bug 987718 - Part 2: Expose GetHintForPosition to nsFrameSelection; r=roc 2014-06-04 22:53:00 +02:00
Morris Tseng
288b4d9f41 Bug 987718 - Part 1: Add FirstAndLastRectCollector to nsLayoutUtils; r=roc 2014-06-04 22:53:00 +02:00
Markus Stange
92945b98e7 Bug 1013392 - Initialize the new nsDisplayListBuilder fields. 2014-06-04 21:18:20 +02:00
Ed Morley
857d6c4a5b Backed out changeset f6395f17c99f (bug 960897) for intermittent test failures 2014-06-10 18:03:30 +01:00
Mats Palmgren
9dddc1e1c9 Bug 1007067 - Adding a reftest. r=smontagu 2014-05-29 15:15:14 +00:00
Ed Morley
59513799f4 Backed out changeset 743bd08df703 (bug 854421) 2014-05-29 10:56:01 +01:00
Ed Morley
4356f5faa0 Backed out changeset 1d9f1a4d7838 (bug 854421) 2014-05-29 10:55:57 +01:00
Ed Morley
67779c9c8f Backed out changeset 056cc43a50b6 (bug 854421) 2014-05-29 10:55:54 +01:00
Ed Morley
be1f5d2de8 Backed out changeset 3f58a7521a51 (bug 854421) 2014-05-29 10:55:51 +01:00
Ed Morley
ced23842df Backed out changeset 123998cc3f92 (bug 854421) 2014-05-29 10:55:47 +01:00
Ed Morley
ca0e6070b9 Backed out changeset cbe947863ad3 (bug 854421) 2014-05-29 10:55:44 +01:00
Ed Morley
00ee5e127c Backed out changeset b4f05a5d9d89 (bug 854421) 2014-05-29 10:55:40 +01:00
Mats Palmgren
f13d6efb21 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
43d5066053 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
58a93da0d3 Bug 854421 - Part 9: Send DidComposite during ClientLayerManager destruction. r=roc 2014-05-29 09:44:30 +12:00
Matt Woodrow
c9c9b9cb80 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
de268276b8 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
28f6a2355c Bug 854421 - Part 6: Add gfx API for allocating transaction ids. r=roc 2014-05-29 09:42:17 +12:00
Matt Woodrow
2d0c4e51fe 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
0b96d88ae5 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
f08f841973 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
09ce066d03 Backed out changeset 827fe00eecc7 (bug 1013392) for reftest failures on Windows; CLOSED TREE 2014-05-28 18:20:09 +01:00
Markus Stange
43a4cda619 Bug 1013392 - Put APZ scrollbar annotations on the scrollbar thumb. r=roc 2014-05-28 16:14:43 +02:00
Markus Stange
75e2e674b2 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
164d699aff Fix a typo in a comment in ContainerState::FindThebesLayerFor. No bug, r=typo 2014-06-04 14:44:28 +02:00
Markus Stange
7e5c225100 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
77db589b6c 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
9038c72547 Bug 1013392 - Put APZ scrollbar annotations on the scrollbar thumb. r=roc 2014-06-04 14:44:26 +02:00
Markus Stange
b207dd338d Bug 1009679 - Layerize the scrollbar thumb on desktop, too. r=roc 2014-05-28 12:52:13 +02:00
Markus Stange
6ee31049c7 Bug 1016525 - Ignore empty rects in AddTransformedBoundsToRegion. r=roc 2014-05-28 11:47:07 +02:00
Brian Birtles
f3593b3f8a 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
7d5b54b2f6 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
a7a065cd75 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
78966cf36b bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug 2014-01-09 21:03:47 -05:00
Geoff Brown
bec6d138c6 Bug 979921 - Enable some crashtests on Android 2.3; r=dminor 2014-05-27 06:46:15 -06:00
Neil Rashbrook
ef8d375d0b 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
7ed88d413a Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Neil Rashbrook
71828ecc1c 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
54f552cc43 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
a5e475fefb Bug 1007067 - Add a currentLine->MarkDirty() to wallpaper a bug 936935 regression. r=smontagu 2014-05-25 02:50:59 +00:00
Mats Palmgren
7d744275a1 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
75bad2215e 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
0d14b4f2ec 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
05d8c81f4e Bug 508665 - part 7, Require a nsContainerFrame* for aParent in nsFrameManager methods. r=roc 2014-05-24 22:20:40 +00:00
Mats Palmgren
2831fb8a6a 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
273ad272f1 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
31ebc7ec9b 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
a6feda0f22 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
7792c4a45f 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
ec734706e6 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
74572624da 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
5dc45fb402 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
f8299a3c22 Backed out changeset f1068bf18e64 (bug 978913) for bustage on most platforms.
CLOSED TREE
2014-05-22 16:39:46 -04:00
Mike Conley
c0e682d27d 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
a7a3cbd2ad Bug 1013771 - Dump nsDisplayTransform transforms during display list dumping. r=roc 2014-05-22 14:36:26 +12:00
Boris Zbarsky
1c698d2d65 Bug 999456. Page load events should not be cancelable. r=smaug 2014-05-22 00:23:51 -04:00
Timothy Nikkel
4ba9fdad31 Bug 1013780. Silly bustage fixup. 2014-05-21 23:17:56 -05:00
Timothy Nikkel
8b1933e50f 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
952b834c76 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
59b969f7f4 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
aea8617b92 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
58641805f1 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
0e6f3a6562 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Wes Kocher
8f123848f9 Backed out changeset 91d280c835b2 (bug 1013771) for b2g osx build bustage 2014-05-21 20:00:33 -07:00
Matt Woodrow
405762e159 Bug 1013771 - Dump nsDisplayTransform transforms during display list dumping. r=roc 2014-05-22 14:36:26 +12:00
Matt Woodrow
24c80a523e Bug 1013536 - Clip paint flashing area when using single-rect painting mode. r=Bas 2014-05-22 14:36:26 +12:00
Kartikaya Gupta
5068cf8dde Bug 1001438 - Refactor the GetDisplayPortImpl code for readability. r=tn 2014-05-21 12:06:03 -04:00
Kartikaya Gupta
82413349d5 Bug 1001438 - Remove setCriticalDisplayPortForElement and have the getter function automatically compute it. r=tn 2014-05-21 12:06:02 -04:00
Kartikaya Gupta
513cd6d34a Bug 1001438 - Rearrange the code in nsLayoutUtils::GetDisplayPort. r=tn 2014-05-21 12:06:02 -04:00
Gavin Sharp
e3539ffe7f Bug 881996 part 2. Remove now-unneeded workaround from printpreview_bug396024_helper.xul 2014-05-18 12:48:00 -07:00
Mats Palmgren
24ea7f9b72 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
7e378291e5 Bug 1001582 -- Transitioned FrameMetrics::mPresShellId to use a getter/setter. r=botond 2014-05-16 19:00:50 -04:00
Brian Birtles
9c7f65de0d 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
92e305760e 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
7595a03399 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
Botond Ballo
e60052ea65 Bug 961289 - Log displayports on client side for APZ testing. r=kats
--HG--
extra : source : 18b0cdfc97633c46f609dbd84a52af6472d4edd4
2014-04-21 17:09:30 -04:00
Botond Ballo
23c2012d1e Bug 961289 - Client-side instance of APZ test data and utilities for writing to it. r=tn,kats
--HG--
extra : source : 1462852a44bee091ebf42d48d87e9c0e4acfac0b
2014-04-21 19:48:54 -04:00
Ed Morley
bfa64d1dcc Backed out changeset 83fd85b082d1 (bug 1009679) for crashtest and reftest failures; CLOSED TREE 2014-05-14 15:55:04 +01:00
Markus Stange
3ec8e6b5ec Bug 1009679 - Layerize the scrollbar thumb on desktop, too. r=roc 2014-05-14 14:33:52 +02:00
Karl Tomlinson
1b266c52e3 b=835044 handle popup windows with parents in GetWidgetOffset r=tn
level="parent" popup windows can sometimes return a non-null parent, which is
their owner window, but their bounds are relative to the screen (previously
assumed to be the owner window origin).

--HG--
extra : transplant_source : %AEr%1F%1E%CC%08%A1%19%97%DBo%00f%5E%3EM%23R%FE%95
2014-05-14 12:12:43 +12:00
Wes Kocher
6df3da8665 Backed out changeset 6761e016c804 (bug 1009680) for m-oth bustage on an otherwise CLOSED TREE 2014-05-13 15:56:42 -07:00
Markus Stange
ce0373dbda Bug 1009680 - Disable paint flashing for inactive layer contents. r=roc 2014-05-13 23:13:11 +02:00
Markus Stange
a772659b8d Bug 1009478 - Make LayerActivity properties survive across reframes of an element. r=roc 2014-05-13 19:30:11 +02:00