/* Spinner\r
----------------------------------*/\r
.ui-spinner { position:relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; height: 1.8em; }\r
-.ui-spinner-input { border: none; background: none; padding: 0; margin: .2em 0; vertical-align: middle; float: left; margin-left: .4em; margin-right: 22px; }\r
+.ui-spinner-input { border: none; background: none; padding: 0; margin: .2em 0; vertical-align: middle; margin-left: .4em; margin-right: 22px; }\r
.ui-spinner-button { width: 16px; height: 50%; font-size: .5em; padding: 0; margin: 0; z-index: 100; text-align: center; vertical-align: middle; position: absolute; cursor: default; display: block; overflow: hidden; right: 0; }\r
.ui-spinner a.ui-spinner-button { border-top: none; border-bottom: none; border-right: none; } /* more specificity required here to overide default borders */\r
.ui-spinner .ui-icon { position: absolute; margin-top: -8px; top: 50%; left: 0; } /* vertical centre icon */\r
.ui-spinner-down { bottom: 0; }\r
\r
/* TR overrides */\r
-div.ui-spinner { background: none; }\r
+span.ui-spinner { background: none; }\r
self.hovered = false;\r
});\r
\r
- // TODO: move to theme, ask FG how\r
- // fix inline-block issues for IE. Since IE8 supports inline-block we need to exclude it.\r
- if (!$.support.opacity && uiSpinner.css('display') == 'inline-block' && $.browser.version < 8) {\r
- uiSpinner.css('display', 'inline');\r
- }\r
-\r
this.element\r
.bind('keydown.spinner', function(event) {\r
if (self.options.disabled) {\r
},\r
\r
_uiSpinnerHtml: function() {\r
- return '<div role="spinbutton" class="ui-spinner ui-state-default ui-widget ui-widget-content ui-corner-all"></div>';\r
+ return '<span role="spinbutton" class="ui-spinner ui-state-default ui-widget ui-widget-content ui-corner-all"></span>';\r
},\r
\r
_buttonHtml: function() {\r