[richfaces-issues] [JBoss JIRA] (RF-11831) Toolbar: col elements should use CSS for width

Brian Leathem (Resolved) (JIRA) jira-events at lists.jboss.org
Fri Dec 23 18:44:09 EST 2011


     [ https://issues.jboss.org/browse/RF-11831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem resolved RF-11831.
--------------------------------

        Labels: needs-qe  (was: )
    Resolution: Done


Replaced the col width attribute, with a style attribute.

Note: The _col_ _width="*"_ was used to create a _col_ element of maximum size.  This _relative_width_ setting is not applicable to CSS widths, so I replaced it with _style="100%"_, which had the desired effect in Chrome.

QE, please be sure to test this in other supported browsers.
                
> Toolbar: col elements should use CSS for width
> ----------------------------------------------
>
>                 Key: RF-11831
>                 URL: https://issues.jboss.org/browse/RF-11831
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-menu
>    Affects Versions: 4.1.0.Final
>            Reporter: Pavol Pitonak
>            Assignee: Brian Leathem
>            Priority: Trivial
>              Labels: needs-qe
>             Fix For: 4.1.1.Final
>
>
> Toolbar generates <col> elements with attribute "width" which should be replaced with CSS. Attribute width is obsolete in HTML5.
> {code:xml}
> <rich:toolbar height="26" itemSeparator="grid">
>   <rich:toolbarGroup>
>     <h:graphicImage value="/images/icons/create_doc.gif" styleClass="pic" alt="create_doc" />
>     <h:graphicImage value="/images/icons/create_folder.gif" styleClass="pic" alt="create_folder" />
>     <h:graphicImage value="/images/icons/copy.gif" styleClass="pic" alt="copy" />
>   </rich:toolbarGroup>
>   ...
> {code}
> {code:xml}
> <table border="0" cellpadding="0" cellspacing="0" class="rf-tb " height="26px" id="j_idt1923" width="100%">
>   <col width="1px" />
>   <col width="1px" />
>   <col width="1px" />
>   ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list