Skip to content

Conversation

tjvantoll
Copy link
Member

... - Slider: Visual issues with disabled slider in IE8

See http://bugs.jqueryui.com/ticket/6727.

…727 - Slider: Visual issues with disabled slider in IE8
@mikesherov
Copy link
Member

@tjvantoll, are there any unit tests you can write for this, or is this visual only?

@tjvantoll
Copy link
Member Author

Visual only. I could write a test that checks the computed style after the fix is applied but I would have to browser sniff in the test to make it work.

I could put something in the /tests/visual folder but I'm not sure that's maintained anymore.

@mikesherov
Copy link
Member

@tjvantoll, can you rebase this since we landed a large CSS coding style change. Thanks man!

Conflicts:
	themes/base/jquery.ui.slider.css
@tjvantoll
Copy link
Member Author

@mikesherov I merged master back in to my branch.

@mikesherov
Copy link
Member

@tjvantoll, so now there's a visual difference for IE8. The handles have some of there own opacity so you can see the sliders underneath. Certainly it's a lot better than appearing enabled, but @scottgonzalez, @jzaefferer, is this acceptable?

@scottgonzalez
Copy link
Member

I think ti's fine unless we have a sane solution to get it to look the same as other browsers.

Shitty browsers = worse results. It's the world we live in :-/

@mikesherov
Copy link
Member

OK, so one last thing to discuss here... It's amazing how the "simplest" changes are hard to land. CSSLint is complaining that .ui-slider.ui-state-disabled .ui-slider-handle violates the adjoining_classes csslint rule, because IE6 doesn't support adjoining classes.

We have two choices:

  1. override that csslint option to false, considering the fix is IE8 only, and we no longer support IE6, and adjoining classes only fail in IE6.
  2. change the css rule from .ui-slider.ui-state-disabled .ui-slider-handle to .ui-state-disabled .ui-slider-handle

@scottgonzalez @tjvantoll thoughts?

@jzaefferer
Copy link
Member

Let's change the CSSLint rule.

@mikesherov
Copy link
Member

Thanks, landed in 421aeaa

@mikesherov mikesherov closed this Nov 23, 2012
@tjvantoll
Copy link
Member Author

@mikesherov Sorry for the late response but I agree with @jzaefferer, the CSSLint rule is no longer relevant to jQuery UI since we're dropping IE6 in 1.10. I also like the explicitness of including .ui-slider in this rule.

@mikesherov
Copy link
Member

No worries @tjvantoll!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants