Auto/Scroll with specified Height causes Padding-Bottom to not be shown

Issue #16312108 • Assigned to Bogdan B.


undefined u.
Mar 9, 2018
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

If a container has its overflow-y property set to auto or scroll, has positive padding, and has a height set less then fits its contents, the container’s bottom-padding will not be shown (won’t take up space) when scrolling to the bottom of the container. See this fiddle:

When setting the height to auto (or not setting it in the first place), the bottom-padding (shown in light blue) is shown as expected. However, if the height of the container is set smaller than the auto height, the bottom padding will be cut off, rather than immediately displaying a scrollbar and allowing the user to scroll into the padding.

In Edge, the padding is cut off:
In Chrome, the padding is shown, as desired:


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “Bogdan B.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in