Posted by danillonunes on November 20, 2009 at 1:43pm
3 followers
| Project: | ImageField Assist |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | lourenzo |
| Status: | closed (cannot reproduce) |
Issue Summary
"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.
| Attachment | Size |
|---|---|
| ifa_img_no_align_attribute.patch | 713 bytes |
Comments
#1
Here is the patch for the most recent release of IFA.
#2
Fixed on dev.
Thanks
#3
#4
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?
#5
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.
#6
Couldn't reproduce on recent releases.