Opened 7 years ago

Closed 7 years ago

#15058 closed bug (notabug)

button widget does not add ui-state-default and ui-state-hover for input buttons

Reported by: TheWitness Owned by: TheWitness
Priority: minor Milestone: none
Component: ui.button Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description

If you are using the form input type of button, the buttons are not themed. They are missing the class ui-state-default, and on hover, they are not getting the class 'ui-state-hover'.

So,

<input type='button' value='Some Text'/>

Does not receive proper styling.

Change History (10)

comment:1 Changed 53 years ago by TheWitness

Status: pendingnew

comment:1 Changed 7 years ago by TheWitness

this is for 1.12.1 and not 1.11.3. not quite sure how to edit the ticket though...

comment:2 Changed 7 years ago by Alexander Schmitz

Can you please add a test case reproducing this? i created a simple one using 1.11 the version you specified and it works fine.

if your actually using the latest version 1.12 these should not be added they are no longer used but the button is still styles properly because it uses :pseudo classes http://jsbin.com/fopiri/edit?html,js,output

comment:3 Changed 7 years ago by Alexander Schmitz

If this is for 1.12.1 this is not a bug see my example above it still works correctly.

comment:4 Changed 7 years ago by Alexander Schmitz

Owner: set to TheWitness
Status: newpending
Version: 1.11.31.12.1

comment:5 Changed 7 years ago by TheWitness

So, is the css from jquery 1.11.4 not compatible with 1.12.1?

comment:6 Changed 7 years ago by Alexander Schmitz

The CSS is never guaranteed compatible from one version to the next even patch versions you should always use matching css and js versions.

comment:7 Changed 7 years ago by TheWitness

Okay, will attempt to use smoothness as a test and let you know what I find.

comment:8 Changed 7 years ago by TheWitness

Please code the ticket. I see fundamental changes in the CSS. Thanks!

comment:9 Changed 7 years ago by Scott González

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.