gecko-dev/layout/base
Robert O'Callahan 71c26b9e54 Bug 261037. Support scrolled fieldsets. r=mats
The main change here is to have nsCSSFrameConstructor able to construct
a scrollframe for nsFieldSetFrame's inner frame.
To make this work properly (as much like normal scrolled elements, and
to be consistent with Chrome), we need another major change, which is to move
the padding from the nsFieldSetFrame to its inner frame. We do this by copying
the padding to the inner frame and ignoring the padding on the outer frame.
To get this right for percentage padding and intrinsic widths is a little
tricky. For that, we need nsLayoutUtils::IntrinsicForContainer to be able to
ignore the padding on a frame so we don't add it twice.
Overriding nsFieldSetFrame::GetScrollTargetFrame makes setting scrollTop/
scrollLeft on a <fieldset> work as expected.
* * *
Bug 261037 - A fieldset overflow:auto reftest.

--HG--
extra : rebase_source : d737eebdc25b3b748a84de676d5e8e066505e00b
2013-10-23 00:46:40 +02:00
..
crashtests Bug 912322 - Fix tests. r=bz 2013-09-06 09:12:56 -07:00
tests Bug 926389 - Add touch event handling during fluffing. r=roc 2013-10-17 14:42:48 -04:00
DisplayItemClip.cpp Bug 908778 - Don't #include nsRegion.h in nsIFrame.h; r=mats 2013-08-23 18:16:38 -04:00
DisplayItemClip.h Backed out changeset dc2ced1dd175 (bug 860524) for reftest failures 2013-04-19 13:51:24 +01:00
DisplayListClipState.cpp Bug 885009. Handle clip-all-descendants cases with rounded corners. r=mats 2013-07-26 13:36:05 +12:00
DisplayListClipState.h Bug 885009. Handle clip-all-descendants cases with rounded corners. r=mats 2013-07-26 13:36:05 +12:00
FrameLayerBuilder.cpp Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan 2013-10-08 14:47:21 -04:00
FrameLayerBuilder.h Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
FramePropertyTable.cpp Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
FramePropertyTable.h Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
Makefile.in Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
MaskLayerImageCache.cpp Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
MaskLayerImageCache.h Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
moz.build Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
nsArenaMemoryStats.h Bug 918207 - Support per-tab memory profiling. r=billm,mccr8,till,smaug,nfroyd. 2013-10-22 14:53:26 -07:00
nsAutoLayoutPhase.cpp Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo 2013-07-18 13:59:53 -04:00
nsAutoLayoutPhase.h Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in layout/. r=bz 2013-01-23 19:37:17 +00:00
nsBidi.cpp Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan 2013-10-08 14:47:21 -04:00
nsBidi.h Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan 2013-10-08 14:47:21 -04:00
nsBidiPresUtils.cpp Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc 2013-10-01 17:00:38 -04:00
nsBidiPresUtils.h Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
nsCaret.cpp Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
nsCaret.h Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
nsChangeHint.h
nsCompatibility.h
nsCounterManager.cpp Bug 921753 - Part 3: Avoid #including nsStyleStructInlines.h in nsHTMLReflowState.h; r=roc 2013-10-01 17:01:49 -04:00
nsCounterManager.h Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert 2013-05-14 09:33:23 -07:00
nsCSSColorUtils.cpp
nsCSSColorUtils.h Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
nsCSSFrameConstructor.cpp Bug 261037. Support scrolled fieldsets. r=mats 2013-10-23 00:46:40 +02:00
nsCSSFrameConstructor.h Bug 922933 - Don't #include nsIDocument.h in nsIContent.h; r=jst 2013-10-02 07:40:07 -04:00
nsCSSRendering.cpp Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan 2013-10-08 14:47:21 -04:00
nsCSSRendering.h Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc 2013-10-01 17:00:38 -04:00
nsCSSRenderingBorders.cpp Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan 2013-10-08 14:47:21 -04:00
nsCSSRenderingBorders.h Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan 2013-10-08 14:47:21 -04:00
nsDisplayItemTypes.h Bug 774124 - Part b: Add include-what-you-use annotations to nsDisplayItemTypes.h and nsDisplayItemTypesList.h; r=roc 2013-09-06 08:40:30 +02:00
nsDisplayItemTypesList.h Bug 902525 - Part 3: create a layer for content that stores the blend mode r=roc 2013-09-14 20:40:11 -07:00
nsDisplayList.cpp Backed out changeset a61d898ea4fa (bug 929021) on suspicion of reftest failures on a CLOSED TREE 2013-10-23 16:22:47 +01:00
nsDisplayList.h Bug 903340. Make nsDisplayScrollInfoLayer::ShouldFlattenAway side-effect-free. r=tn 2013-10-21 15:47:26 -07:00
nsDisplayListInvalidation.cpp Bug 532828 - Don't invalidate the whole window on window activation/deactivation. r=roc 2013-09-27 17:24:32 +02:00
nsDisplayListInvalidation.h Bug 532828 - Don't invalidate the whole window on window activation/deactivation. r=roc 2013-09-27 17:24:32 +02:00
nsDocumentViewer.cpp Bug 871161 - Stop inheriting charset where other browsers do not inherit it. r=bzbarsky. 2013-10-16 04:46:10 +03:00
nsFrameManager.cpp Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan 2013-10-08 14:47:21 -04:00
nsFrameManager.h Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc 2013-10-01 17:00:38 -04:00
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 Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
nsGenConList.cpp Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc 2013-10-01 17:00:38 -04: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 Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel 2013-01-05 16:12:24 +13:00
nsIFrameTraversal.h
nsILayoutDebugger.h
nsILayoutHistoryState.h Bug 893925 - Cleanup nsILayoutHistoryState and nsGenericHTMLElement::GetPrimaryPresState; r=smaug 2013-07-24 09:38:13 +02:00
nsIPercentHeightObserver.h
nsIPresShell.h Bug 565388 - No paint for invisible docshell. r=tnikkel 2013-10-16 15:18:42 +02:00
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow 2013-04-20 00:02:13 +12:00
nsLayoutHistoryState.cpp Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
nsLayoutUtils.cpp Bug 261037. Support scrolled fieldsets. r=mats 2013-10-23 00:46:40 +02:00
nsLayoutUtils.h Bug 261037. Support scrolled fieldsets. r=mats 2013-10-23 00:46:40 +02:00
nsPresArena.cpp Bug 921923 (part 3) - Make multi-output sizeOfFoo() functions more consistent in content/, dom/ and layout/. r=till. 2013-09-30 16:20:23 -07:00
nsPresArena.h Bug 921923 (part 3) - Make multi-output sizeOfFoo() functions more consistent in content/, dom/ and layout/. r=till. 2013-09-30 16:20:23 -07:00
nsPresContext.cpp Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-23 07:32:04 +08:00
nsPresContext.h Backed out changeset 87ee0a1865e4 (bug 914847) 2013-10-22 16:55:14 -04:00
nsPresShell.cpp Bug 602787 part.4 Don't implement nsAutoHandlingUserInputStatePusher class in nsEventStateManager.h r=smaug 2013-10-22 22:27:35 +09:00
nsPresShell.h Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE 2013-10-22 13:11:53 -04:00
nsPresState.h Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
nsQuoteList.cpp Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc 2013-10-01 17:00:38 -04:00
nsQuoteList.h
nsRefreshDriver.cpp Bug 924248 - Make nsIDocument.h go on a diet; r=jst 2013-10-07 22:21:07 -04:00
nsRefreshDriver.h Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
nsStyleChangeList.cpp Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
nsStyleChangeList.h
nsStyleSheetService.cpp Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures 2013-09-09 16:07:48 +01:00
nsStyleSheetService.h Bug 831193 (part 14) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in layout/. r=jlebar. 2013-01-17 16:45:12 -08:00
PaintTracker.cpp
PaintTracker.h Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
PositionedEventTargeting.cpp Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-23 07:32:04 +08:00
PositionedEventTargeting.h Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
RestyleManager.cpp Bug 875275 part 3: Make nsColorControlFrame inherit from nsHTMLButtonControlFrame instead of nsBlockFrame. r=jwatt f=arnaud.bienner 2013-10-22 17:29:20 +02:00
RestyleManager.h Bug 828312 patch 11: Don't generate change hints for restyling of later continuations, since the handling of the change hints from the first continuation is required to do the necessary work. r=bzbarsky 2013-09-25 12:28:08 -07:00
RestyleTracker.cpp Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
RestyleTracker.h Bug 886646 - Part 6: Implement sticky positioning, calculated on reflow and scroll. r=dbaron, r=dholbert 2013-09-06 09:35:16 -04:00
ScrollbarStyles.h Bug 908724 - Avoid #including nsPresContext.h in nsIScrollableFrame.h; r=mats 2013-08-23 16:20:07 -04:00
StackArena.cpp Bug 414087 (part 2) - Remove insignificant wasted space in StackBlock. r=bz. 2013-09-25 21:28:55 -07:00
StackArena.h Bug 414087 (part 2) - Remove insignificant wasted space in StackBlock. r=bz. 2013-09-25 21:28:55 -07:00
Units.h Bug 923431 - Kill ScreenToScreenScale. r=botond 2013-10-10 12:21:55 -04:00