Timothy Nikkel
96fca396cf
Bug 1210578. Part 3. Create DecideScrollableLayer that encapsulates all logic to create display ports and build scrollable layers. r=mstange
...
For root scroll frames we need information about the async scrolling (or lack thereof) of the scroll frame before we get to ScrollFrameHelper::BuildDisplayList for the scroll frame. We need it in nsLayoutUtils::PaintFrame and nsSubdocumentFrame::BuildDisplayList. So we factor out all the code responsible for async scrolling decisions into one function we can call from all three places.
2015-10-12 15:21:49 -05:00
Kartikaya Gupta
6630a65ba4
Bug 1201529 - Ensure that zoomable scrollframes return true from WantAsyncScroll(). r=botond
...
--HG--
extra : commitid : 29B0WVGYfId
2015-09-11 21:58:16 -04:00
Markus Stange
04c661f71d
Bug 1181135 - Copy DisplayItemClips in order to avoid dangling pointers. r=tn
...
--HG--
extra : rebase_source : 8d0a077fb38d1c19cf1ef868403c6b3a3735346e
2015-09-09 19:08:03 -04:00
Jonathan Kew
4d081f1ac4
Bug 1172450 - Size and position the dropdown arrow properly in vertical writing modes. r=smontagu
2015-07-27 16:52:12 +01:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Markus Stange
c15627a716
Bug 1178745 - Add an nsIScrollableFrame API for getting the scroll clip. r=roc
...
--HG--
extra : rebase_source : 8f2b62b0ce23dcfece6984d89a774a96453ecb6e
extra : histedit_source : 586e99a17ecbb86dc243568cee1ebf1d24f37717
2015-07-02 16:42:10 -04:00
Markus Stange
77820dcba1
Bug 990974 - Add a flag to ComputeFrameMetrics so that a different clip can be returned for the caret and non-caret content. r=roc
...
--HG--
extra : rebase_source : a00358c3191c49c21ad2ad9b1e1a8d5d47285672
extra : histedit_source : 64aafcbf2d8fa32610fe8a30c916dbbe1b4f9283
2015-07-02 13:42:34 -04:00
David Anderson
55a0f8ee25
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
...
--HG--
extra : rebase_source : 9bf7a73b14e40972b3a5824b2f1344b7770ab789
extra : source : 745366787bcae737c0aec908554db2a3ec288908
2015-06-21 12:27:31 -04:00
Markus Stange
f1b62506d9
Back out bug 1148582 for static analysis bustage.
2015-07-01 01:20:59 -04:00
David Anderson
c29b4c6dfa
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
2015-06-21 12:27:31 -04:00
David Anderson
e11be639dd
Fix asynchronously scrolling containerful subframes. (bug 1148582 part 6.1, r=tn)
2015-06-02 16:34:46 -07:00
David Anderson
bb8d53f35f
Move the APZ scroll frame clip onto FrameMetrics. (bug 1148582 part 3, r=mstange,tn)
2015-05-26 12:40:24 -07:00
David Anderson
e5acec7e56
Use Maybe to communicate the APZ scrollframe clip. (bug 1148582 part 1, r=mstange)
2015-05-26 12:39:29 -07:00
Kearwood (Kip) Gilbert
d1823e40bc
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc
...
--HG--
extra : source : 3ed9d5170d1386e5922df6ca06765922db08968c
2015-03-25 11:40:31 -07:00
Wes Kocher
df05ff9297
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
398a89308c
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc
2015-03-25 11:40:31 -07:00
Botond Ballo
2eb9751320
Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
...
--HG--
extra : rebase_source : 18444e5f9304bbf9c2c14903be6aa4ebf8a08af3
extra : source : 60fe56e752d984a8d074af1bec1dfcd40a41e5f6
2015-03-06 18:07:59 -05:00
Carsten "Tomcat" Book
0a4da0c676
Backed out changeset fdd33ef9606e (bug 969250) for m5 test failures
2015-03-11 10:33:52 +01:00
Kearwood (Kip) Gilbert
bcb7c7d431
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v5 Patch). r=roc
...
--HG--
extra : rebase_source : df2b831d2cad8210b6c92122aa701fc21335ae6d
2015-03-03 17:40:00 +01:00
Kearwood (Kip) Gilbert
8d1fcc4892
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/ )
--HG--
extra : rebase_source : e100b6a2cbc00321d6d1083d12a99213e34d5f9d
2015-02-19 15:53:30 -08:00
Kearwood (Kip) Gilbert
5ded4eb336
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.
--HG--
extra : rebase_source : 261d1f1b03bb29f722d04e0c48b0212d1c69cd1b
2014-02-04 14:54:22 +13:00
Kartikaya Gupta
53bf04f021
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
Botond Ballo
9f93609fd6
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
Benoit Girard
4f2c7cdb80
Bug 961871 - Part 2: Refactor will-change scroll, pass through a nsDisplayListBuilder. r=mattwoodrow
2014-10-21 21:54:06 -04:00
Kartikaya Gupta
6a1b9bac86
Bug 1078316 - Tweaks for root-frame overlay scrollbars so they don't oscillate while panning around. r=botond,tn
2014-10-08 22:56:38 -04:00
Mason Chang
4b2df54aa2
Bug 1056340 - Clip viewport fixed position overflow to scroll frame. r=roc
2014-09-23 09:44:00 -04:00
Kearwood (Kip) Gilbert
5f59b02c90
Bug 1022825 - Implement Asynchronous Smooth Scrolling on Compositor Thread. r=kats
...
- Extended nsIScrollableFrame and nsGfxScrollFrame to return destination
of smooth scrolls which are to be animated on the compositor thread.
- Added apz.smooth_scroll_repaint_interval preference.
- Implemented AsyncPanZoomController::PanZoomState::SMOOTH_MSD_SCROLL state
and AsyncPanZoomController::SmoothScrollAnimation class to animate smooth
scroll animations on the compositor thread.
- Extended FrameMetrics to report requests for smooth scrolls to be animated
on the compositor thread and their corresponding destination positions.
- AsyncPanZoomController now checks FrameMetrics for requests to perform
smooth scrolling on the compositor thread. It will ensure that they
are cancelled as needed by mousewheel, touchpanel, keyboard, and
CSSOM-View instant scrolling DOM methods.
- The layout/generic/test/test_scroll_behavior.html mochitest has been
commented as depending on Bug 1062609 before being enabled for APZ.
2014-07-10 11:52:40 -07:00
Robert O'Callahan
bd45e1d4aa
Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow
...
--HG--
extra : rebase_source : 19593cafc17053d450905161fa7d4ce8721c58a0
2014-08-31 15:29:24 +12:00
Phil Ringnalda
a8940eb5c6
Backed out 3 changesets (bug 967844) for robopan bustage
...
Backed out changeset 6b53305f1c42 (bug 967844)
Backed out changeset dff3eb181f33 (bug 967844)
Backed out changeset 4d4b03442eaf (bug 967844)
2014-09-01 15:20:13 -07:00
Robert O'Callahan
83635319fd
Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow
...
--HG--
extra : rebase_source : d30d2af626038cc556fcd3add9a3876be2c58239
2014-08-31 15:29:24 +12:00
Miranda Emery
29c0f10b91
Bug 957445: Part 3 - combines nsIScrollbarOwner with nsIScrollbarMediator, r=mats
2014-02-14 19:40:53 +13:00
Miranda Emery
14dc1158ee
Bug 957445: Part 2 - nsHTML/XULScrollFrame implement nsIScrollbarMediator, r=mats
2014-02-05 14:33:18 +13:00
Kearwood (Kip) Gilbert
3bd3d5624a
Bug 1026023 - Part 4: Allow smooth scrolling to override momentum mouse wheel scroll events. r=mwoodrow
...
- When a smooth scroll is being processed on a frame, mouse wheel and trackpad
momentum scroll event updates will no longer cancel the SMOOTH or SMOOTH_MSD
scroll animations, enabling scripts that depend on them to be responsive
without forcing the user to wait for the fling animations to completely stop.
2014-07-15 16:13:00 +02:00
Kearwood (Kip) Gilbert
1453cb535f
Bug 1026023 - Part 3: Integrate MSD movement with nsGfxScrollFrame. r=mattwoodrow
...
- Added nsIScrollableFrame::ScrollMode::SMOOTH_MSD to differentiate
existing smooth scrolls used by keyboard and mousewheel events from the
CSSOM-View scroll-behavior's MSD motion scrolling.
- Implemented ScrollFrameHelper::AsyncSmoothMSDScroll, which takes the role
of ScrollFrameHelper::AsyncScroll when SMOOTH_MSD scrolls are requested.
- Implemented glue code to handle callbacks from AsyncSmoothMSDScroll and
to hand off velocity between the classes when one scroll animation is
interrupted by another.
2014-07-09 10:02:31 -07:00
Timothy Nikkel
2d4f5b7712
Bug 1002992. Part 6. Rename ExpandRect to ExpandToNearlyVisibleRect. r=addressingreviewcomment
2014-06-06 21:23:22 -05:00
Timothy Nikkel
ad28cfc802
Bug 1002992. Part 2. Handle display ports and ignore viewport scrolling for image visibility display lists the same way we do for painting display lists. r=mats
2014-06-06 21:23:20 -05:00
Eugen Sawin
219e6bff01
Bug 1002426 - Check resolution restore status via specialized flag. r=kats, r=tn
2014-05-12 19:26:53 +02:00
Eugen Sawin
2b1ba99bf2
Bug 1002426 - Check restore status before overriding zoom. r=kats
2014-05-05 23:29:20 +02:00
Eugen Sawin
8c4799afd5
Bug 611556 - Add persistent zoom history sessions. r=roc, r=snorp
2014-04-07 13:43:58 +02:00
Botond Ballo
d2d1bcdb54
Bug 982141 - Expose the logic used to decide whether a scrollable frame should be async scrollable. r=tn
...
--HG--
extra : rebase_source : 6ce26d8d54bbf75c79b10fd8a8dc449b0d417387
2014-03-12 16:20:26 -04:00
Ryan VanderMeulen
5dd9653c16
Backed out 6 changesets (bug 982141) for Windows and OSX bustage. CLOSED TREE
...
Backed out changeset 16540ab2d2cb (bug 982141)
Backed out changeset 2ad9ce9d904e (bug 982141)
Backed out changeset af219bb49c06 (bug 982141)
Backed out changeset ffe51d96e86e (bug 982141)
Backed out changeset 6642718ad3bb (bug 982141)
Backed out changeset 95b341d26f7b (bug 982141)
2014-04-10 15:27:42 -04:00
Botond Ballo
9ba6e09aab
Bug 982141 - Expose the logic used to decide whether a scrollable frame should be async scrollable. r=tn
...
--HG--
extra : rebase_source : 1e1c2c9377b7127683fe555450fcf2354934fe93
2014-04-10 14:42:58 -04:00
Kartikaya Gupta
3195471b3f
Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm
2014-02-05 17:43:20 -05:00
Kartikaya Gupta
9904e24f5a
Bug 961280 - Prevent the APZ repaint request from clobbering a layout-driven async scroll. r=tn
2014-01-28 17:54:59 -05:00
Kartikaya Gupta
4ad1847fb9
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
Ehsan Akhgari
3c5faf2f1e
Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc
2013-09-23 07:55:35 -04: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
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
Mats Palmgren
a030bc32af
Bug 898871 - Add more nsWeakFrame checks around scroll operations. r=roc
2013-08-08 22:04:59 +00:00
Simon Sapin
4d054e1c1d
Bug 483446 - CSS3 'background-attachment: local' support. r=roc
2013-07-23 09:22:58 -04:00