box-shadow parsing fails with calc

Issue #16575199 • Assigned to Bogdan B.


Eric W.
Mar 26, 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

Set inline style to
'3px calc(4px + 5%)' (not valid) or '6px calc(7px + 8px)' (valid)
Read inline style and computed style.

Edge gives “3px” and “6px” as inline styles - both incorrect.

Edge gives “3px #000000” and “6px #000000” as computed styles - both incorrect.

'3px calc(4px + 5%)' should not have been accepted as an inline style.
'6px calc(7px + 8px)' should have led to inline and computed styles containing two lengths.


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Travis L.”

      Changed Assigned To to “Bogdan B.”

    • Thanks, we should indeed fix this

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

    Sign in