Corey Ford
5db567cbb1
Bug 886646 - Part 6: Implement sticky positioning, calculated on reflow and scroll. r=dbaron, r=dholbert
2013-09-06 09:35:16 -04:00
Masayuki Nakano
144f6d5e26
Bug 910978 part.2 Remove nsScrollbarEvent because its member is never used r=smaug+roc
2013-09-03 20:45:28 +09:00
Ehsan Akhgari
2faab8bc9e
Bug 908724 - Avoid #including nsPresContext.h in nsIScrollableFrame.h; r=mats
...
nsPresContext.h pulls in a large number of headers which should not
be needed in nsIScrollableFrame, if we just move ScrollbarStyles to
its own header
2013-08-23 16:20:07 -04:00
Ehsan Akhgari
f56168072d
Bug 907883 - Minimize #includes in layout/generic; r=roc
...
--HG--
extra : rebase_source : 5e87b764a12b05aff477c71547e2131be67ca93b
2013-08-22 14:32:52 -04:00
Ehsan Akhgari
c2ce7e67ab
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
Mats Palmgren
6c8170cc92
Bug 883568 - Call UpdateOverflow() in the scroll frame base class to actually update the overflow areas. r=roc
2013-08-10 16:55:29 +00:00
Mats Palmgren
b84c388d5e
Bug 898871 - Add more nsWeakFrame checks around scroll operations. r=roc
2013-08-08 22:04:59 +00:00
Mats Palmgren
1105f19374
Bug 898871 - Add an assertion that the pres shell was not deleted by some script runner, which should not happen here since the caller must hold a strong ref before starting the scroll operation. r=roc
2013-08-08 22:04:59 +00:00
Stephen Pohl
723220566e
Bug 877097: Hold strong refs to instances of ScrollbarActivity to avoid crashing. r=mats
2013-07-31 21:43:56 -04:00
Ehsan Akhgari
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Robert O'Callahan
0410954212
Bug 885009. Handle clip-all-descendants cases with rounded corners. r=mats
...
--HG--
extra : rebase_source : 284587e5fa70532bc6435f987f03c1282edc9cb8
2013-07-26 13:36:05 +12:00
Stephen Pohl
8b91f3ec9a
Bug 896443: Fix the z-ordering of overlay scrollbars to make them appear on top of content with z-index > 0. r=roc
2013-07-25 21:31:35 -04:00
Stephen Pohl
a95c8487b3
Bug 877857: Make hovered overlay scrollbars appear on top of non-hovered ones. r=roc
2013-07-23 00:21:55 -04:00
Robert O'Callahan
9ae1116bfe
Bug 870941. Make scrollframes put scrollbars etc above content in z-order if they're disappering scrollbars. r=mattwoodrow
2013-07-18 10:10:13 -04:00
Stephen Pohl
fee7bac8dd
Bug 868498: Enable switching between overlay and regular scrollbars without browser restart on Mac OSX. r=roc
2013-07-16 08:58:44 -04:00
Stephen Pohl
bcad140bc2
Bug 890897 - Don't show overlay scrollbars when we don't end up scrolling the page because we're already at an acceptable place. r=roc
2013-07-16 00:51:21 -04:00
Ryan VanderMeulen
ec6b3d53b5
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Ms2ger
fae15265a4
Bug 890821 - Make nsIScrollableFrame::GetScrollPositionCSSPixels return CSSIntPoint; r=roc
2013-07-10 11:58:13 +02:00
Benoit Girard
fe89091f81
Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats
2013-07-02 11:16:05 -04:00
Ms2ger
0a7d6a39da
Bug 888321 - Pass CSSIntPoint to ScrollToCSSPixels; f=kats r=roc
2013-07-01 09:14:36 +02:00
Robert O'Callahan
0202dcc4d5
Bug 875060. Make display:-moz-stack/-moz-inline-stack elements which are overflow:hidden clip all their descendants, including those for which it is not the containing block. r=mats
2013-06-17 17:16:27 +12:00
Karl Tomlinson
55c41ed5f4
b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc
...
--HG--
extra : transplant_source : %07%FC%14%84%D6%80%BD%5C%ECe%05%0D%8F%B3%0E%8F%7B%F8%90%1E
2013-06-10 12:37:16 +12:00
Karl Tomlinson
4c8386df31
b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc
...
--HG--
extra : transplant_source : %3BkY-X%D0%60lwm%C5XN%BEo%CA%AF%0E%10%08
2013-06-10 12:37:16 +12:00
Karl Tomlinson
e5d64fd2bd
backout f4add9815dd1 and db258cb900a7 because gcc 4.4 builds don't use -std=gnu++0x for decltype b=810274
2013-06-06 18:03:21 +12:00
Karl Tomlinson
0088362048
b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc
...
--HG--
extra : transplant_source : %CF%FE%015%5E%E6R%F0W%EB%1EoW%A5%3B%04%D9%F4C%0A
2013-06-06 15:49:23 +12:00
Karl Tomlinson
154b99ab77
b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc
...
--HG--
extra : transplant_source : %22c%20R%E6%BF%C6%10%02%7C%1E%9F%CA%C7%2B%8C%98A%28%D3
2013-06-06 15:49:10 +12:00
Karl Tomlinson
4ff9f7630b
b=810274 ensure scrolled range is non-negative even in the presence of nscoord overflow r=roc
...
Instead of trying to detect all integer overflow at the source, this merely
keeps the sizes non-negative. That may not mean they are less than
nscoord_MAX.
If we give in and accept that integer arithmetic may result in the scrolled
rect being smaller than the scroll port, then we shouldn't assert.
--HG--
extra : transplant_source : RP%15%84zx%B9%E8%2C%1E%0A%AB%82%F4%9C%A2y%AD5%27
2013-06-06 15:47:39 +12:00
Kartikaya Gupta
09a6269c24
Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe
2013-05-30 21:30:13 -04:00
André Reinald
3a7449434c
Bug 873012 - In case we use overlay scrollbars, and we run on system 10.8 or later, make them overlap in the bottom right corner, r=smichaud
...
--HG--
extra : rebase_source : 300f78c1230a6f91a102c032b026b1fe2455f634
2013-05-23 14:14:00 -07:00
Stephen Pohl
7546829bc2
Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc
2013-05-26 15:05:10 -07:00
Stephen Pohl
0e3edb584a
Back out bug 869314 for missing r='s.
2013-05-26 15:00:17 -07:00
Stephen Pohl
622d3dddfd
Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used.
2013-05-26 14:40:16 -07:00
Mats Palmgren
0a3fd30f4a
Bug 873926 - Don't store a scroll state if we never have been scrolled or restored a previous scroll state. r=roc
2013-05-22 12:49:49 +00:00
Ryan VanderMeulen
1279992a7b
Backed out changesets 619cdf937af1 and 381492b19e3f (bug 869314) for Windows mochitest failures.
...
CLOSED TREE
2013-05-21 10:13:25 -04:00
Stephen Pohl
4437e01248
Bug 869314 - Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc
2013-05-21 08:27:14 -04:00
Stephen Pohl
15b6f78be0
Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc
2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
a213f7964d
Backed out changeset 1840b15583fd (bug 636564) for bustage.
...
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
c51a7b61fd
Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc
2013-05-02 07:52:25 -04:00
Masatoshi Kimura
edb82c4095
Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron
2013-04-28 19:02:35 +09:00
Robert O'Callahan
a7a41f0415
Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow
2013-04-20 00:02:13 +12:00
Karl Tomlinson
00d08712bc
b=767710 don't let additional events with the same destination restart smooth scrolling r=mstange
...
--HG--
extra : transplant_source : _%BA%CE%F1A%B7%40N%14VMZ%1D%2C%98Lg%40%F7%AF
2013-04-18 12:05:10 +12:00
Karl Tomlinson
f7b1067a92
b=767710 refactor AsyncScroll duration API so duration can be evaluated before resetting r=roc
...
--HG--
extra : transplant_source : %17Wc%17%5B%CF%A9n%C6%0BE%3Ez%21%CD%C6Q%20%10%26
2013-04-18 12:03:51 +12:00
Karl Tomlinson
c4d4e0b091
b=767710 move current motion calculation into InitSmoothScroll() r=roc
...
--HG--
extra : transplant_source : %E2%DCQu%13RdE%E9%3A%B3%B5L%21%8A3%3C%5D4%3F
2013-04-18 12:03:29 +12:00
Joshua Cranmer
c763b1352e
Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats
2013-04-11 22:20:45 -05:00
Robert O'Callahan
ce4c05def0
Bug 851445. When saving a frame scroll position, if we're in the process of trying to scroll to a saved scroll position, save the desired position instead of the actual current position. r=mats
...
--HG--
extra : rebase_source : 4aa4110d32db5f26192c0e4b6fa3185d1ed2c073
2013-03-21 15:44:37 +13:00
Robert O'Callahan
865de96db7
Bug 841192. Part 15: Move DisplayListClipState clipping methods to AutoSaveRestore and AutoClipMultiple helper classes for safer usage. r=mattwoodrow
...
--HG--
extra : rebase_source : aa674d4fa93f1b7c2b4dd84ba8d888cc9f289265
2013-04-05 00:36:45 +13:00
Robert O'Callahan
04e9887192
Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
...
This patch does several things. Sorry.
In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.
In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.
We remove nsDisplayClip and everything that depends on it.
We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.
nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.
I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.
--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Robert O'Callahan
d9afc6d714
Backout bug 851445 for test failure
...
--HG--
extra : rebase_source : 3314e6679f15134324d5de09334be14e17aa0790
2013-04-02 18:24:25 +13:00
Robert O'Callahan
37411c9523
Bug 851445. When saving a frame scroll position, if we're in the process of trying to scroll to a saved scroll position, save the desired position instead of the actual current position. r=mats
2013-03-21 15:44:37 +13:00
Mats Palmgren
4831435069
Bug 842166 - Block scripts during nsGfxScrollFrameInner::ReflowFinished(). r=ehsan
2013-03-23 00:08:59 +01:00