Commit Graph

770 Commits

Author SHA1 Message Date
Daniel Holbert
e881abc90a Bug 919871: Make .cpp files in layout/generic #include their corresponding .h file first. r=mats 2013-09-24 18:43:43 -07:00
Timothy Nikkel
6e26b08f6d Bug 915526. Take into account display port and scroll port clamping in image visibility. r=roc f=kats 2013-09-15 13:51:35 -05:00
Timothy Nikkel
0bda196e6b Bug 847223. Part 4. Tweak the ExpandRect function to not expand in a direction that we cannot scroll. r=mats 2013-09-14 19:05:04 -05:00
Timothy Nikkel
d972e60b2c Bug 847223. Part 3. Factor out the expand the scrollport code so we can use it on individual images later. r=mats 2013-09-14 19:05:04 -05:00
Scott Johnson
6175e00428 Bug 794693, part 1: Refactor nsHTMLReflowState constructor to allow initialization to be done by caller. [r=dbaron] 2013-09-09 15:29:05 -05:00
Corey Ford
4b9e4cbc76 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
d251a5d7d6 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
1f48bf4d93 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
06d49ffd4d Bug 907883 - Minimize #includes in layout/generic; r=roc 2013-08-22 14:32:52 -04:00
Ehsan Akhgari
45b9b9b617 Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
Mats Palmgren
a854216012 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
b42dc84aac Bug 898871 - Add more nsWeakFrame checks around scroll operations. r=roc 2013-08-08 22:04:59 +00:00
Mats Palmgren
7540d76327 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
af7f7fd3cf Bug 877097: Hold strong refs to instances of ScrollbarActivity to avoid crashing. r=mats 2013-07-31 21:43:56 -04:00
Ehsan Akhgari
6d396d8bcb 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
752c00d380 Bug 885009. Handle clip-all-descendants cases with rounded corners. r=mats 2013-07-26 13:36:05 +12:00
Stephen Pohl
ffe69b52e0 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
dc87182bad 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
0896dcc10c 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
196a78e08a 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
e27d140794 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
7908d6dbeb Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ms2ger
36e433f5c2 Bug 890821 - Make nsIScrollableFrame::GetScrollPositionCSSPixels return CSSIntPoint; r=roc 2013-07-10 11:58:13 +02:00
Benoit Girard
2630d1e502 Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats 2013-07-02 11:16:05 -04:00
Ms2ger
9f00af0a49 Bug 888321 - Pass CSSIntPoint to ScrollToCSSPixels; f=kats r=roc 2013-07-01 09:14:36 +02:00
Robert O'Callahan
baff7f2ef2 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
fd4865c0f5 b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc 2013-06-10 12:37:16 +12:00
Karl Tomlinson
f6e0e1db1e b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc 2013-06-10 12:37:16 +12:00
Karl Tomlinson
038dd3a0ac 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
361ca8e223 b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc 2013-06-06 15:49:23 +12:00
Karl Tomlinson
5d6142394b b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc 2013-06-06 15:49:10 +12:00
Karl Tomlinson
470dec8c40 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.
2013-06-06 15:47:39 +12:00
Kartikaya Gupta
6ca75bfca8 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
André Reinald
8142d2b450 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 2013-05-23 14:14:00 -07:00
Stephen Pohl
479d2b3cfd 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
c2e326c28f Back out bug 869314 for missing r='s. 2013-05-26 15:00:17 -07:00
Stephen Pohl
ccbcb1494b 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
9afa560a67 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
d5919235a7 Backed out changesets 619cdf937af1 and 381492b19e3f (bug 869314) for Windows mochitest failures.
CLOSED TREE
2013-05-21 10:13:25 -04:00
Stephen Pohl
514014b085 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
1be15adc9e Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
6f650d1dd5 Backed out changeset 1840b15583fd (bug 636564) for bustage.
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
b4e558b7e2 Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc 2013-05-02 07:52:25 -04:00
Masatoshi Kimura
7dced5c200 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
916cde3a75 Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow 2013-04-20 00:02:13 +12:00
Karl Tomlinson
f824cb5828 b=767710 don't let additional events with the same destination restart smooth scrolling r=mstange 2013-04-18 12:05:10 +12:00
Karl Tomlinson
ed7e0a5685 b=767710 refactor AsyncScroll duration API so duration can be evaluated before resetting r=roc 2013-04-18 12:03:51 +12:00
Karl Tomlinson
004a86210d b=767710 move current motion calculation into InitSmoothScroll() r=roc 2013-04-18 12:03:29 +12:00
Joshua Cranmer
697498ab75 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
09c8c6c37b 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