Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#8406 closed enhancement (cantfix)

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:


The jQuery UI datepicker should coalesce with the emerging HTML5 standard implementations. I encountered a conflict reproduced here: . 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:

Change History (2)

comment:1 Changed 11 years ago by Scott González

Resolution: cantfix
Status: newclosed

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.

comment:2 Changed 10 years ago by Scott González

#8567 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.