Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1437

Vertical breadcrumbs illegally mix in-line and block DOM elements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.11-core
    • 1.2.12-core
    • Components
    • None

    Description

      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.

      Attachments

        Activity

          People

            arobinson74 Andrew Robinson
            arobinson74 Andrew Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: