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

Fixed, not yet flighted Issue #12154836

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”

      Changed Status from “Confirmed” to “Fixed”

    • Thank you for reporting the issue. This is now fixed in the internal build and you can expect to see this working as expected in one of the coming Windows Insider Preview builds and in the following release.

    • Microsoft Edge Team

      Changed Status from “Fixed” to “Fixed, not yet flighted”

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

    Sign in