[ 
https://issues.apache.org/jira/browse/ADFFACES-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479667
 ] 

Jeanne Waldman commented on ADFFACES-402:
-----------------------------------------

valign is not a valid attribute on the img tag. See the spec:
http://www.w3.org/TR/html4/struct/objects.html#adef-align-IMG

I don't think this is the cause of the problem you are seeing.

Also, since align is deprecated, renderer developers should not be using this 
value. Instead they should use css or they should set the alignment on a parent 
dom element.

> BaseImageIcon renders wrong attribute for vertical alignment
> ------------------------------------------------------------
>
>                 Key: ADFFACES-402
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-402
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions: 1.0.0-incubating-core-SNAPSHOT
>            Reporter: Jörg Müller
>            Priority: Minor
>
> When writing the vertical alignment attribute in _writeVerticalAlignment 
> BaseImageIcon renders the attribute "align" instead of  "valign". This leads 
> to strange alignment of icons e.g. in the PanelAccordion component.
> The line: 
>         writer.writeAttribute("align", align, null);
> should be changed to 
>         writer.writeAttribute("valign", align, null);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to