Markus Stange
1bd1aadccc
Bug 1016035 - Make the threshold in AxisPhysicsMSDModel::IsFinished controllable by the caller. r=kip
2015-08-04 16:11:37 -04:00
Masayuki Nakano
00917e86c7
Bug 895274 part.17 Rename NS_SCROLL_EVENT to eScroll r=smaug
2015-08-29 08:58:28 +09:00
Matt Woodrow
149f73228a
Bug 1187432 - Avoid scheduling main-thread paints for scrolls handled by apz. r=tn
2015-08-07 15:37:56 -04:00
Timothy Nikkel
346d13fc28
Bug 1189010. In ScrollFrameHelper::BuildDisplayList decide if we are building a scrollable layer before we call AppendScrollPartsTo because it needs this information. r=mstange
...
AppendScrollPartsTo finds or creates a scroll id for the current scroll frame if IsMaybeScrollingActive() is true (otherwise it uses the null scrollid). IsMaybeScrollingActive() looks at mShouldBuildScrollableLayer, which we compute after the first call to AppendScrollPartsTo in ScrollFrameHelper::BuildDisplayList.
This means that on the first paint with a displayport set (or even if we create a displayport is ScrollFrameHelper::BuildDisplayList) we wouldn't layerize the scroll thumb in nsSliderFrame::BuildDisplayListForChildren because it looks for the current scroll id set on the display list builder. On subsequent paints this would be corrected so it caused reftest failures.
2015-07-29 14:45:57 -05:00
Jonathan Kew
f461fbbfda
Bug 1172450 - Size and position the dropdown arrow properly in vertical writing modes. r=smontagu
2015-07-27 16:52:12 +01:00
Robert O'Callahan
1d669a4854
Bug 1172239. Make vertically-resizing scrollframes reflow their percent-height descendants if necessary, and remove nsChangeHint_NeedDirtyReflow for height changes. r=bz
2015-07-17 17:08:54 +12:00
Boris Zbarsky
75fc04334d
Bug 1177819. Replace the warning about anon content being passed into frame construction with an assert plus whitelisting of the known-OK cases. r=dholbert
2015-07-23 11:51:09 -04:00
Jonathan Kew
7e8bda5a72
Bug 1131451 part 1 - Replace containerWidth with containerSize in logical-coordinate classes and APIs, frame classes, etc. r=dholbert
2015-07-16 10:07:57 +01:00
Benoit Girard
9830991324
Bug 1103106 - Change will-change to be first-come, first-served. r=roc
2015-07-06 16:32:53 -04:00
Markus Stange
33793d8676
Bug 1178745 - Add an nsIScrollableFrame API for getting the scroll clip. r=roc
2015-07-02 16:42:10 -04:00
Markus Stange
5d72e01de8
Bug 990974 - Treat carets in async scrolled scrollframes differently from non-caret content. r=roc
...
This makes those caret display items not share a layer with any other display items, and uses a different async scroll frame clip for that layer.
2015-07-02 15:02:34 -04:00
Markus Stange
13dceaa237
Bug 990974 - Add a flag to ComputeFrameMetrics so that a different clip can be returned for the caret and non-caret content. r=roc
2015-07-02 13:42:34 -04:00
Markus Stange
5b6ca0437f
Bug 990974 - When using display ports, don't clip the painted contents to the content box clip. r=roc
...
Store the content box clip on mAncestorClip, and store a different clip for the caret on mAncestorClipForCaret.
In a future patch, those clips will be selectively applied to the right layers.
2015-07-03 14:06:15 -04:00
Markus Stange
9addc47aff
Bug 990974 - Slightly change how the caret clip works. r=roc
...
Instead of looking at the caret's rect and determining whether we should clip it
to the real content box clip or not at all, we just always clip it, but to a
slightly bigger rect. In the cases that the caret was completely visible before,
it'll still be completely visible with this change. However, in the cases that we
did decide to clip before this patch, the result can be slightly different now:
Before this patch, whenever the caret was partially clipped, it was partially
clipped to the true content clip rect, but with this patch, the caret can be
partially clipped to the slightly larger clip rect.
2015-07-03 14:02:09 -04:00
Markus Stange
412e90a3dc
Bug 1148582 - Include the rounded clip of the async scrolled scroll frame in its mAncestorClip.
2015-06-22 01:38:23 -04:00
David Anderson
2511c6ca59
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
2015-06-21 12:27:31 -04:00
Markus Stange
3000f6c8eb
Back out bug 1148582 for static analysis bustage.
2015-07-01 01:20:59 -04:00
Markus Stange
e870c3c640
Bug 1148582 - Include the rounded clip of the async scrolled scroll frame in its mAncestorClip.
2015-06-22 01:38:23 -04:00
David Anderson
38a60e1411
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
2015-06-21 12:27:31 -04:00
Daniel Holbert
4bdbe39881
Bug 1177925: Use range-based "for" loops for nsFrameList iteration, in various places in layout. r=tn
2015-06-29 13:02:21 -07:00
Jonathan Kew
a45bc02094
Bug 1174507 - Replace the frame flag CONTAINS_RELATIVE_HEIGHT with CONTAINS_RELATIVE_BSIZE, and adjust callsites appropriately. r=dholbert
2015-06-18 07:33:50 +01:00
Botond Ballo
5e7ed63658
Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
2015-06-08 16:01:26 -04:00
Simon Montagu
149fd5095d
Bug 1113206: Make nsComboboxControlFrame and nsListControlFrame use logical coordinates and support vertical writing modes - patch by smontagu with additions by jfkthame. r=jfkthame,smontagu
2015-02-08 07:31:14 -08:00
Simon Montagu
e6de936024
Bug 1147834: Use abstract coordinates in nsHTMLReflowState, r=jfkthame
2015-06-04 03:43:02 -07:00
David Anderson
e4bdc9d5b3
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-06-04 16:51:10 -04:00
David Anderson
f4ad77bc5b
Fix asynchronously scrolling containerful subframes. (bug 1148582 part 6.1, r=tn)
2015-06-02 16:34:46 -07:00
David Anderson
5db350a434
Use the correct scrollframe clips with nested scrollframes in APZ. (bug 1148582 part 6, r=botond)
2015-06-02 16:34:33 -07:00
Timothy Nikkel
b31e439275
Bug 1148582. Part 3 follow up. Properly test if a scroll frame uses async scrolling when determining if it needs its clip put on its layer. r=mstange
...
Android (without APZ) only uses async scrolling on the root scroll frame of the root content doc.
2015-05-31 17:28:44 -05:00
Markus Stange
d19b3cb583
Bug 1164227 - Don't allow invalid region simplification to invalidate unchanged scrolled contents. r=roc
2015-05-28 17:39:34 -04:00
Wes Kocher
536269b176
Backed out changeset 93943a21b457 (bug 1148582) for android r6 orange CLOSED TREE
2015-05-26 16:12:17 -07:00
David Anderson
987b54de00
Follow-up fix to bug 1148582 part 3, r=tn.
2015-05-26 14:13:03 -07:00
David Anderson
2c86ceb8e4
Clip async scrollframes based on the displaylist clip, not the composition bounds. (bug 1148582 part 4, r=tn)
2015-05-26 12:40:41 -07:00
David Anderson
fb219f8256
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
1db2259a66
Don't clip in ComputeFrameMetrics if the scrollframe won't be layerized. (bug 1148582 part 2, r=tn)
2015-05-26 12:39:34 -07:00
David Anderson
6383725210
Use Maybe to communicate the APZ scrollframe clip. (bug 1148582 part 1, r=mstange)
2015-05-26 12:39:29 -07:00
Simon Montagu
a0cb8aabfb
Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn
2015-05-12 01:49:25 -07:00
Timothy Nikkel
3071c9e956
Bug 1133905. Make layout place scrollbars at the scroll position clamping scrollport size when one is set so that scrollbars are positioned properly on b2g. r=mstange
2015-05-05 14:31:51 -05:00
Kartikaya Gupta
1ae2974b9a
Bug 1157579 - Make sure the visual scroll port size includes the area of scrollbars when used in TryLayout. r=tn
2015-05-04 10:17:26 -04:00
Markus Stange
6d6e33904f
Bug 1147194 - Do scroll info layer hoisting when building the display list. r=tn
2015-04-30 14:54:48 -04:00
Timothy Nikkel
6e50baaf04
Bug 1159056. Fix typo.
2015-04-29 19:16:34 -05:00
Timothy Nikkel
3b59372fbf
Bug 1159056. Don't store a value in CSS pixels in a variable with type nscoord in ScrollFrameHelper::SetCoordAttribute. r=dholbert
2015-04-27 19:34:39 -05:00
Kartikaya Gupta
8fdc85da7a
Bug 1154478 - Really force-enable the event-regions code when APZ is enabled. r=tn
2015-04-22 10:16:27 -04:00
Timothy Nikkel
6d7e704cf4
Backout 3c3337ed60a1 (bug 1139306) for causing bug 1156918.
2015-04-21 15:09:48 -05:00
Simon Montagu
49ad339965
Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn
2015-04-21 11:32:01 +03:00
Timothy Nikkel
e30d596402
Bug 1156598. Remove old, dead scroll layer item code. r=mstange
2015-04-20 22:48:10 -05:00
Danilo Cesar Lemes de Paula
aff0cd1ce8
Bug 1146024 - Fix up input routing for APZ on Fennec. r=kats
...
nsWindow::ProcessUntransformedAPZEvent is the method that
deals with APZ Input, so it should receive it's events
2015-04-20 16:16:17 -04:00
Timothy Nikkel
b4f202eb8d
Bug 1147038. Use the correct clip for root scroll frames in root content documents. r=mstange
...
Normally a document would size itself to the size of it's "container". If the document is a subdocument it will use the size of the iframe. If it's a root document it will use the size of the widget it is in. Overriding the viewport breaks this link, the document is now sized to whatever size the last call to nsIDOMWindowUtils::SetCSSViewport had. Of course this would produce a weird display on screen so we use this in conjunction with setting a resolution on the document. This means that the layout viewport (the size of the root frame and also approximately mScrollPort) is different from the visual viewport (what's visible on screen). The visual viewport is the composition bounds.
2015-04-09 23:48:00 -05:00
Ryan VanderMeulen
6c2d307fe4
Backed out changeset 8882af540247 (bug 1029451) for intermittent timeouts in the newly-added test.
2015-04-06 11:22:00 -04:00
Tom Tromey
29a5dce826
Bug 1029451 - Preserve mIsSynthesizedForTests on mouse events. r=ehsan
2015-04-03 08:17:00 -04:00
David Anderson
35c0fd3b89
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