gecko-dev/layout/generic
Kartikaya Gupta 0858e31ab6 Bug 1268195 - When restoring a scroll position outside of incremental load, don't keep trying in a loop - just do it once and stop. r=tnikkel
It may be that when the frame is reconstructed after load, the frame gets shorter,
and the old scroll position cannot be restored, because it is out of bounds. In
such a case, we don't want to keep mRestorePos tracking the old scroll position,
because it can get incorrectly applied on a future frame reconstruction. Instead,
for scroll position restorations during frame reconstructions, we just try the
restore once and then clear mRestorePos.

MozReview-Commit-ID: BHoJHz0mGmf
2016-04-29 23:06:18 -04:00
..
crashtests Bug 1030952 part 4: For flex items with an aspect ratio, stomp on reflow state's main size *and cross size* in final reflow. r=mats 2016-04-28 20:17:03 -07:00
test Bug 1263909 - Enhance test_bug756984.html to cover edit actions. r=masayuki 2016-04-13 10:35:00 +02:00
AsyncScrollBase.cpp Bug 1199468 - Create prefs for the smooth scroll timing function shape. r=kats 2016-01-07 21:09:18 +01:00
AsyncScrollBase.h Add APZ support for mousewheel.acceleration prefs. (bug 1214170 part 1, r=kats) 2015-12-01 13:45:49 -08:00
broken-image.png
DetailsFrame.cpp Bug 1258657 Part 2 - Remove SummaryFrame. r=bz 2016-04-13 13:34:14 +08:00
DetailsFrame.h Bug 591737 - Construct details and summary in nsCSSFrameConstructor. r=bz 2016-02-02 17:39:49 +08:00
folder.png
frame-graph.py
FrameChildList.cpp Bug 1064843 part 6 - Add backdrop frame list. r=dholbert 2016-01-28 10:11:00 +11:00
FrameChildList.h Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
jar.mn
JustificationUtils.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
loading-image.png
MathMLTextRunFactory.cpp Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki 2016-04-21 18:58:59 +01:00
MathMLTextRunFactory.h Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame. 2015-12-15 13:56:41 -08:00
moz.build Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond 2016-04-21 01:22:10 -07:00
nsAbsoluteContainingBlock.cpp Bug 1236920 - remvoed usless null check on aKidFrame in order to silence Coveirty warning. r=mwoodrow 2016-01-05 06:20:00 +01:00
nsAbsoluteContainingBlock.h Bug 1151243 part 2 - [css-grid] Add a eIsGridContainerCB flag for nsAbsoluteContainingBlock::Reflow to trigger Grid specific code (rather than checking GetType()). r=dholbert 2015-12-22 23:03:16 +01:00
nsAtomicContainerFrame.h Bug 1064843 part 1 - Make nsImageFrame inherit nsContainerFrame. r=dholbert 2016-01-28 10:11:00 +11:00
nsAutoCopyListener.h
nsBackdropFrame.cpp Bug 1247082 - Suppress rendering of nsBackdropFrame for VR content r=dholbert 2016-02-12 11:14:05 -08:00
nsBackdropFrame.h Bug 1064843 part 8 - Add frame class for backdrop frame. r=dbaron 2016-01-28 10:11:00 +11:00
nsBlockDebugFlags.h
nsBlockFrame.cpp Bug 1235321 - Enable using line cursor to optimize reflowing absolute frames. r=bz 2016-04-13 13:42:28 +10:00
nsBlockFrame.h Bug 1235321 - Enable using line cursor to optimize reflowing absolute frames. r=bz 2016-04-13 13:42:28 +10:00
nsBlockReflowContext.cpp Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats 2016-01-29 22:42:14 +08:00
nsBlockReflowContext.h 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
nsBlockReflowState.cpp Bug 1231256 (part 6) - Remove unused parameter from Damage functions. r=roc. 2015-12-07 15:23:34 -08:00
nsBlockReflowState.h Bug 538194 patch 1 - Refactor some code dealing with fitting block formatting contexts around floats into separate functions. r=roc 2015-08-02 21:03:09 -07:00
nsBRFrame.cpp Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame 2016-03-17 13:55:48 +08:00
nsBulletFrame.cpp Bug 645647 part 1 - Don't let empty bullet frames block suppressing white-space in intrinsic size calculations. r=dholbert 2016-04-14 01:32:12 +02:00
nsBulletFrame.h Bug 645647 part 1 - Don't let empty bullet frames block suppressing white-space in intrinsic size calculations. r=dholbert 2016-04-14 01:32:12 +02:00
nsCanvasFrame.cpp Bug 1265256 - Use the canvas positioning area when computing the background-attachment:fixed rect for canvas frames. r=mstange 2016-04-22 17:50:11 +12:00
nsCanvasFrame.h Bug 735857 - Treat background-attachment:fixed as background-attachment:scroll if it's on a non-root element affected by a transform. r=mstange 2016-04-25 17:20:13 -04:00
nsColumnSetFrame.cpp Bug 1064843 part 5 - Ensure frames behave properly for unknown child list id passed into SetInitialChildList. r=dholbert 2016-01-28 10:11:00 +11:00
nsColumnSetFrame.h Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats 2016-01-29 22:42:14 +08:00
nsContainerFrame.cpp Bug 1053986 - Rename nsIFrame::GetMaxSize to GetXULMaxSize, and related methods. r=dholbert 2016-04-20 21:28:31 -07:00
nsContainerFrame.h Bug 1263773 - Mark a bunch of classes in layout as MOZ_RAII. r=dholbert 2016-03-28 13:34:26 +01:00
nsDirection.h
nsFirstLetterFrame.cpp Bug 1268404 - Part 1: Split out ResolveStyleForText from ResolveStyleForNonElement and pass in the text node. r=bholley 2016-04-29 14:01:44 +10:00
nsFirstLetterFrame.h
nsFlexContainerFrame.cpp Bug 1030952 part 4: For flex items with an aspect ratio, stomp on reflow state's main size *and cross size* in final reflow. r=mats 2016-04-28 20:17:03 -07:00
nsFlexContainerFrame.h Bug 1262049 part 5: Honor -webkit-box-orient & -webkit-box-direction when determining axes for a -webkit-box flexbox. r=mats 2016-04-20 16:43:24 -07:00
nsFloatManager.cpp Bug 1145218 followup - Properly parenthesize macro argument. No review. 2016-03-14 10:27:05 -07:00
nsFloatManager.h Bug 1253094, part 5 - Stop using DebugOnly for class/struct members in layout/. r=mats 2016-02-26 15:52:07 +00:00
nsFontInflationData.cpp Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-02-02 17:36:31 +02:00
nsFontInflationData.h
nsFrame.cpp Bug 623432 part 3 - Check nsFrameSelection::GetDragState() earlier to optimize away some more expensive calls. r=tn 2016-04-26 14:43:55 +02:00
nsFrame.h Bug 1053986 - Rename nsBox::DoLayout to DoXULLayout. r=dholbert 2016-04-20 21:28:35 -07:00
nsFrameIdList.h Bug 1258657 Part 2 - Remove SummaryFrame. r=bz 2016-04-13 13:34:14 +08:00
nsFrameList.cpp Bug 1203766 - Part 1: Generate nsPresArena::ObjectIDs with a preprocessor-included file. r=bzbarsky 2015-09-17 12:08:19 +10:00
nsFrameList.h Bug 1227927 Part 4 - Add comment to nsFrameList::GetLength() to warn it's O(n). r=mats 2016-01-29 22:42:15 +08:00
nsFrameSelection.h Bug 1238137 - Telemetry pings for main thread scrolling to bring the caret into view after moving it in response to keyboard input. r=ehsan 2016-02-03 20:36:24 -05:00
nsFrameSetFrame.cpp Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug 2016-04-18 23:09:02 +09:00
nsFrameSetFrame.h Bug 1219903 - use UniquePtr<T[]> instead of delete[] calls in layout/generic/; r=dholbert 2015-10-29 16:16:13 -04:00
nsFrameState.cpp Bug 1144096 part 5 - [css-grid] Create a couple of Grid container frame bits. r=dholbert 2016-03-11 17:39:26 +01:00
nsFrameState.h Bug 1265624 - Remove unnecessary compiler version check for MSVS 2010 in nsFrameState.h. r=heycam 2016-04-17 17:09:32 -07:00
nsFrameStateBits.h Bug 1157546 - Replace the image visibility API with a more general API that tracks visibility for any kind of frame. r=mstange 2016-03-25 14:49:43 -07:00
nsFrameUtil.cpp
nsGfxScrollFrame.cpp Bug 1268195 - When restoring a scroll position outside of incremental load, don't keep trying in a loop - just do it once and stop. r=tnikkel 2016-04-29 23:06:18 -04:00
nsGfxScrollFrame.h Bug 1268195 - When restoring a scroll position outside of incremental load, don't keep trying in a loop - just do it once and stop. r=tnikkel 2016-04-29 23:06:18 -04:00
nsGridContainerFrame.cpp Bug 1267555 part 1 - [css-grid] Make grid-aligned abs.pos. descendants that span from 'auto' to the first/last line stretch to the outer edge of the first/last track respectively. r=dholbert 2016-04-28 21:21:19 +02:00
nsGridContainerFrame.h Bug 1256040 - Follow-up fix for nsGridContainerFrame.h/cpp compile errors in non-unified build. r=me 2016-03-13 09:12:00 -04:00
nsHTMLCanvasFrame.cpp Bug 1172796 - Part 7: Implements ImageBitmapRenderingContext. r=roc r=smaug 2015-12-18 14:52:17 +08:00
nsHTMLCanvasFrame.h Bug 823483 patch 2 - Add frame state bit to indicate frame classes that do replaced-element-like sizing. r=dholbert 2016-02-04 09:43:02 +11:00
nsHTMLParts.h Bug 1258657 Part 2 - Remove SummaryFrame. r=bz 2016-04-13 13:34:14 +08:00
nsHTMLReflowMetrics.cpp
nsHTMLReflowMetrics.h Bug 1243125 - patch 0 - Relax overly-harsh writing mode assertions in nsReflowMetrics size accessors. r=dholbert 2016-02-03 09:24:24 +00:00
nsHTMLReflowState.cpp Bug 1263845. When a parent changes from auto height to non-auto height or vice versa, a percentage height non-block child needs to realize it's doing a vertical resize. r=dbaron 2016-04-26 12:56:26 -04:00
nsHTMLReflowState.h Bug 1151243 part 4 - Some code cleanup in nsHTMLReflowState::CalculateHypotheticalPosition, and make a few methods 'const' (idempotent patch). r=dholbert 2015-12-22 23:03:16 +01:00
nsIAnonymousContentCreator.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsIFrame.h Bug 1030952 part 3: Add a frame property to allow flex container to impose a different main-size on a flex item for aspect ratio calculations. r=mats 2016-04-28 20:17:02 -07:00
nsIFrameInlines.h Bug 1163435 part 1 - [css-grid][css-flexbox] Propagate an explicit CB width/height to the reflow state to resolve percentage lengths for grid items properly. Resolve percent against the size in the same axis for abs.pos. children too. r=dholbert 2015-11-03 21:45:33 +01:00
nsIFrameUtil.h
nsILineIterator.h
nsImageFrame.cpp Bug 1253995 - Display stale image in nsImageFrame if we have a new src but haven't decoded it yet - r=seth 2016-04-22 14:08:25 +01:00
nsImageFrame.h Bug 1253995 - Display stale image in nsImageFrame if we have a new src but haven't decoded it yet - r=seth 2016-04-22 14:08:25 +01:00
nsImageMap.cpp Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
nsImageMap.h Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
nsInlineFrame.cpp Bug 1264837 Part 7 - Remove nsInlineFrameBase r=dholbert 2016-04-18 14:22:22 +08:00
nsInlineFrame.h Bug 1264837 Part 7 - Remove nsInlineFrameBase r=dholbert 2016-04-18 14:22:22 +08:00
nsIntervalSet.cpp
nsIntervalSet.h
nsIObjectFrame.h
nsIPageSequenceFrame.h
nsIScrollableFrame.h Bug 1268195 - When restoring a scroll position outside of incremental load, don't keep trying in a loop - just do it once and stop. r=tnikkel 2016-04-29 23:06:18 -04:00
nsIScrollPositionListener.h
nsIStatefulFrame.h Bug 1249664 - Make stateful frames responsible for their own keys r=dbaron 2016-03-10 10:14:37 -05:00
nsLeafFrame.cpp Bug 1064843 part 3 - Make nsFormControlFrame inherit nsContainerFrame. r=dholbert 2016-01-28 10:11:00 +11:00
nsLeafFrame.h Bug 1064843 part 2 - Make nsSubDocumentFrame inherit nsContainerFrame. r=dholbert 2016-01-28 10:11:00 +11:00
nsLineBox.cpp Backed out changeset 427dc5894094 (bug 1197307) for bustage 2015-12-01 10:04:50 +01:00
nsLineBox.h Bug 1185399 (part 1) - Remove macros from pldhash.h. r=froydnj. 2015-07-20 17:06:38 -07:00
nsLineLayout.cpp Bug 1248708 - Part2.2: render -webkit-text-stroke property. r=jfkthame 2016-04-23 01:40:39 +08:00
nsLineLayout.h Bug 1225018 part 3 - Use font metrics of emphasis marks to compute required leading. r=jfkthame 2015-12-08 12:55:01 -05:00
nsPageContentFrame.cpp
nsPageContentFrame.h
nsPageFrame.cpp Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame 2016-03-17 13:55:48 +08:00
nsPageFrame.h Bug 1250674 - Don't print header/footer if larger than user defined margins. r=dbaron 2016-02-23 13:55:00 -05:00
nsPlaceholderFrame.cpp Bug 1053986 - Rename nsIFrame::GetMaxSize to GetXULMaxSize, and related methods. r=dholbert 2016-04-20 21:28:31 -07:00
nsPlaceholderFrame.h Bug 1053986 - Rename nsIFrame::GetMaxSize to GetXULMaxSize, and related methods. r=dholbert 2016-04-20 21:28:31 -07:00
nsPluginFrame.cpp Bug 1264837 Part 8 - Remove nsPluginFrameSuper. r=dholbert 2016-04-18 14:01:57 +08:00
nsPluginFrame.h Backout of 541618e4babd (bug 1263696) due to performance timeline test bustage 2016-04-28 14:48:14 -07:00
nsQueryFrame.h
nsRubyBaseContainerFrame.cpp Bug 645647 part 4 - Add an 'm' prefix to some members to follow our naming conventions. r=dholbert 2016-04-14 01:32:12 +02:00
nsRubyBaseContainerFrame.h Backed out 8 changesets (bug 1225018, bug 1229278, bug 1224013) for reftest failures on CLOSED TREE 2015-12-04 13:08:17 +11:00
nsRubyBaseFrame.cpp Bug 1264837 Part 9 - Remove nsRubyBaseFrameSuper. r=dholbert 2016-04-18 14:04:03 +08:00
nsRubyBaseFrame.h Bug 1264837 Part 9 - Remove nsRubyBaseFrameSuper. r=dholbert 2016-04-18 14:04:03 +08:00
nsRubyContentFrame.cpp Bug 1264837 Part 10 - Remove nsRubyContentFrameSuper. r=dholbert 2016-04-18 14:06:23 +08:00
nsRubyContentFrame.h Bug 1264837 Part 10 - Remove nsRubyContentFrameSuper. r=dholbert 2016-04-18 14:06:23 +08:00
nsRubyFrame.cpp Bug 1264837 Part 11 - Remove nsRubyFrameSuper. r=dholbert 2016-04-18 14:11:08 +08:00
nsRubyFrame.h Bug 1264837 Part 11 - Remove nsRubyFrameSuper. r=dholbert 2016-04-18 14:11:08 +08:00
nsRubyTextContainerFrame.cpp Bug 1264837 Part 12 - Remove nsRubyTextContainerFrameSuper. r=dholbert 2016-04-18 14:12:52 +08:00
nsRubyTextContainerFrame.h Bug 1264837 Part 12 - Remove nsRubyTextContainerFrameSuper. r=dholbert 2016-04-18 14:12:52 +08:00
nsRubyTextFrame.cpp Bug 1264837 Part 13 - Remove nsRubyTextFrameSuper. r=dholbert 2016-04-18 14:15:03 +08:00
nsRubyTextFrame.h Bug 1264837 Part 13 - Remove nsRubyTextFrameSuper. r=dholbert 2016-04-18 14:15:03 +08:00
nsSelection.cpp Bug 623432 part 1 - When the target scroll point is at the screen edge and no scrolling occured, then try to scroll 10px in that direction anyway. r=tn 2016-04-26 14:43:55 +02:00
nsSimplePageSequenceFrame.cpp Bug 1267209 - Convert nsLayoutUtils::PaintFrame flags to be an enum class. r=jfkthame 2016-04-27 12:01:54 +08:00
nsSimplePageSequenceFrame.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsSplittableFrame.cpp Bug 1144096 part 15 - [css-grid] Compute our pre-reflow logical skip sides and cache the result of ComputedLogicalBorderPadding() with that applied. r=dholbert 2016-03-11 17:39:26 +01:00
nsSplittableFrame.h Bug 1144096 part 15 - [css-grid] Compute our pre-reflow logical skip sides and cache the result of ComputedLogicalBorderPadding() with that applied. r=dholbert 2016-03-11 17:39:26 +01:00
nsSubDocumentFrame.cpp Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
nsSubDocumentFrame.h Bug 1264837 Part 14 - Remove nsSubDocumentFrameSuper. r=dholbert 2016-04-18 14:17:58 +08:00
nsTextFrame.cpp Bug 1266948 - text-decoration-color: currentcolor should not use value from -webkit-text-fill-color; r=jfkthame 2016-04-26 23:56:44 +08:00
nsTextFrame.h Bug 1248708 - Part2.2: render -webkit-text-stroke property. r=jfkthame 2016-04-23 01:40:39 +08:00
nsTextFrameUtils.cpp
nsTextFrameUtils.h
nsTextRunTransformations.cpp Bug 1097499 part 9 - Transform full-width characters to non-full-width correspondents for combined text. r=jfkthame 2016-04-22 09:18:41 +10:00
nsTextRunTransformations.h Bug 1097499 part 9 - Transform full-width characters to non-full-width correspondents for combined text. r=jfkthame 2016-04-22 09:18:41 +10:00
nsVideoFrame.cpp Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
nsVideoFrame.h Bug 1264837 Part 15 - Remove nsVideoFrameBase r=dholbert 2016-04-18 14:26:44 +08:00
nsViewportFrame.cpp Bug 1264837 Part 16 - Remove ViewportFrame::Super. r=dholbert 2016-04-18 14:32:45 +08:00
nsViewportFrame.h Bug 1264837 Part 16 - Remove ViewportFrame::Super. r=dholbert 2016-04-18 14:32:45 +08:00
RubyUtils.cpp Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats 2016-01-29 22:42:14 +08:00
RubyUtils.h Bug 1263773 - Mark a bunch of classes in layout as MOZ_RAII. r=dholbert 2016-03-28 13:34:26 +01:00
ScrollbarActivity.cpp Bug 1225137 - Avoid crash on some platforms if scrollbar fading is enabled and the duration is set to zero. r=spohl 2015-11-16 10:44:45 -05:00
ScrollbarActivity.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
ScrollSnap.cpp Bug 1219296 - Move the layout.css.scroll-snap.proximity-threshold pref to gfxPrefs, so it can be queried on the compositor thread. r=kats 2016-03-18 21:15:45 -04:00
ScrollSnap.h Bug 1219296 - Scroll snap directly in APZ instead of going through the main thread. r=kats 2016-03-28 18:36:02 -04:00
ScrollVelocityQueue.cpp Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats 2015-07-13 11:53:10 -04:00
ScrollVelocityQueue.h
Selection.h Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
SelectionChangeListener.h Bug 571294 - Part 1: Implement selection events behind the dom.select_events.enabled pref, r=smaug 2015-09-12 17:56:44 -04:00
StickyScrollContainer.cpp Bug 1230034 part 5 - Convert all frame properties which use DeleteValue and ReleaseValue as destructor to be typesafe. r=dbaron 2016-01-28 14:23:59 +11:00
StickyScrollContainer.h
TextOverflow.cpp Bug 1261578 - Part 4. Correct text overflow color; r=jfkthame 2016-04-19 17:10:17 +08:00
TextOverflow.h 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
Visibility.h Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond 2016-04-21 01:22:10 -07:00
VisibilityIPC.h Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond 2016-04-21 01:22:10 -07:00
WritingModes.h Bug 1122918 - Part 2 - Provide accessors that return logical 'float' and 'clear' values resolved to their physical equivalents. r=heycam 2015-09-18 16:25:14 +01:00