Opened 7 years ago

Closed 7 years ago

Last modified 7 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:

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/

Change History (2)

comment:1 Changed 7 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 7 years ago by Scott González

#8567 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.