Jim Mathies
c38d13d5b2
Bug 1137944 - Add support for hiding plugin windows during async dom scroll operations managed in the content process. r=roc
2015-10-06 14:23:24 -05:00
Arpad Borsos
436f27889c
Bug 1208985 - Use height for scroll-snap-points-y percentage values; r=kip
...
The CSS scroll snapping specification defines percentages to be
`relative to same axis of the padding-box of the scroll container`,
which means that y-axis should be based no height, not width.
2015-09-28 14:58:56 +02:00
Kartikaya Gupta
0f616e17df
Bug 1195431 - Ensure that IsScrollingActive returns true even when called before mShouldBuildScrollableLayer has been set. r=tn
2015-09-23 09:34:41 -04:00
Kartikaya Gupta
5bcfabab22
Bug 1195431 - Extract a helper function to determine if the scrollframe will build a scrollable layer. r=tn
2015-09-23 09:34:41 -04:00
Kartikaya Gupta
95a72548e2
Bug 1195431 - Extract a couple of helper functions. r=tn
2015-09-23 09:34:41 -04:00
Nicholas Nethercote
830cf484e9
Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
...
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)
2015-09-09 21:07:07 -07:00
Kartikaya Gupta
3043e6e6e7
Bug 1204535 - Hoist out the code to initially compute usingDisplayPort. r=tn
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
d164f6d3fd
Bug 1204535 - Relocate comment to go with the line of code it's commenting. r=tn
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
b84db21e2e
Bug 1204535 - Rename usingDisplayport to usingDisplayPort for consistency. r=tn
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
9f7dc6728c
Bug 1204535 - Collapse redundant conditional block. r=tn
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
adb857cac3
Bug 1204535 - Flatten conditional structure one level. r=tn
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
2d10888c20
Bug 1204535 - Remove no-op code. r=tn
2015-09-15 16:09:35 -04:00
Matt Woodrow
d44799029a
Bug 1202029 - Use the containing block for determining perspective for transformed elements. r=dbaron
2015-09-14 14:17:40 -04:00
Kartikaya Gupta
17d6ba4cbf
Bug 1201529 - Ensure that zoomable scrollframes return true from WantAsyncScroll(). r=botond
2015-09-11 21:58:16 -04:00
Masayuki Nakano
bb51a09846
Bug 895274 part.217 Rename NS_SCROLLEDAREACHANGE to eScrolledAreaChanged r=smaug
2015-09-12 01:19:27 +09:00
Masayuki Nakano
37ab7e510c
Bug 895274 part.214 Rename NS_SCROLLPORT_UNDERFLOW to eScrollPortUnderflow r=smaug
2015-09-12 01:19:27 +09:00
Masayuki Nakano
9162c56b9d
Bug 895274 part.213 Rename NS_SCROLLPORT_OVERFLOW to eScrollPortOverflow r=smaug
2015-09-12 01:19:27 +09:00
Markus Stange
236500b79f
Bug 1181135 - Copy DisplayItemClips in order to avoid dangling pointers. r=tn
2015-09-09 19:08:03 -04:00
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