"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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | ifa_remove_align.patch | 869 bytes | danillonunes |
| ifa_img_no_align_attribute.patch | 713 bytes | danillonunes |
Comments
Comment #1
danillonunes commentedHere is the patch for the most recent release of IFA.
Comment #2
franzFixed on dev.
Thanks
Comment #3
franzComment #4
lourenzo commentedWhen 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?
Comment #5
danillonunes commentedtinyMCE 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.
Comment #6
lourenzo commentedCouldn't reproduce on recent releases.