gecko/layout/forms
Robert O'Callahan f82ba263d9 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
test Bug 698437 - Allow spatial navigation with directional controller. r=kats 2013-10-12 13:59:50 -04:00
Makefile.in
moz.build
nsButtonFrameRenderer.cpp
nsButtonFrameRenderer.h
nsColorControlFrame.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
nsColorControlFrame.h 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
nsComboboxControlFrame.cpp Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
nsComboboxControlFrame.h Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
nsFieldSetFrame.cpp Bug 261037. Support scrolled fieldsets. r=mats 2013-10-23 00:46:40 +02:00
nsFileControlFrame.cpp Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
nsFileControlFrame.h
nsFormControlFrame.cpp Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
nsFormControlFrame.h Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
nsGfxButtonControlFrame.cpp (no bug) fix typo in nsGfxButtonControlFrame.cpp comment: s/nsHTMLButtonFrame/nsHTMLButtonControlFrame/ 2013-10-02 09:04:09 -07:00
nsGfxButtonControlFrame.h Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
nsGfxCheckboxControlFrame.cpp
nsGfxCheckboxControlFrame.h
nsGfxRadioControlFrame.cpp
nsGfxRadioControlFrame.h
nsHTMLButtonControlFrame.cpp Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
nsHTMLButtonControlFrame.h Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
nsIComboboxControlFrame.h
nsIFormControlFrame.h
nsIListControlFrame.h
nsImageControlFrame.cpp Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug 2013-10-22 17:55:20 +09:00
nsISelectControlFrame.h
nsITextControlFrame.h
nsLegendFrame.cpp
nsLegendFrame.h
nsListControlFrame.cpp Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug 2013-10-22 17:55:20 +09:00
nsListControlFrame.h Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
nsMeterFrame.cpp
nsMeterFrame.h
nsProgressFrame.cpp
nsProgressFrame.h
nsRangeFrame.cpp Bug 920425 part.15 Use mozilla::WidgetEvent::AsTouchEvent() r=smaug 2013-10-18 15:10:23 +09:00
nsRangeFrame.h Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
nsSelectsAreaFrame.cpp
nsSelectsAreaFrame.h
nsTextControlFrame.cpp Bug 926976 - Give nsTextControlFrame::mUseEditor a more useful name. r=ehsan 2013-10-16 14:43:03 +01:00
nsTextControlFrame.h Bug 926976 - Give nsTextControlFrame::mUseEditor a more useful name. r=ehsan 2013-10-16 14:43:03 +01:00