Symptoms

The normalize method works incorrectly for TextNode objects on a webpage in Internet Explorer 11.

Resolution

Update information

To resolve this problem, install the most recent cumulative security update for Internet Explorer. To do this, go to Microsoft Update.

For technical information about the most recent cumulative security update for Internet Explorer, see the following Microsoft website:

http://www.microsoft.com/technet/security/current.aspxNote This update was first included in security update 2976627.

For more information about security update 2976627, click the following article number to view the article in the Microsoft Knowledge Base:

2976627 MS14-051: Cumulative security update for Internet Explorer: August 12, 2014

More Information

When you open a webpage that contains the following HTML code in Internet Explorer 11, the second alert displays "-d" but not "a-b-c-d."

<!DOCTYPE html>
<html>
<head>
<title>exo test</title>
<script type="text/javascript">
function testnormalize() {
var textnode1 = document.createTextNode("a-b-");
var textnode2 = document.createTextNode("c-d);
var sp = document.createElement("span");

sp.appendChild(textnode1);
sp.appendChild(textnode2);

alert(sp.innerHTML);
sp.normalize();
alert(sp.innerHTML);
}
</script>
</head>
<body>
<button onclick="testnormalize()">testnormalize</button>
</body>
</html>

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

See the terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×