News for hackers. Stuff that matters.
Re:Select2 - A better way to make select boxes (with jQuery) by krsunny on Thursday June 07, 2012 @12:26AM (#4077606)
Good points but I think you're preaching to the choir. The bottleneck is the W3C which is probably bogged with all sorts of red tape and politics.
Re:Select2 - A better way to make select boxes (with jQuery) by jacobr on Thursday June 07, 2012 @02:07AM (#4077813)
In what way does the W3C block browsers from changing the UI of form controls? Most interesting innovation happens outside of the standard's committees, and as long as it is standardized in a reasonable amount of time, that's ok.
Re:Select2 - A better way to make select boxes (with jQuery) by thristian on Thursday June 07, 2012 @01:04AM (#4077689)
That's why we have the WHATWG, whose mode of operation is much closer to the IETF's mantra of "rough consensus and running code".
Re:Select2 - A better way to make select boxes (with jQuery) by eurleif on Thursday June 07, 2012 @02:38PM (#4080592)
This is outside the scope of the W3C, and within the scope of browser vendors. The HTML specification doesn't say how a select element should be rendered, just that it should allow the user to choose from a list of options. That browsers all render select elements roughly the same is convention, not specification, and browser vendors could change if they wanted to.
Re:Select2 - A better way to make select boxes (with jQuery) by krsunny on Friday June 08, 2012 @12:20AM (#4082660)
It's entirely within the scope of the W3C and IE6 is proof enough that vendors shouldn't implement things however they choose.
Re:Select2 - A better way to make select boxes (with jQuery) by eurleif on Friday June 08, 2012 @12:24AM (#4082670)
Yes, vendors shouldn't do whatever they want, they should stick to the spec. In this case, the spec allows any rendering for select elements which allows the user to choose from a list of options. Using a different rendering from other browser does not violate the spec.
Re:Select2 - A better way to make select boxes (with jQuery) by enjo on Friday June 08, 2012 @01:05AM (#4082765)
I've always felt like this was a major shortcoming of the specification. Inputs should have some consistent visual specification along with support for a well-defined set of styling options. We go through all of these gyrations precisely because the spec. doesn't define standard behavior. The differences in color, size, and shape from platform to platform (and browser to browser) can be very problematic for anyone trying to make the web beautiful.
Re:Select2 - A better way to make select boxes (with jQuery) by Someone on Saturday June 09, 2012 @04:37AM (#4087615)
The other side of the argument is that it is beneficial that browsers determine how such elements work. If they did not, millions of mobile users would be struggling with tiny but beautifully rendered UI elements.