OOjs UI: Backport I73f95965694ec7fb0fa9a474742286e1105e5c85
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 5 Dec 2016 00:58:03 +0000 (01:58 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 5 Dec 2016 01:01:37 +0000 (01:01 +0000)
Bug: T151061
Change-Id: I715d2ac077c5a6f9de420d90f19ef4b631168f26

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