Opened 6 years ago

Closed 5 years ago

Last modified 5 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 6 years ago.
Proposed fix for all 3 set/get/remove(Attribute) methods

Download all attachments as: .zip

Change History (7)

comment:1 Changed 6 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 6 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 6 years ago by Piotrek Koszuliński

Attachment: 8783.patch added

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

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

Owner: set to Piotrek Koszuliński
Status: confirmedreview

comment:4 Changed 6 years ago by Garry Yao

Status: reviewreview_passed

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

Resolution: fixed
Status: review_passedclosed

Fixed with [7505].

comment:6 Changed 5 years ago by Wiktor Walc

Milestone: CKEditor 3.6.4
Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy