Commit Graph

1282 Commits

Author SHA1 Message Date
David Anderson
06bd2699a8 Factor the guts of AsyncScroll into a base helper class. (bug 1139220 part 2, r=kgilbert) 2015-04-01 23:17:22 -07:00
Markus Stange
df0f5cf6b2 Bug 1148022 - When frame metrics are attached to the container layer of the root scroll frame, make sure that its scroll frame is active. r=tn 2015-04-02 14:28:42 -04:00
Carsten "Tomcat" Book
237925da04 Backed out changeset 15b7c48af4c8 (bug 1139220) 2015-04-02 09:13:25 +02:00
Carsten "Tomcat" Book
9f085ecea0 Backed out changeset fce26111e6f0 (bug 1139220) 2015-04-02 09:13:20 +02:00
David Anderson
23de14ffe9 Use the main-thread key spline animation logic for Desktop APZ. (bug 1139220 part 3, r=kats,kgilbert) 2015-04-01 23:42:40 -07:00
David Anderson
27523792fc Factor the guts of AsyncScroll into a base helper class. (bug 1139220 part 2, r=kgilbert) 2015-04-01 23:17:22 -07:00
Ryan VanderMeulen
b79bcd74ef Bug 1145546 - Add missing nsBidiPresUtils.h include to nsGfxScrollFrame.cpp to fix non-unified bustage. r=jfkthame 2015-03-31 10:47:49 -04:00
Mats Palmgren
fe65991446 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 11:36:14 -04:00
Carsten "Tomcat" Book
1dadb1db1d Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks 2015-03-30 15:04:09 +02:00
Mats Palmgren
6258bed9a3 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 10:37:33 +00:00
Mats Palmgren
3f92be8fe8 Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc 2015-03-29 22:38:40 +00:00
Simon Montagu
a5e688c7b3 Bug 1145546: take auto-direction into account in GetScrolledRect, r=jfkthame 2015-03-26 14:02:35 +02:00
Kearwood (Kip) Gilbert
e20ff29bf9 Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc 2015-03-25 11:40:31 -07:00
Wes Kocher
b24a6dd7bc Backed out 2 changesets (bug 969250) on the other theory that it broke lots of tests, forcing a prolonged CLOSED TREE
Backed out changeset 3c1005c81e52 (bug 969250)
Backed out changeset 3ed9d5170d13 (bug 969250)
2015-03-25 14:46:47 -07:00
Kearwood (Kip) Gilbert
53c1d882e8 Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc 2015-03-25 11:40:31 -07:00
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Xidorn Quan
ff95153fca Backout a6dbd23da598 (bug 1139283) since it is currently not needed. 2015-03-20 15:12:17 +11:00
21c8b241ad Bug 1120705 - Part 1: Limit scrollbar button scrolls to one page per click. r=roc
- When using the scrollbar buttons to scroll a very small scroll frame,
  it is possible to scroll more than one page.  When this occurs, we
  now scroll by a page instead to maintain context between scrolls.
- When scrolling with scrollbar buttons, the
  "toolkit.scrollbox.verticalScrollDistance" and
  "toolkit.scrollbox.horizontalScrollDistance" were swapped,
  resulting in too much scrolling when scrolling vertically and too
  little scrolling when scrolling horizontally.  This has been fixed in
  ScrollFrameHelper::ScrollByLine.
2015-03-18 14:32:00 +01:00
Botond Ballo
c2cac95e8c Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow 2015-03-06 18:07:59 -05:00
Robert O'Callahan
62f9945941 Bug 1125767. Centralize code into nsStylePosition::IsFixedPosContainingBlock. r=mats
Also renames IsPositioned to IsAbsPosContainingBlock.
2015-03-12 16:21:01 +13:00
Botond Ballo
364cc65828 Bug 1130982 - With multi-FrameMetrics on APZ platforms, do not apply clips to scroll ports of frames other than the bottom-most one on the layout side. r=kats,mattwoodrow 2015-02-20 19:53:08 -05:00
Carsten "Tomcat" Book
084dc455f3 Backed out changeset fdd33ef9606e (bug 969250) for m5 test failures 2015-03-11 10:33:52 +01:00
Kearwood (Kip) Gilbert
c1456fb0f3 Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v5 Patch). r=roc 2015-03-03 17:40:00 +01:00
Xidorn Quan
9533554776 Bug 1139283 - Move some properties from nsStyleDisplay to nsStylePosition. r=dbaron
The moved properties are:
* clip
* transform-style
* transform-origin
* backface-visibility
* perspective
* perspective-origin
* will-change
2015-03-08 18:43:22 +11:00
dvander@alliedmods.net
1973744b9c Don't try to async scroll frames that have less than one pixel of scrollability. (bug 1126090 part 7, r=kats) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
5873d3e033 Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond) 2015-03-06 14:26:59 -08:00
Kearwood (Kip) Gilbert
89a2c1a5a1 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)
2015-02-19 15:53:30 -08:00
Kearwood (Kip) Gilbert
b8c03249f1 Bug 945584: Part 3 - Enable cancellation of OSX synthesized mousewheel scrolling events (v2 Patch),r=roc
- Mouse wheel events synthesized by OSX for momentum scrolling can now
  be interrupted by DOM triggered and CSS scroll snapping triggered scroll
  events for consistent behavior with the scrolling and fling gestures
  in the APZC.
