Markus Stange
72326bff2d
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
6b817440b4
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
a7844bf3d0
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
59aa388e2e
Merge inbound to m-c. a=merge
2014-06-08 22:10:12 -04:00
Ting-Yu Lin
047804b5f4
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
64ebf81674
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
62217765cf
Merge inbound to m-c a=merge
2014-06-11 18:46:34 -07:00
Wes Kocher
22e15a91dd
Merge inbound to m-c a=merge
2014-06-11 18:23:43 -07:00
William Chen
b8d5cf1bda
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
58073b9833
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
9809c3f60f
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
ae48fcf9e0
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
8e59857367
Bug 1002992. Part 6. Rename ExpandRect to ExpandToNearlyVisibleRect. r=addressingreviewcomment
2014-06-06 21:23:22 -05:00
Timothy Nikkel
2e36cf9bcd
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
1cdc28fb3b
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
736743701d
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
8f35b18308
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
e0544d6dae
Merge inbound to m-c. a=merge
2014-06-06 17:18:45 -04:00
Ed Morley
51a5e8d0e0
Merge mozilla-central and b2g-inbound
2014-06-06 19:12:21 +01:00
Ed Morley
0eb1c45071
Backed out changeset e982377e39a3 (bug 960897) since the new test_touchcaret.py intermittently fails
2014-06-06 18:14:43 +01:00
Wes Kocher
d48f2e62a4
Merge b2g-inbound to m-c a=merge
2014-06-05 18:49:36 -07:00
Ting-Yu Lin
ba201061d5
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
67f40acbc2
Bug 1018778 - Part b: use more early returns in nsDocumentViewer::SyncParentSubDocMap; r=roc
2014-06-06 10:06:25 +02:00
Ms2ger
d008d6e04d
Bug 1018778 - Part a: use nsPIDOMWindow::GetDoc in nsDocumentViewer::SyncParentSubDocMap; r=roc
2014-06-06 10:06:25 +02:00
Botond Ballo
fc6b4a01b8
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
f5c34109fd
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
6ad68a5fc7
Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw
2014-06-06 15:09:23 +09:00
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