Граф коммитов

774 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 77b5078c36 Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Masayuki Nakano a8c4022dfb Bug 920377 part.11 Get rid of nsScrollPortEvent r=roc 2013-09-27 15:20:56 +09:00
Masayuki Nakano 323a652628 Bug 920377 part.10 Get rid of nsScrollAreaEvent r=roc 2013-09-27 15:20:56 +09:00
Masayuki Nakano 80d3ef9ea0 Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Daniel Holbert 90f7eae182 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 d747f1829c 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 37170c5e70 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 b7e5e88bcc 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 de54adfdb5 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 fecfb82b09 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 843d62f529 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 0e024fd271 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 baf3a129ad Bug 907883 - Minimize #includes in layout/generic; r=roc
--HG--
extra : rebase_source : 5e87b764a12b05aff477c71547e2131be67ca93b
2013-08-22 14:32:52 -04:00
Ehsan Akhgari 2621b190f1 Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
Mats Palmgren 441566e641 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 a030bc32af Bug 898871 - Add more nsWeakFrame checks around scroll operations. r=roc 2013-08-08 22:04:59 +00:00
Mats Palmgren b0c3d1c587 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 29b7462867 Bug 877097: Hold strong refs to instances of ScrollbarActivity to avoid crashing. r=mats 2013-07-31 21:43:56 -04:00
Ehsan Akhgari ef4b479714 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 71ed3a62d3 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 ad84285dd7 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 7aa51aad86 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 1343917050 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 e5abe7e1ae 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 f7729cfa8a 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 d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ms2ger 2e40ca7f86 Bug 890821 - Make nsIScrollableFrame::GetScrollPositionCSSPixels return CSSIntPoint; r=roc 2013-07-10 11:58:13 +02:00
Benoit Girard f152264ea8 Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats 2013-07-02 11:16:05 -04:00
Ms2ger 8e0a6b5a85 Bug 888321 - Pass CSSIntPoint to ScrollToCSSPixels; f=kats r=roc 2013-07-01 09:14:36 +02:00
Robert O'Callahan d69def94d3 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 698f0a984b 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 2fb8593300 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 508255ba47 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 f38f815f3d 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 b7fda3d129 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 81958df017 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 1e3b912be9 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
André Reinald b4d86ea6d2 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 be93c1016d 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 5f012bbde6 Back out bug 869314 for missing r='s. 2013-05-26 15:00:17 -07:00
Stephen Pohl 65471bc896 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 421b9433f1 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 a268c3e091 Backed out changesets 619cdf937af1 and 381492b19e3f (bug 869314) for Windows mochitest failures.
CLOSED TREE
2013-05-21 10:13:25 -04:00
Stephen Pohl 1474cbfb6a 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 6af8265e40 Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Ryan VanderMeulen c3aa5b10f1 Backed out changeset 1840b15583fd (bug 636564) for bustage.
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl 3e739e4fa3 Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc 2013-05-02 07:52:25 -04:00
Masatoshi Kimura 957042f394 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 4bd8d8b1e8 Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow 2013-04-20 00:02:13 +12:00
Karl Tomlinson 0b5112e494 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