calc() without specifying units is a syntax error

Duplicate Issue #8314540 • See Issue #8862383

Details

Author
Nolan L.
Created
Jul 28, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Duplicates
See progress on Bug #8862383
Found in build #
14.14385
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Specify calc() for line-height without using any units (e.g. calc(6 / 2))

Expected results: calc(6 / 2) should be treated as equivalent to calc(6em / 2).

Actual results: Edge considers calc(6 / 2) to be a syntax error and ignores it.

Here’s a live test case to demonstrate: http://bl.ocks.org/nolanlawson/1fbd2680b476a21bd4e60c0ee4573d58

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Bogdan B.”

      Changed Assigned To from “Bogdan B.” to “Peter S.”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed” to “Duplicate”

    • }This bug has marked as duplicate. Please follow the parent issue to get new updates.

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

    Sign in