calc(<number> * <percentage>) does not work as expected

Confirmed Issue #12154836 • Assigned to Kevin B.

Details

Created
May 27, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Found in build #
15.15063
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

body {
  font-size: 10px;
}

.foo {
  font-size: calc(2 * 100%);
}

The text size of .foo should be 200% = 20px, but Edge 15 returns unexpected result (resolve as 3px).

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Bogdan B.”

      Changed Assigned To from “Bogdan B.” to “Kevin B.”

      Changed Status to “Confirmed”

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

    Sign in