Opened 9 years ago
Closed 9 years ago
#15223 closed defect (duplicate)
In IE9 the editor overwrites width and height attributes on images
Reported by: | DJ Mountney | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Editor | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Go to editor tutorial demo in IE9 here: http://dojotoolkit.org/documentation/tutorials/1.7/editor/demo/editor-dijit-plugins.html
Jump into source view and paste in <img alt="foo" src="http://dojotoolkit.org/dojango/dojo-media/dtk/images/page-title-smaller.png" width="300" />
Then toggle back to normal mode, then back to source mode. Notice width is now contains "foo" instead of 300. If you go back to normal mode, the image is no longer visible.
Also, if you remove the alt="foo", width will be removed as well.
I've tested this in an editor will no plugins, and the behavior was the same (when getting the value).
This does not repro in IE7 or IE8.
Tested on 1.6.1 and whatever 1.7.x that demo page is running.
This is a duplicate of http://bugs.dojotoolkit.org/ticket/15032