Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#8783 closed Bug (fixed)

getAttribute( 'contenteditable' ) returns 'inherited' on IE7 and IE6 for elements created from code

Reported by: Piotrek Koszuliński Owned by: Piotrek Koszuliński
Priority: Normal Milestone: CKEditor 3.6.4
Component: General Version: 3.0
Keywords: IE6 IE7 Cc:

Description (last modified by Jakub Ś)

For TC as below all browsers alert 'true', but IE7 and IE6 'inherited'.

<!DOCTYPE html>
<html>
<head>
	<script src="path/ckeditor.js"></script>
	<title>tc</title>
</head>
<body>
<div id="getAttributeContenteditable"></div>
<script>
	var element = CKEDITOR.document.getById( 'getAttributeContenteditable' );
	element.setAttribute( 'contenteditable', true );
	alert( element.getAttribute( 'contenteditable' ) );
</script>
</body>
</html>

Attachments (1)

8783.patch (1.1 KB) - added by Piotrek Koszuliński 13 years ago.
Proposed fix for all 3 set/get/remove(Attribute) methods

Download all attachments as: .zip

Change History (7)

comment:1 Changed 13 years ago by Jakub Ś

Description: modified (diff)
Keywords: IE6 IE7 added
Status: newconfirmed
Version: 3.0

Reproducible in IE6 and IE7 from CKE 3.0.

comment:2 Changed 13 years ago by Jakub Ś

Summary: getAttribute( 'contenteditable' ) returns 'inherited' on IE7 for elements created from codegetAttribute( 'contenteditable' ) returns 'inherited' on IE7 and IE6 for elements created from code

Changed 13 years ago by Piotrek Koszuliński

Attachment: 8783.patch added

Proposed fix for all 3 set/get/remove(Attribute) methods

comment:3 Changed 13 years ago by Piotrek Koszuliński

Owner: set to Piotrek Koszuliński
Status: confirmedreview

comment:4 Changed 13 years ago by Garry Yao

Status: reviewreview_passed

comment:5 Changed 12 years ago by Piotrek Koszuliński

Resolution: fixed
Status: review_passedclosed

Fixed with [7505].

comment:6 Changed 12 years ago by Wiktor Walc

Milestone: CKEditor 3.6.4
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy