Invalid size calculation with calc()

Won’t fix Issue #13089031


King S.
Aug 4, 2017
This issue is public.
Found in
  • Microsoft Edge
Reported by 4 people

Sign in to watch or report this issue.

Steps to reproduce

lets say I’ve a container which width is 800px. This container has six child elements which has a width of "calc(100% / 6)". The computed width of one child container should be “133,33px” but in edge it is "133,36px".


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

    • Hello,

      Thank you for providing this information about the issue. After thorough testing, we are unable to reproduce this problem in Edge with the information at hand. Please update this case when you can provide more details, such as screenshots or a sample webpage.

      Best Wishes,
      The MS Edge Team

    • Microsoft Edge Team

      Changed Status to “Fixed”

    • Thank you for the feedback. This is one of the fixes we’ve did in the Windows 10 Creators Update (unless I’m wrong and this is more recent Fall Creators Update fix). You can see the effect of the change here: - this matches your expectations

    • Your fiddle is working for me. (I am using still the unfixed version of edge)
      After I’ve changed your fiddle a bit ( it’s not working and displays: 133.36.

      Thanks for your investigation.

    • Still broken in Edge 16.16299 with block elements, as shown in King’s example.

    • Problem has not been rectified as at Nov 8, 2017.
      MS EDGE 41.16299.15.0
      MS EDGEHTML 16.16299
      Check out the following:

    • I am also experiencing this issue on Edge 40.15063/EdgeHTML 15.15063. This issue was not present in Edge 38(?)/EdgeHTML 14.14393. I recently updated my system because I could not reproduce while on that version.

      The link provided by King S. and GUY J. are broken for me. Here is another simple example:

    • I contacted environment Canada "Thank you for sending your message to Environment and Climate Change Canada. Unfortunately, we can’t help you with this issue as the problem is not with our web site, but with the Edge browser itself. "
      Please get this fixed still not fixed in OS 16299.251

    • Microsoft Edge Team

      Changed Assigned To to “Bogdan B.”

      Changed Status from “Fixed”

      Changed Status to “Won’t fix”

    • Still not fixed in version 1803 OS build 17134.81

    • Hello,

      Thank you for providing this information about the issue. We have confirmed the problem, and are considering a solution for a future build of Edge. We are presently tracking this issue as a duplicate of an existing internal bug report. We look forward to additional feedback you may have on how we can improve Microsoft Edge.

      Best Wishes,
      The MS Edge Team

    • This error is still occured in version 1809 17763, Please fix it ASAP.,thanks!

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

    Sign in