gecko/layout/generic
Robert O'Callahan 4762b4de2c Bug 810470. Part 8: Limit the BasicLayers background-caching optimization to cases where the destination context has an integer translation only, and snap the image rectangle. r=mattwoodrow
Previous patches in this bug enabled the nsDisplayCanvasBackground
background-caching optimization for the test 402807-1.html. That exposed
an existing bug where we don't snap the background image to pixel
boundaries when drawing through that path. This patch fixes it.
This patch also stops the IsSingleFixedPositionImage path from using
mDestRect, returning the rect as an out-parameter instead.

--HG--
extra : rebase_source : b7a496dfc7584dd8c73cddd0809fc5aa31992d53
2012-11-14 17:35:18 -08:00
..
crashtests Bug 804089: Call DidReflow() after "measuring" reflow of flex item, to clear any intermediate state before our *real* ReflowChild() call. r=dbaron 2012-11-11 10:53:57 -08:00
test Bug 703241. Part 3: nsLayoutUtils::GetTransformToAncestor should handle the case where aAncestor == aFrame. r=matspal 2012-10-17 16:13:24 +13:00
broken-image.png
folder.png
frame-graph.py
frame-verify.js
FrameChildList.cpp
FrameChildList.h
jar.mn
loading-image.png
Makefile.in Bug 799407: Turn on FAIL_ON_WARNINGS under layout/generic r=roc 2012-10-14 21:28:23 -04:00
nsAbsoluteContainingBlock.cpp Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert 2012-11-13 22:47:33 -08:00
nsAbsoluteContainingBlock.h
nsAutoCopyListener.h
nsBlockDebugFlags.h
nsBlockFrame.cpp Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert 2012-11-13 22:47:33 -08:00
nsBlockFrame.h Bug 685012 - Implement page-break-inside:avoid in layout. r=fantasai,sr=roc 2012-11-08 17:09:38 +01:00
nsBlockReflowContext.cpp Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert 2012-11-13 22:47:33 -08:00
nsBlockReflowContext.h
nsBlockReflowState.cpp Bug 685012 - Implement page-break-inside:avoid in layout. r=fantasai,sr=roc 2012-11-08 17:09:38 +01:00
nsBlockReflowState.h
nsBRFrame.cpp bug 542039 - accessible object types r=surkov, roc 2012-09-28 17:53:44 -04:00
nsBulletFrame.cpp Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-12 12:11:23 -04:00
nsBulletFrame.h Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-12 12:11:22 -04:00
nsCanvasFrame.cpp Bug 810470. Part 8: Limit the BasicLayers background-caching optimization to cases where the destination context has an integer translation only, and snap the image rectangle. r=mattwoodrow 2012-11-14 17:35:18 -08:00
nsCanvasFrame.h Bug 810470. Part 6: Rename nsDisplayBackground to nsDisplayBackgroundImage. r=mattwoodrow 2012-11-09 18:14:59 -05:00
nsColumnSetFrame.cpp Bug 809533, patch 2: Don't null-check inside NS_New*Frame. r=roc 2012-11-07 11:55:53 -08:00
nsContainerFrame.cpp Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert 2012-11-13 22:47:33 -08:00
nsContainerFrame.h Bug 806056 - Make nsContainerFrame destroy abs/fixed pos. child frames unless a derived class already did so. Assert that there are no abs/fixed pos. child frames in nsFrame::DestroyFrom(). r=roc 2012-11-02 01:52:59 +01:00
nsFirstLetterFrame.cpp Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert 2012-11-13 22:47:33 -08:00
nsFirstLetterFrame.h
nsFlexContainerFrame.cpp Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert 2012-11-13 22:47:33 -08:00
nsFlexContainerFrame.h Bug 806056 - Make nsContainerFrame destroy abs/fixed pos. child frames unless a derived class already did so. Assert that there are no abs/fixed pos. child frames in nsFrame::DestroyFrom(). r=roc 2012-11-02 01:52:59 +01:00
nsFloatManager.cpp
nsFloatManager.h
nsFontInflationData.cpp Bug 795313: Modify order of conditionals in UpdateFontInflationDataWidthFor() for performance enhancements. [r=dbaron] 2012-09-28 14:38:33 -05:00
nsFontInflationData.h
nsFrame.cpp Bug 810470. Part 6: Rename nsDisplayBackground to nsDisplayBackgroundImage. r=mattwoodrow 2012-11-09 18:14:59 -05:00
nsFrame.h Bug 810470. Part 6: Rename nsDisplayBackground to nsDisplayBackgroundImage. r=mattwoodrow 2012-11-09 18:14:59 -05:00
nsFrameIdList.h Bug 666041 patch 7: implementation of flex container class for CSS3 flexbox. r=dbaron 2012-09-29 23:38:46 -07:00
nsFrameList.cpp
nsFrameList.h
nsFrameSelection.h
nsFrameSetFrame.cpp Bug 809533, patch 2: Don't null-check inside NS_New*Frame. r=roc 2012-11-07 11:55:53 -08:00
nsFrameSetFrame.h
nsFrameUtil.cpp
nsGfxScrollFrame.cpp Bug 810470. Part 3: Remove code for invalidating background-attachment:fixed content when scrolling. r=mattwoodrow 2012-11-09 18:14:14 -05:00
nsGfxScrollFrame.h Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats 2012-11-14 22:40:17 -08:00
nsHTMLCanvasFrame.cpp Bug 811173. Part 2: Add other cases for nsDisplayItems that snap their bounds. r=mattwoodrow 2012-11-13 11:56:47 -08:00
nsHTMLCanvasFrame.h bug 542039 - accessible object types r=surkov, roc 2012-09-28 17:53:44 -04:00
nsHTMLParts.h
nsHTMLReflowMetrics.cpp
nsHTMLReflowMetrics.h
nsHTMLReflowState.cpp Bug 666041 patch 8: Add special handling for "min-width: auto" value on flex items. r=dbaron 2012-09-29 23:38:46 -07:00
nsHTMLReflowState.h Bug 666041 patch 6.5: Add flag to nsHTMLReflowState & ComputeSize for measuring auto height. r=dbaron 2012-09-29 23:38:46 -07:00
nsIAnonymousContentCreator.h
nsIFrame.h Bug 810470. Part 2: Change nsDisplayBackground invalidation to store and compare the background positioning rect. r=mattwoodrow 2012-11-08 10:05:32 -05:00
nsIFrameUtil.h
nsILineIterator.h
nsImageFrame.cpp Bug 810876. Don't double-count the size of our placeholder when determining the overflow area for an image frame. r=mattwoodrow 2012-11-14 10:05:41 -08:00
nsImageFrame.h Bug 811173. Part 2: Add other cases for nsDisplayItems that snap their bounds. r=mattwoodrow 2012-11-13 11:56:47 -08:00
nsImageMap.cpp
nsImageMap.h
nsInlineFrame.cpp Bug 806056 - Make nsContainerFrame destroy abs/fixed pos. child frames unless a derived class already did so. Assert that there are no abs/fixed pos. child frames in nsFrame::DestroyFrom(). r=roc 2012-11-02 01:52:59 +01:00
nsInlineFrame.h Bug 806056 - Make nsContainerFrame destroy abs/fixed pos. child frames unless a derived class already did so. Assert that there are no abs/fixed pos. child frames in nsFrame::DestroyFrom(). r=roc 2012-11-02 01:52:59 +01:00
nsIntervalSet.cpp
nsIntervalSet.h Bug 796129 - remove prtypes #includes in layout/ 2012-10-01 17:12:57 -04:00
nsIObjectFrame.h
nsIPageSequenceFrame.h
nsIScrollableFrame.h Bug 804486 - Add toolkit.scrollbox.horizontalScrollDistance pref, default 5. Change horizontal scroll increment from 10px to horizontalScrollDistance * GetLineScrollAmount().width(). Make GetLineScrollAmount() use the font's AveCharWidth() for the horizontal amount rather than MaxHeight(). r=roc 2012-10-29 06:44:31 +01:00
nsIStatefulFrame.h Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats 2012-11-14 22:40:17 -08:00
nsLeafFrame.cpp
nsLeafFrame.h
nsLineBox.cpp Bug 809533, patch 2: Don't null-check inside NS_New*Frame. r=roc 2012-11-07 11:55:53 -08:00
nsLineBox.h Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
nsLineLayout.cpp Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert 2012-11-13 22:47:33 -08:00
nsLineLayout.h Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
nsObjectFrame.cpp Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert 2012-11-13 22:47:33 -08:00
nsObjectFrame.h b=797568 remove obsolete nsObjectFrame::GetImageContainer() r=roc 2012-10-31 15:53:37 +13:00
nsPageContentFrame.cpp Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures. 2012-11-13 20:19:18 -05:00
nsPageContentFrame.h Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures. 2012-11-13 20:19:18 -05:00
nsPageFrame.cpp Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures. 2012-11-13 20:19:18 -05:00
nsPageFrame.h
nsPlaceholderFrame.cpp
nsPlaceholderFrame.h bug 542039 - accessible object types r=surkov, roc 2012-09-28 17:53:44 -04:00
nsPluginUtilsOSX.h
nsPluginUtilsOSX.mm
nsQueryFrame.h
nsSelection.cpp Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
nsSimplePageSequence.cpp Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures. 2012-11-13 20:19:18 -05:00
nsSimplePageSequence.h Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures. 2012-11-13 20:19:18 -05:00
nsSplittableFrame.cpp
nsSplittableFrame.h
nsSubDocumentFrame.cpp Bug 808724 - Application with embed-apps permission can not use the mozpasspointerevents attribute. r=roc 2012-11-09 22:46:28 +01:00
nsSubDocumentFrame.h Bug 796452. Add mozpasspointerevents attribute for IFRAMEs in chrome windows. r=mats 2012-11-02 23:42:59 +13:00
nsTextFrame.h bug 542039 - accessible object types r=surkov, roc 2012-09-28 17:53:44 -04:00
nsTextFrameTextRunCache.h
nsTextFrameThebes.cpp Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
nsTextFrameUtils.cpp [Bug 799407] Fix build warnings in layout r=roc 2012-10-10 01:00:05 -04:00
nsTextFrameUtils.h
nsTextRunTransformations.cpp bug 774560 pt 2 - implement text-transform:full-width. r=smontagu 2012-11-09 09:43:48 +00:00
nsTextRunTransformations.h
nsVideoFrame.cpp Bug 811173. Part 2: Add other cases for nsDisplayItems that snap their bounds. r=mattwoodrow 2012-11-13 11:56:47 -08:00
nsVideoFrame.h bug 542039 - accessible object types r=surkov, roc 2012-09-28 17:53:44 -04:00
nsViewportFrame.cpp Bug 806056 - Make nsContainerFrame destroy abs/fixed pos. child frames unless a derived class already did so. Assert that there are no abs/fixed pos. child frames in nsFrame::DestroyFrom(). r=roc 2012-11-02 01:52:59 +01:00
nsViewportFrame.h Bug 806056 - Make nsContainerFrame destroy abs/fixed pos. child frames unless a derived class already did so. Assert that there are no abs/fixed pos. child frames in nsFrame::DestroyFrom(). r=roc 2012-11-02 01:52:59 +01:00
ScrollbarActivity.cpp
ScrollbarActivity.h
Selection.h Remove nsSelectionIterator::mType because it is unused, no bug 2012-10-13 17:37:09 -04:00
TextOverflow.cpp Bug 805331. Part 1: Refactor nsDisplayList::GetList 2012-11-03 01:59:03 +13:00
TextOverflow.h Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00