Bug 834157 - Add the support of max and min attribute for the date type input.

https://bugzilla.mozilla.org/show_bug.cgi?id=834157