Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The normalize method works incorrectly for TextNode objects in Internet Explorer 11


View products that this article applies to.

Symptoms

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

↑ Back to the top


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:Note 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

↑ Back to the top


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>

↑ Back to the top


Status

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

↑ Back to the top


References

See the terminology that Microsoft uses to describe software updates.

↑ Back to the top


Keywords: kbqfe, kbfix, kbexpertiseadvanced, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2988412
Revision : 1
Created on : 1/7/2017
Published on : 8/12/2014
Exists online : False
Views : 248