gecko-dev/layout/forms
Emilio Cobos Álvarez cd014b922b Bug 1629096 - Honor scroll-padding / margin in ns{ListControl,MenuPopup}Frame. r=hiro
Kinda drive-by, but I think this is sane and not risky... This is used for
<select size> / <select multiple>, and only scrolls the option into view (it
only scrolls a single scroll frame, the one inside the <select>).

If the author specifies scroll-padding / margin in there I don't see why we
shouldn't respect it when doing key selection / navigation / etc.

Same for menupopups (though those are even less risky because we control the CSS
there).

Differential Revision: https://phabricator.services.mozilla.com/D70543

--HG--
extra : moz-landing-system : lando
2020-04-10 21:34:22 +00:00
..
crashtests Bug 1617753 - Avoid using our DEBUG version of RemoveFrame() which is supposed to never be called. r=emilio 2020-02-25 22:43:51 +00:00
test Bug 1618260 - Fix number input so that it honors overflow-clip-box-block. r=mats 2020-03-18 09:21:44 +00:00
moz.build
nsButtonFrameRenderer.cpp Bug 1614655 - Part 3: Retain WR display items for nsDisplayBorder, nsDisplayText, nsDisplayButtonBorder, and nsDisplayButtonForeground r=jrmuizel 2020-03-18 23:47:34 +00:00
nsButtonFrameRenderer.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan 2019-12-06 09:16:44 +00:00
nsCheckboxRadioFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsCheckboxRadioFrame.h
nsColorControlFrame.cpp Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsColorControlFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsComboboxControlFrame.cpp Bug 1377999 - Make TextNode to adapt the DOMArena changes r=smaug 2020-03-17 14:53:54 +00:00
nsComboboxControlFrame.h Bug 1600362 - Cleanup IntersectionObserver. r=smaug 2019-11-29 20:39:36 +00:00
nsDateTimeControlFrame.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan 2019-12-06 09:16:44 +00:00
nsDateTimeControlFrame.h Bug 1567191 - Move datetime input widget attribute handling code to HTMLInputElement. r=smaug 2019-08-05 22:11:57 +02:00
nsFieldSetFrame.cpp Bug 1622008 Part 3 - Remove nsPresContext* and PresShell* from the argument list of some continuing-frame-creation methods. r=dholbert 2020-03-12 21:50:23 +00:00
nsFieldSetFrame.h Bug 471015 - [css-break] Implement <fieldset> fragmentation. r=TYLin 2019-11-25 21:45:22 +00:00
nsFileControlFrame.cpp Bug 1625809 - Remove nsFileControlFrame::AttributeChanged. r=smaug 2020-03-30 16:49:56 +00:00
nsFileControlFrame.h Bug 1625809 - Remove nsFileControlFrame::AttributeChanged. r=smaug 2020-03-30 16:49:56 +00:00
nsGfxButtonControlFrame.cpp Bug 1377999 - Make TextNode to adapt the DOMArena changes r=smaug 2020-03-17 14:53:54 +00:00
nsGfxButtonControlFrame.h
nsHTMLButtonControlFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsHTMLButtonControlFrame.h Bug 1566945 - Add a parameter to nsContainerFrame::InsertFrames for aPrevFrame's line box. r=dholbert 2019-07-17 23:34:45 +00:00
nsIFormControlFrame.h
nsISelectControlFrame.h
nsITextControlFrame.h Bug 1609167 - Don't use NS_IMETHOD for nsITextControlFrame::GetTextEditor. r=smaug 2020-01-14 16:29:50 +00:00
nsImageControlFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsLegendFrame.cpp Bug 1341018 - Create enum class LegendAlignValue to replace NS_STYLE_TEXT_ALIGN_* and NS_STYLE_VERTICAL_ALIGN_* in legend code. r=emilio 2020-01-23 03:10:03 +00:00
nsLegendFrame.h Bug 1341018 - Create enum class LegendAlignValue to replace NS_STYLE_TEXT_ALIGN_* and NS_STYLE_VERTICAL_ALIGN_* in legend code. r=emilio 2020-01-23 03:10:03 +00:00
nsListControlFrame.cpp Bug 1629096 - Honor scroll-padding / margin in ns{ListControl,MenuPopup}Frame. r=hiro 2020-04-10 21:34:22 +00:00
nsListControlFrame.h Bug 1590278 - Cleanup scrollframe virtual / override / final declarations. r=hiro 2019-10-22 12:25:06 +00:00
nsMeterFrame.cpp Bug 1624080 - Simplify the implementation of HasAuthorSpecifiedRules. r=heycam 2020-03-26 16:48:01 +00:00
nsMeterFrame.h
nsNumberControlFrame.cpp Bug 1624080 - Simplify the implementation of HasAuthorSpecifiedRules. r=heycam 2020-03-26 16:48:01 +00:00
nsNumberControlFrame.h Bug 981248 - Rewrite <input type=number> to avoid an anonymous input. r=masayuki,surkov,jwatt,ntim,jfkthame,smaug 2020-01-14 19:01:05 +00:00
nsProgressFrame.cpp Bug 1624080 - Simplify the implementation of HasAuthorSpecifiedRules. r=heycam 2020-03-26 16:48:01 +00:00
nsProgressFrame.h
nsRangeFrame.cpp Bug 1624080 - Simplify the implementation of HasAuthorSpecifiedRules. r=heycam 2020-03-26 16:48:01 +00:00
nsRangeFrame.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsSelectsAreaFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsSelectsAreaFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsTextControlFrame.cpp Bug 253870 - Make disabled form controls selectable. r=masayuki,MarcoZ 2020-03-19 13:18:16 +00:00
nsTextControlFrame.h Bug 1625855 - Replace MOZ_MUST_USE with [[nodiscard]] in layout. r=TYLin 2020-04-08 01:59:36 +00:00