Commit Graph

802 Commits

Author SHA1 Message Date
Timothy Nikkel
0cf9ee61d4 Bug 963771. Remove code accidentally landed that was only ever intended for local debugging. 2014-01-26 16:50:31 -06:00
Timothy Nikkel
b1d7ca036c Bug 963771. Add a debug dump function to print a single display item (and not just an entire display list). r=mats 2014-01-26 16:09:14 -06:00
Peiyong Lin
db78ce129a Bug 959874 - Reorder two parameters in nsContainerFrame::FinishReflowChild(), for consistency with nsContainerFrame::ReflowChild(). r=dholbert 2014-01-16 17:34:44 -08:00
Mats Palmgren
a56486443d Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00:00
Timothy Nikkel
1ff4382932 Bug 942189. Only avoid creating scroll info layers for root scroll frames in display root documents (not root content documents) because those have already had RecordFrameMetrics on them. r=roc 2014-01-03 14:48:57 -06:00
Jonathan Kew
279981cdc3 bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu 2013-12-27 17:59:52 +00:00
Jonathan Kew
4796e463bc bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu 2013-12-27 17:59:21 +00:00
Kartikaya Gupta
d936510b5e Bug 946408 - Always layerize a scrollable element if it's focused. r=kats,tn 2013-12-16 14:53:06 -05:00
Kartikaya Gupta
4448440886 Bug 946408 - Small refactoring for readability. r=tn 2013-12-16 14:53:02 -05:00
Kartikaya Gupta
6a9262255f Bug 949132 - Add a flag to FrameMetrics indicating a non-APZ scroll (original patch by mstange). r=tn 2013-12-16 12:04:45 -05:00
Trevor Saunders
f538844f26 bug 947022 - type nsIPresShell::mForwardingContainer and nsPresContext::mContainer r=bz 2013-11-20 14:18:25 -05:00
Kartikaya Gupta
3393656b7c Bug 814435 - Always layerize overlay scrollbars on B2G. r=tn 2013-12-09 22:14:54 -05:00
Kartikaya Gupta
43ace81d1e Bug 814435 - Annotate layers for scrollbars as such. r=tn, BenWa 2013-12-09 22:14:53 -05:00
Stephen Pohl
b61c5ca3e6 Bug 934811 - Ensure that no scrollbars are displayed for touch input. r=jimm,tn 2013-12-03 13:21:09 -05:00
Botond Ballo
0e44be8a8c Bug 912666 - Force scroll frames for 'scrollgrab' elements to always create a real scrollable layer rather than a scroll info layer. r=roc,tn 2013-10-23 05:04:42 -04:00
Botond Ballo
5e9efcd713 Bug 936277 - Do not allow subframe displayports to get clipped away. r=tn 2013-11-07 19:36:59 -05:00
Robert O'Callahan
93ada3295d Bug 931432. Rename nsGfxScrollFrameInner to mozilla::ScrollFrameHelper, and mInner fields to mHelper. r=mats 2013-10-29 15:27:50 +13:00
Timothy Nikkel
970d22e76e Bug 929915. Fix IsScrollingActive on scroll frames to only be true if we actually build a scrollable layer. r=roc 2013-11-01 22:47:21 -05:00
Kartikaya Gupta
b3df217d2e Bug 928441 - Don't clip to the scrollport on root scrollframes if the CSS viewport has been overridden. r=tn,roc 2013-10-24 18:31:26 +02:00
Kartikaya Gupta
799a219063 Bug 906043 - Enable async subframe scrolling for Metro. r=tn 2013-10-18 15:56:51 -04:00
Timothy Nikkel
195e72f44e Bug 916125. Clip scroll layer items to the scroll port so the resulting layers have the proper clip. r=roc 2013-10-17 17:02:42 -05:00
Robert O'Callahan
5813268b55 Bug 926706. When nsGfxScrollFrameInner::UpdateOverflow decides we need to update the scrollbars, don't reflow the scrollframe with NS_FRAME_IS_DIRTY since that reflows all descendants. Just reflow the frame itself and don't dirty anything else. r=tn 2013-10-17 23:05:15 +13:00
André Reinald
1e51c1ef8d Bug 868648: Make window overlay scrollbars appear/disappear when 2 fingers down/up trackpad. Credits to Markus for his help getting this right. r=mstange,masayuki,smichaud 2013-08-16 23:17:40 +02:00
Steven Michaud
6a3131de3b Bug 925411 - Temporarily backout patch for bug 868646 for causing this bug. r=spohl 2013-10-10 16:22:02 -05:00
André Reinald
860e5581ca Bug 868648 - Make window overlay scrollbars appear/disappear when 2 fingers down/up trackpad. r=mstange, r=masayuki
Credits to Markus for his help getting this right.
2013-08-16 23:17:40 +02:00
Daniel Holbert
c2cc2079db Bug 919865: Replace #ifdef DEBUG with DebugOnly<> in a few spots in layout/generic. r=mats 2013-10-01 22:02:23 -07:00
Masayuki Nakano
8c4ece5434 Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Robert O'Callahan
21eb65dad6 Bug 898444. Wrap nsDisplayScrollLayer only around the scrolled content. r=tn 2013-10-01 22:29:24 -04:00
Ehsan Akhgari
7c63dd132d 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
517b713dad Bug 920377 part.11 Get rid of nsScrollPortEvent r=roc 2013-09-27 15:20:56 +09:00
Masayuki Nakano
27e96ea5aa Bug 920377 part.10 Get rid of nsScrollAreaEvent r=roc 2013-09-27 15:20:56 +09:00
Masayuki Nakano
085e2faeda Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
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