If the image is inserted in the DOM, then IE will set width/height to the src's width/height. If there's no src, then it will still set a width/height except to the placeholder's width/height:
Typical of IE it decides to mess with the width/height attribute and we should help the developer have a consistent experience.
Question is whether this behavior is expected. Need to research what the other browsers, since this behavior is not well explained in the W3C specs.
isn't this related to #2129?
Closing as per #2129