FIX: innerText Property Gives Incorrect Result with contentEditable Property (811037)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 5.5 SP2
SYMPTOMSIf the contentEditable attribute of a PRE tag on element is set to TRUE, the innerText property does not behave as expected. If you insert line breaks
in the text that is inside the PRE tag and then use the innerText property to retrieve the text, you notice that it does not
include the line breaks. You may experience this behavior with Microsoft
Internet Explorer 5.5 Service Pack 2 when you install the security updates that
come with the Microsoft Knowledge Base article 313675, or with later cumulative
updates. RESOLUTIONTo resolve this problem, install the following security
update for Microsoft Internet Explorer 5.5 Service Pack 2. STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/5/2003 |
---|
Keywords: | kbInetDev kbMSHTML kbDHTML kbfix KB811037 kbAudDeveloper |
---|
|