IE11 does not add "border-style:none" style to DOM

Won’t fix Issue #8249013

Details

Created
Jul 22, 2016
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Use the following HTML markup and JS code (the full source code/a sample HTML page is available in the attachment):

<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <style type="text/css">
        .victim {
            border: 2px solid black;
        }
    </style>
    <script type="text/javascript">
        function DoTest() {
            var result = "";
            var elements = document.getElementsByClassName('victim');
            for(var i = 0; i < elements.length; i++)
                result += elements[i].outerHTML + "\n";
            alert(result);
        }
    </script>
</head>
<body>
    <div class="victim" style="border-style:none">TEST</div>
    <div class="victim" style="border-style:dotted">TEST</div>
    <br />
    <input type="button" value="Show divs outerHTML" onclick="DoTest()" />
</body>
</html>

Click the “Show divs outerHTML” button.

The attached screenshot illustrates the actual results in different browsers.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Ibrahim O.”

      Changed Status to “Won’t fix”

    • Thank you for the feedback. This issue appears to have been fixed in Microsoft Edge. We’re not presently working on feature bugs in Internet Explorer outside of security-related issues. If you have a premier support contract you can visit https://premier.microsoft.com and open a support incident and work with an engineer to address this issue.

      Best Regards,
      The Microsoft Edge Team

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

    Sign in