Merge "OOjs UI: Backport I73f95965694ec7fb0fa9a474742286e1105e5c85"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 5 Dec 2016 16:45:21 +0000 (16:45 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 5 Dec 2016 16:45:21 +0000 (16:45 +0000)
resources/lib/oojs-ui/oojs-ui-core.js

index 66dfbe8..c53470e 100644 (file)
@@ -10152,7 +10152,7 @@ OO.ui.FieldsetLayout = function OoUiFieldsetLayout( config ) {
 
        // Mixin constructors
        OO.ui.mixin.IconElement.call( this, config );
-       OO.ui.mixin.LabelElement.call( this, $.extend( {}, config, { $label: $( '<legend>' ) } ) );
+       OO.ui.mixin.LabelElement.call( this, $.extend( {}, config, { $label: $( '<div>' ) } ) );
        OO.ui.mixin.GroupElement.call( this, config );
 
        if ( config.help ) {