Skip to main content

Search and Top Navigation

#15058 closed bug (notabug)

Opened October 03, 2016 09:54PM UTC

Closed October 03, 2016 10:23PM UTC

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.

Attachments (0)
Change History (10)

Changed January 01, 1970 12:24AM UTC by TheWitness comment:1

status: pendingnew

Changed October 03, 2016 10:00PM UTC by TheWitness comment:2

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

Changed October 03, 2016 10:01PM UTC by arschmitz comment:3

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

Changed October 03, 2016 10:02PM UTC by arschmitz comment:4

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

Changed October 03, 2016 10:04PM UTC by arschmitz comment:5

owner: → TheWitness
status: newpending
version: 1.11.31.12.1

Changed October 03, 2016 10:08PM UTC by TheWitness comment:6

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

Changed October 03, 2016 10:10PM UTC by arschmitz comment:7

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

Changed October 03, 2016 10:12PM UTC by TheWitness comment:8

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

Changed October 03, 2016 10:18PM UTC by TheWitness comment:9

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

Changed October 03, 2016 10:23PM UTC by scottgonzalez comment:10

resolution: → notabug
status: newclosed