Bug 834157 - Add the support of max and min attribute for the date type input.
Bug 851860 - fix syntax error?
Merge pull request #8692 from lightsofapollo/fix-werid-stuff

Bug 851860 - Fix syntax error?
Merge pull request #8570 from crh0716/834157

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