gecko/layout/base
Robert O'Callahan 04e9887192 Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
This patch does several things. Sorry.

In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.

In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.

We remove nsDisplayClip and everything that depends on it.

We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.

nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.

I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.

--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
..
crashtests Bug 848539 part 5: Back out 6bb37077d615, bug 763689 part 2 (style-system handling for min-width:auto). r=dbaron 2013-03-27 23:33:19 -07:00
tests Backout bug 851445 for test failure 2013-04-02 18:24:25 +13:00
DisplayItemClip.cpp Bug 841192. Part 9: Add extra APIs to DisplayItemClip to set the current state, intersect with another DisplayItemClip, test intersection with a rect, translate, and provide easy access to a DisplayItemClip object which doesn't clip anything. r=mattwoodrow 2013-03-07 00:08:11 +13:00
DisplayItemClip.h Bug 841192. Part 9: Add extra APIs to DisplayItemClip to set the current state, intersect with another DisplayItemClip, test intersection with a rect, translate, and provide easy access to a DisplayItemClip object which doesn't clip anything. r=mattwoodrow 2013-03-07 00:08:11 +13:00
DisplayListClipState.cpp Bug 841192. Part 10: Add extra APIs to DisplayListClipState to constrain the current clip, and an Auto class for safe saving and restoring. r=mattwoodrow 2013-03-07 00:08:13 +13:00
DisplayListClipState.h Bug 841192. Part 10: Add extra APIs to DisplayListClipState to constrain the current clip, and an Auto class for safe saving and restoring. r=mattwoodrow 2013-03-07 00:08:13 +13:00
FrameLayerBuilder.cpp Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow 2013-03-04 22:56:02 +13:00
FrameLayerBuilder.h Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow 2013-03-04 22:56:02 +13:00
FramePropertyTable.cpp
FramePropertyTable.h Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Makefile.in Bug 841192. Part 4: Create DisplayListClipState. r=mattwoodrow 2013-03-04 22:56:00 +13:00
MaskLayerImageCache.cpp
MaskLayerImageCache.h Bug 841192. Part 2: Move FrameLayerBuilder::Clip to DisplayItemClip. r=mattwoodrow 2013-03-04 22:55:59 +13:00
moz.build Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
nsArenaMemoryStats.h
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidi.cpp
nsBidi.h
nsBidiPresUtils.cpp Bug 852501 part 4. Make CreateContinuingFrame infallible. r=dholbert 2013-03-19 21:47:49 -04:00
nsBidiPresUtils.h
nsCaret.cpp bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug 2013-02-15 15:09:28 -05:00
nsCaret.h bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug 2013-02-15 15:09:28 -05:00
nsChangeHint.h
nsChildIterator.cpp
nsChildIterator.h
nsCompatibility.h
nsCounterManager.cpp Bug 839809: Make counter-increments and list counting that would go past our internal (int32_t) limit keep the counter at its current value rather than wrapping. r=dholbert 2013-02-22 10:13:37 -08:00
nsCounterManager.h Bug 839809 followup: fix typos in comment. DONTBUILD. No review. 2013-02-22 10:29:05 -08:00
nsCSSColorUtils.cpp
nsCSSColorUtils.h Bug 847480 - Convert DeprecatedAbs use in NS_LUMINOSITY_DIFFERENCE to Abs. r=dbaron 2013-03-09 14:20:04 -08:00
nsCSSFrameConstructor.cpp Bug 841488 - Part a: Rename nsHTMLSelectElement; r=khuey 2013-04-04 09:03:33 +02:00
nsCSSFrameConstructor.h Bug 852636. Remove unused argument of InitAndRestoreFrame. r=dholbert 2013-03-20 12:22:25 -04:00
nsCSSRendering.cpp Backout 051cf1c1449c:521215a7b32e (bug 826093) for Android reftest failure 2013-04-04 21:06:58 -07:00
nsCSSRendering.h Bug 848421. Part 2. Remove useless PresContext argument to nsCSSRendering::FindBackground. r=mats 2013-03-07 10:03:49 -06:00
nsCSSRenderingBorders.cpp Bug 851611 - Part 3: Rename headers. r=jrmuizel 2013-03-18 15:25:50 +01:00
nsCSSRenderingBorders.h
nsDisplayItemTypes.h
nsDisplayItemTypesList.h Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow 2013-03-04 22:56:02 +13:00
nsDisplayList.cpp Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow 2013-03-04 22:56:02 +13:00
nsDisplayList.h Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow 2013-03-04 22:56:02 +13:00
nsDisplayListInvalidation.cpp Bug 725981 - Only invalidate the difference in bounds when a solid color moves or resizes. r=roc 2013-03-08 15:15:10 +13:00
nsDisplayListInvalidation.h Bug 725981 - Only invalidate the difference in bounds when a solid color moves or resizes. r=roc 2013-03-08 15:15:10 +13:00
nsDocumentViewer.cpp Bug 807442 - Make assertion non-fatal. r=hsivonen 2013-03-28 12:13:11 -04:00
nsFrameManager.cpp Bug 851611 - Part 3: Rename headers. r=jrmuizel 2013-03-18 15:25:50 +01:00
nsFrameManager.h
nsFrameManagerBase.h
nsFrameTraversal.cpp Bug 841261: Use init list instead of assignment in nsFrameIterator constructor. r=mats 2013-02-18 08:59:55 -08:00
nsFrameTraversal.h
nsGenConList.cpp Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert 2013-02-15 21:38:33 -08:00
nsGenConList.h Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert 2013-02-16 13:51:02 -08:00
nsIDocumentViewerPrint.h
nsIFrameTraversal.h
nsILayoutDebugger.h
nsILayoutHistoryState.h
nsIPercentHeightObserver.h
nsIPresShell.h Bug 716403 - Add nsIDOMWindowUtils.setContentDocumentFixedPositionMargins. r=roc,dholbert 2013-03-07 10:17:33 +00:00
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow 2013-03-04 22:56:02 +13:00
nsLayoutHistoryState.cpp
nsLayoutUtils.cpp Bug 841192. Part 12: Move RoundedRectIntersectsRect from nsDisplayList.cpp to nsLayoutUtils. r=mattwoodrow 2013-03-07 00:08:15 +13:00
nsLayoutUtils.h Bug 841192. Part 12: Move RoundedRectIntersectsRect from nsDisplayList.cpp to nsLayoutUtils. r=mattwoodrow 2013-03-07 00:08:15 +13:00
nsPresArena.cpp Bug 852476 - Fix Valgrind annotations in nsPresArena.cpp. r=mats 2013-03-25 15:27:43 +01:00
nsPresArena.h Bug 729519 - Allocate heap nsFrameLists from the shell arena. r=bzbarsky 2013-04-01 17:26:02 +02:00
nsPresContext.cpp Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
nsPresContext.h Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth 2013-03-06 00:05:55 -08:00
nsPresShell.cpp Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow 2013-03-04 22:56:02 +13:00
nsPresShell.h Bug 635852. r=smaug 2013-03-08 12:04:53 +01:00
nsPresState.h
nsQuoteList.cpp Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert 2013-02-16 13:51:02 -08:00
nsQuoteList.h
nsRefreshDriver.cpp Bug 851611 - Part 3: Rename headers. r=jrmuizel 2013-03-18 15:25:50 +01:00
nsRefreshDriver.h Bug 847890 - paint flashing for content only. r=roc 2013-03-12 11:01:00 -07:00
nsStyleChangeList.cpp
nsStyleChangeList.h
nsStyleConsts.h
nsStyleSheetService.cpp
nsStyleSheetService.h
PaintTracker.cpp
PaintTracker.h
PositionedEventTargeting.cpp Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth 2013-03-06 00:05:55 -08:00
PositionedEventTargeting.h
RestyleTracker.cpp Bug 851611 - Part 3: Rename headers. r=jrmuizel 2013-03-18 15:25:50 +01:00
RestyleTracker.h Bug 850672 r=roc 2013-03-21 15:33:00 +13:00
StackArena.cpp
StackArena.h