Removing class from body element in HTML document does not force redraw

Fixed, not yet flighted Issue #106979

Details

Created
Apr 27, 2014
Privacy
This issue is public.
Found in build #
0.0011
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL = http://srvr-clw/bugs/65395/

URL:

Repro Steps:

Following is an HTML page which illustrates the issue. When the page is loaded, it appears blue, although the blue class has been removed from the body element.

<html>
<head>
<title>Repainting issues</title>
<style type="text/css">
.blue {
background-color: #0000ff;
}
</style>
<script type="text/javascript">

window.onload = function () {
document.body.className = "";
}

</script>
</head>
<body class="blue"></body>
</html>

Expected Results:

The body element should be repainted when class is removed.

Actual Results:

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “IPBS P.”

      Changed Assigned To from “IPBS P.” to “Bruce M.”

      Changed Assigned To to “Kamen M.”

      Changed Assigned To from “Kamen M.” to “Christian F.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Christian F.” to “Brett H.”

      Changed Assigned To from “Brett H.” to “Adrija S.”

      Changed Assigned To from “Adrija S.” to “Christian F.”

      Changed Assigned To from “Christian F.” to “Shashank T.”

      Changed Status from “Confirmed” to “In code review”

      Changed Status from “In code review” to “In progress”

      Changed Status from “In progress” to “In code review”

      Changed Status from “In code review” to “In progress”

      Changed Status from “In progress” to “In code review”

      Changed Status from “In code review” to “In progress”

      Changed Assigned To from “Shashank T.” to “IPBS P.”

      Changed Status from “In progress” to “Fixed”

      Changed Assigned To from “IPBS P.” to “Christian F.”

      Changed Status from “Fixed” to “Fixed, not yet flighted”

      Changed Assigned To to “Bogdan B.”

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

    Sign in