HTML validation indicates a <div> is not allowed inside a <legend>.

Patch in next comment just moves the classes currently on the <div> to the <legend> and removes the <div>.
Classes moved: "panel-title fieldset-legend".

Patch #2 changes <div> to <span>, which is valid inside a fieldset legend.

File: theme/bootstrap/bootstrap-panel.tpl.php

Comments

jwjoshuawalker’s picture

StatusFileSize
new675 bytes

Patch.

jwjoshuawalker’s picture

Issue summary: View changes
jwjoshuawalker’s picture

Status: Active » Needs review
jwjoshuawalker’s picture

StatusFileSize
new517 bytes

Forget that last one. <span> is valid inside fieldset>legend, so here it is that way instead.

jwjoshuawalker’s picture

Issue summary: View changes

  • Commit 432ded0 on 7.x-3.x authored by drastik, committed by Mark Carver:
    Issue #2283999 by drastik: Fixed Element div not allowed as child of...

  • Commit 5807d6b on 8.x-3.x authored by drastik, committed by Mark Carver:
    Issue #2283999 by drastik: Fixed Element div not allowed as child of...
markhalliwell’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.