Search and Top Navigation
#8406 closed enhancement (cantfix)
Opened June 22, 2012 07:24PM UTC
Closed June 25, 2012 12:34AM UTC
Last modified September 12, 2012 12:24PM UTC
ui.datepicker conflicts with HTML5, does not style HTML5
Reported by: | stephens2424 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.21 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The jQuery UI datepicker should coalesce with the emerging HTML5 standard implementations. I encountered a conflict reproduced here: http://jsfiddle.net/bRBZR/1/# . It occurs when an input of type date that has $.datepicker() called on it, you can see it gets the browser's implementation and the jQuery UI implementation at the same time. You can observe it in Chrome 20 (beta as of this writing), and I have read Opera (though I haven't tried that).
I am not certain that jQuery UI should engage in the browser detection necessary to determine whether or not to act, but what concerns me more is the styling: jQuery UI themes should reach into the shadow dom and style the element. I cannot find documentation for this element specifically yet, but the general idea is discussed here: http://glazkov.com/2011/01/14/what-the-heck-is-shadow-dom/
We should absolutely not be trying to play with the shadow DOM. What we need is reliable CSS appearance control, but it was dropped from the spec.