2014-02-04 14:54:22 +13:00
Kearwood (Kip) Gilbert
17eac97452 Bug 945584: Part 2 - Add CSS scroll snapping attributes to ScrollbarStyles (v10 Patch),r=mstange
- ScrollbarStyles now carries additional variables to support new
  CSS scroll snapping attributes:
  - scroll-snap-type / scroll-snap-type-x / scroll-snap-type-y
  - scroll-snap-points-x / scroll-snap-points-y
  - scroll-snap-destination
  - (scroll-snap-coordinate does not apply to the scroll container)
- Simplified the constructor and operator== for ScrollbarStyles.
2014-02-04 14:54:22 +13:00
Kartikaya Gupta
65d1868963 Bug 1139153 - Rip out the unneeded layout.async-containerless-scrolling.enabled pref. r=tn 2015-03-05 06:04:03 -05:00
Ethan Lin
ec3b4c5c1e Bug 1125750 - Check the overflow region direction to avoid unnecesary reflow for scrollable frame. r=dbaron 2015-02-08 18:57:00 +01:00
David Anderson
f664088758 Inactive subframes-in-subframes add event regions to the wrong layer. (bug 1139213, r=tn) 2015-03-03 21:20:50 -08:00
Andrea Marchesini
40ecc85b89 Bug 1134280 - Get rid of Tag() - patch 2.7 - layout/generic - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Kartikaya Gupta
a47b517f92 Bug 990907 - Add a flag on nsIScrollableFrame to indicate if it is actively being scrolled by APZ. r=tn 2015-02-25 09:32:09 -05:00
Kartikaya Gupta
1fd608c7f7 Bug 1102427 - Ensure scroll parents of an active scrollframe are layerized. r=tn 2015-02-24 01:24:04 -08:00
David Anderson
ae1b3dac4a Make sure XUL windows have a top-level APZC. (bug 1130645, r=roc) 2015-02-12 17:49:10 -08:00
L. David Baron
c0fe258808 Back out changeset 6849669e696e (bug 1130645) for Android robocop failures.
The first failure in rc1 was:
TEST-UNEXPECTED-FAIL | testAxisLocking | PaintExpecter - blockUtilClear timeout
and the first failure in rc2 (API9) or rc3 (API11) was:
TEST-UNEXPECTED-FAIL | testPanCorrectness | PaintExpecter - blockUtilClear timeout
2015-02-16 18:22:56 +13:00
David Anderson
bdaed73f96 Make sure XUL windows have a top-level APZC. (bug 1130645, r=roc) 2015-02-12 17:49:10 -08:00
David Anderson
cfade247e1 Remove apz.subframe.enabled and assume it is always true. (bug 1128761, r=kats) 2015-02-03 15:02:04 -08:00
Kartikaya Gupta
d00963ed70 Bug 1124452 - Make it work without containerless-root, too. r=tn 2015-01-28 13:28:28 -05:00
David Anderson
077e04d5dc Fix classic scrollbars getting occluded with containerless scrolling. (bug 1100756, r=roc) 2015-01-13 23:55:17 -08:00
Botond Ballo
70e324a117 Bug 1076241 - Add an API for setting a resolution on a document and scaling it by that amount. r=kats,tn 2015-01-02 20:06:14 -05:00
Ehsan Akhgari
45e11ebec7 Bug 1118427 - Mark virtual overridden functions as MOZ_OVERRIDE in layout; r=roc 2015-01-07 10:07:36 -05:00
Simon Montagu
aba410ebbb Bug 1079154 patch 5: convert callers of ApplyRelativePosition, ReflowChild and FinishReflowChild in layout/generic to the logical versions, r=jfkthame 2015-01-06 23:10:07 -08:00
Mats Palmgren
6e2b90ea60 Bug 1116753 - Remove the nsIPresShell* param from remaining frame ctors that still have it. r=roc 2015-01-06 09:27:56 +00:00
Mats Palmgren
055fe56a7c Bug 1109571 part 3 - Implement table caption specific code for ComputeAutoSize(), GetCorrectedParent() (for getting the style parent frame) and AccessibleType(). r=roc 2014-12-26 07:21:32 +00:00
Markus Stange
a516581a1f Bug 1101635 - Enable tiling on 10.6. r=jrmuizel f=milan 2014-12-19 14:48:33 -05:00
David Anderson
aa28e5e029 Allow containerless scrolling for root scroll frames, too. (bug 1076192, r=tn) 2014-12-17 15:37:28 -08:00
Kartikaya Gupta
531bbe885e Bug 1107606 - Ensure that setting a smooth scroll while APZ is enabled activates the layer. r=tn,kip 2014-12-05 00:04:39 -08:00
Mats Palmgren
a5185c3fee Bug 1107353 - Wallpaper a null-pointer crash in AsyncScrollCallback for now. r=kip 2014-12-04 21:26:26 +00:00