Specifiying margin/padding with unit of percent is not working

Issue #7300275 • Assigned to Greg W.

Details

Created
Apr 22, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

<div style="padding-top: 10%; background: red;"></div>

But, this DIV’s height is 0.

Attachments

0 attachments

    Comments and activity

    • Sorry, there is one more condition.
      It’s needed parent specified display: flex; like below.

      
          
      
      
      
      
    • Microsoft Edge Team

      Changed Assigned To to “Greg W.”

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

    Sign in