"Align" attribute is deprecated since HTML 4.02. I found some bugs caused by the use of this property in IE7. As default Drupal themes (and the mostly used themes, I think) are XHTML strict, and as IFA already uses classes with css "float" properties, I think that this attribute can be safetly removed.

Comments

danillonunes’s picture

StatusFileSize
new869 bytes

Here is the patch for the most recent release of IFA.

franz’s picture

Fixed on dev.
Thanks

franz’s picture

Status: Active » Fixed
lourenzo’s picture

Status: Fixed » Needs review

When using tinyMCE, the image tag still have this attribute.
Although, the tinyMCE document leaves in an iframe, and uses another DOCTYPE,

Can this difference between wysiwyg cause formatting result issues?

danillonunes’s picture

tinyMCE uses this attribute only in it's interface or it's saved at the end result?

I found a issue only in IE7 at a specific situation, when a image has this attribute AND a float declaration.

lourenzo’s picture

Assigned: Unassigned » lourenzo
Status: Needs review » Closed (cannot reproduce)

Couldn't reproduce on recent releases.