mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-11 22:41:02 +00:00
cd014b922b
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