box-shadow parsing fails with calc

Issue #16575199 • Unassigned

Details

Created
Mar 26, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
16
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

https://jsfiddle.net/ericwilligers/7ac5phrc/

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.

Attachments

0 attachments

    Comments and activity

    Nothing to see here! No one has commented on this issue yet.

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

    Sign in