gecko-dev/layout/xul
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 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky 2020-04-03 22:23:23 +00:00
grid Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky 2020-04-03 22:23:23 +00:00
reftest Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky 2020-04-03 22:23:23 +00:00
test Bug 1615732 - Don't dispatch xul command event on Mac if it is from mouse event with ctrl key is pressed; r=Gijs,NeilDeakin 2020-04-06 23:59:53 +00:00
tree Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky 2020-04-03 22:23:23 +00:00
moz.build Bug 1610597 - Re-introduce display: -moz-stack; as <legacy-stack>. r=emilio 2020-02-14 16:32:38 +00:00
nsBox.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=jgilbert 2020-04-05 13:34:58 +00:00
nsBox.h Bug 1619664 - Remove nsBox::gTheme. r=dholbert 2020-03-03 23:39:07 +00:00
nsBoxFrame.cpp Bug 1622360 - Delete GetRenderRootForFrame and dependent codepaths. r=jrmuizel 2020-03-20 13:29:03 +00:00
nsBoxFrame.h Bug 1610597 - Re-introduce display: -moz-stack; as <legacy-stack>. r=emilio 2020-02-14 16:32:38 +00:00
nsBoxLayout.cpp
nsBoxLayout.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsBoxLayoutState.cpp Bug 1571250 - Convert flags passed to ReflowChild, FinishReflowChild, SyncFrameViewAfterReflow and from GetXULLayoutFlags / GetLayoutFlags into an enum class. r=TYLin 2019-08-08 19:48:19 +00:00
nsBoxLayoutState.h Bug 1571250 - Convert flags passed to ReflowChild, FinishReflowChild, SyncFrameViewAfterReflow and from GetXULLayoutFlags / GetLayoutFlags into an enum class. r=TYLin 2019-08-08 19:48:19 +00:00
nsButtonBoxFrame.cpp Bug 1615732 - Don't dispatch xul command event on Mac if it is from mouse event with ctrl key is pressed; r=Gijs,NeilDeakin 2020-04-06 23:59:53 +00:00
nsButtonBoxFrame.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsDeckFrame.cpp Bug 1613732 Part 2 - Remove unused ReflowChildFlags::NoVisibility. r=dholbert 2020-02-07 04:17:33 +00:00
nsDeckFrame.h
nsDocElementBoxFrame.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
nsIPopupContainer.h
nsIScrollbarMediator.h
nsImageBoxFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsImageBoxFrame.h Bug 1621835. Make imgINotificationObserver::Notify a void method, since no one examines its return value anyway. r=emilio 2020-03-12 04:25:34 +00:00
nsLeafBoxFrame.cpp Bug 1597120 - Remove platform support for XUL mousethrough attribute. r=emilio 2019-11-22 13:15:28 +00:00
nsLeafBoxFrame.h Bug 1597120 - Remove platform support for XUL mousethrough attribute. r=emilio 2019-11-22 13:15:28 +00:00
nsMenuBarFrame.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
nsMenuBarFrame.h
nsMenuBarListener.cpp Bug 1626388 - Convert ui.key.menuAccessKeyFocuses to static pref r=njn 2020-04-07 17:10:30 +00:00
nsMenuBarListener.h Bug 1626388 - Convert ui.key.menuAccessKeyFocuses to static pref r=njn 2020-04-07 17:10:30 +00:00
nsMenuFrame.cpp Bug 1615732 - Don't show menu on Mac when ctrl key is pressed; r=NeilDeakin 2020-04-06 20:56:17 +00:00
nsMenuFrame.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMenuParent.h
nsMenuPopupFrame.cpp Bug 1629096 - Honor scroll-padding / margin in ns{ListControl,MenuPopup}Frame. r=hiro 2020-04-10 21:34:22 +00:00
nsMenuPopupFrame.h Backed out changeset 61cc7740daa3 (bug 1623974) for bustages related to nsWindow.cpp CLOSED TREE 2020-03-30 17:23:10 +03:00
nsPopupSetFrame.cpp
nsPopupSetFrame.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsRepeatService.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
nsRepeatService.h
nsResizerFrame.cpp Bug 1615732 - Don't dispatch xul command event on Mac if it is from mouse event with ctrl key is pressed; r=Gijs,NeilDeakin 2020-04-06 23:59:53 +00:00
nsResizerFrame.h
nsRootBoxFrame.cpp Bug 1600362 - Cleanup IntersectionObserver. r=smaug 2019-11-29 20:39:36 +00:00
nsScrollbarButtonFrame.cpp Bug 1600362 - Cleanup IntersectionObserver. r=smaug 2019-11-29 20:39:36 +00:00
nsScrollbarButtonFrame.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
nsScrollbarFrame.cpp Bug 1619428 - Make the overlay scrollbars check work in all platforms. r=mstange 2020-03-03 20:30:52 +00:00
nsScrollbarFrame.h Bug 1600362 - Cleanup IntersectionObserver. r=smaug 2019-11-29 20:39:36 +00:00
nsSliderFrame.cpp Bug 1626766 - Removing else after return statement r=sylvestre 2020-04-11 13:10:23 +00:00
nsSliderFrame.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsSplitterFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsSplitterFrame.h
nsSprocketLayout.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsSprocketLayout.h Bug 1570982 - remove `CPP_THROW_NEW`; r=glandium 2019-08-14 01:32:41 +00:00
nsStackFrame.cpp Bug 1610597 - Re-introduce display: -moz-stack; as <legacy-stack>. r=emilio 2020-02-14 16:32:38 +00:00
nsStackFrame.h Bug 1610597 - Re-introduce display: -moz-stack; as <legacy-stack>. r=emilio 2020-02-14 16:32:38 +00:00
nsStackLayout.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsStackLayout.h
nsTextBoxFrame.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=jgilbert 2020-04-05 13:34:58 +00:00
nsTextBoxFrame.h
nsTitleBarFrame.cpp Bug 1615732 - Don't dispatch xul command event on Mac if it is from mouse event with ctrl key is pressed; r=Gijs,NeilDeakin 2020-04-06 23:59:53 +00:00
nsTitleBarFrame.h Bug 1597120 - Remove platform support for XUL mousethrough attribute. r=emilio 2019-11-22 13:15:28 +00:00
nsXULLabelFrame.cpp
nsXULLabelFrame.h
nsXULPopupManager.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsXULPopupManager.h Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
nsXULTooltipListener.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
nsXULTooltipListener.h