Conversation
|
As discussed at the meeting today, using space key on anchors should be supported, currently it doesn't work. |
|
There's is code in place checking for SPACE on |
|
Can you rebase this branch? This still has old file names and no UMD wrappers. |
Move to using element stats rather then js class states remove ui-button-text spans. Removed button set
ui/jquery.ui.button.js
Outdated
There was a problem hiding this comment.
Can you check if we can switch these to use _off/_on? I think at the time this was written, one or both didn't exist.
Fixes #9541
Allows easy extension for mobiles enhanced option
There was a problem hiding this comment.
This is also ill-named in button. Methods starting with is generally indicated a boolean getter, but this actually reads from the DOM, then sets an option. _readDisabled should do. That would be consistent with _readType, too.
|
I'm done for now. I hope that someone else can look at the CSS changes, including the discussion we had about those (or just ask Alex). Maybe @tjvantoll? |
|
I'd be happy to take a look at the CSS. Could you link me to the “discussion”? There's a lot here :) |
|
It comes down to this: For CSS-only buttons to work, Alex moved a good Take a look at the diff for the CSS files. If it looks good to you, nothing |
|
@tjvantoll feel free to ping me for an explanation of any of the css. |
There was a problem hiding this comment.
We still support IE8 (which doesn't support rbga) so you probably need to include its proprietary thing here.
|
I get why you're putting the button styles in theme.css, and I think that's something we'll have to live with, at least until we use a CSS preprocessor and can use mixins. I'll do a little more thinking on this but I don't see a way around it. I am confused why you have a bunch of button styles in core.css, as @jzaefferer alluded to here. |
|
Just talked about core.css with @tjvantoll and we both agree that anything for icons should remain in core.css assuming they will eventually be unscoped from additionally to make clear here other widgets will need to depend on button.css like checkboxradio, and selectmenu. This is a place mix-ins will help in the future. |
|
closed replaced by #1332 |
Working branch right now up for functional review for button re-write demo at http://view.jqueryui.com/button-icon-span/demos/button/
Spec: http://wiki.jqueryui.com/w/page/71756381/Button