mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
f82ba263d9
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 |
||
---|---|---|
.. | ||
crashtests | ||
test | ||
Makefile.in | ||
moz.build | ||
nsButtonFrameRenderer.cpp | ||
nsButtonFrameRenderer.h | ||
nsColorControlFrame.cpp | ||
nsColorControlFrame.h | ||
nsComboboxControlFrame.cpp | ||
nsComboboxControlFrame.h | ||
nsFieldSetFrame.cpp | ||
nsFileControlFrame.cpp | ||
nsFileControlFrame.h | ||
nsFormControlFrame.cpp | ||
nsFormControlFrame.h | ||
nsGfxButtonControlFrame.cpp | ||
nsGfxButtonControlFrame.h | ||
nsGfxCheckboxControlFrame.cpp | ||
nsGfxCheckboxControlFrame.h | ||
nsGfxRadioControlFrame.cpp | ||
nsGfxRadioControlFrame.h | ||
nsHTMLButtonControlFrame.cpp | ||
nsHTMLButtonControlFrame.h | ||
nsIComboboxControlFrame.h | ||
nsIFormControlFrame.h | ||
nsIListControlFrame.h | ||
nsImageControlFrame.cpp | ||
nsISelectControlFrame.h | ||
nsITextControlFrame.h | ||
nsLegendFrame.cpp | ||
nsLegendFrame.h | ||
nsListControlFrame.cpp | ||
nsListControlFrame.h | ||
nsMeterFrame.cpp | ||
nsMeterFrame.h | ||
nsProgressFrame.cpp | ||
nsProgressFrame.h | ||
nsRangeFrame.cpp | ||
nsRangeFrame.h | ||
nsSelectsAreaFrame.cpp | ||
nsSelectsAreaFrame.h | ||
nsTextControlFrame.cpp | ||
nsTextControlFrame.h |