[ 
https://issues.apache.org/jira/browse/TRINIDAD-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Robinson resolved TRINIDAD-1437.
---------------------------------------

       Resolution: Fixed
    Fix Version/s:  1.2.12-core

Added CSS to the base desktop skin to change the display of the breadcrumb DOM 
elements so that the display attributes work as desired for gecko and webkit 
browsers. 

I used this approach to avoid DOM changes that are more likely to adversely 
affect existing users.

> Vertical breadcrumbs illegally mix in-line and block DOM elements
> -----------------------------------------------------------------
>
>                 Key: TRINIDAD-1437
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1437
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions:  1.2.11-core
>            Reporter: Andrew Robinson
>            Assignee: Andrew Robinson
>             Fix For:  1.2.12-core
>
>
> 1) Run the breadcrumbs demo page.
> 2) Change the orientation to vertical and set inline style to :
> background-color:red
> 3) Click on update.
> Note that in FF and safari browser the style change does not take effect.
> The problem is the resulting DOM:
> <span style="background-color: red;" class="x4v"><div>...
> As you can see, a DIV (block) got rendered in a SPAN (in-line). This is an 
> illegal DOM hierarchy as the spec. clearly states that in-line elements must 
> only ever include other in-line elements.

-- 
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