﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5547	Image width and height should use width and height HTML attributes	John Fletcher	Jakub Ś	"Previously FCKeditor converted what was specified in the image width and height boxes into the html attributes width and height. Now I'm using the latest release of CKEditor and noticed it puts the image width and height into the style attribute. I think we should return to the former behaviour.

Perhaps the change was made as part of this ticket http://dev.fckeditor.net/ticket/4246 - I'm not sure.

Width and height attributes are not deprecated neither in XHTML nor HTML5 when used on images, because it's better for rendering when this data is in the HTML source code. Technically it's equally OK to have it as an attribute or an inline style, however using attributes is better because it's easier to read and parse the code. Additionally you can simplify your CKEditor code - take out the code which has to synchronise the width/height fields with the styles field. By the way, in case of conflict HTML attributes will take precedence over inline styles.

Personally I'm requesting the change because I have to parse the HMTL CKEditor produces and it's easier when they are attributes. Incidentally I find it makes the HTML more logical and easier to read.

Reference: http://www.w3.org/TR/2010/WD-html5-20100304/the-canvas-element.html#attr-dim-width"	Bug	closed	Normal		UI : Dialogs	4.4.7	fixed		MrM damian.chojna@… satya_minnekanti@… drewbdulgar@… jrwilson3@… ckeditor@…
