Allow mathematical expressions in image sizes

Issue #16587544 • Assigned to Bogdan B.

Details

Created
Mar 26, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
  • Chrome
  • Firefox
  • Opera
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Currently calc() is supported as a CSS mathematical function. The CSS Values and Units Level 4 Specification describes a list of math functions 1 consisting of calc() in addition to min() and max(). Suggest implementing recent specification changes.

The motivation for opening this bug is the reference to the aforementioned mathematical functions in the HTML Standard [2], which supports the appearance of mathematical functions in the sizes attribute on <img> elements.

[2]: https://github.com/whatwg/html/pull/3084 & https://github.com/w3c/web-platform-tests/pull/10167

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “Travis L.”

      Changed Assigned To to “Bogdan B.”

    • Thanks for the report! This seems like a feature request, but we will keep this in mind in the future. I’d recommend using the uservoice for better impact, though.

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

    Sign in