Skip to content

valueAsNumber for type=month should return the number of months since 1970-01? #1482

@smaug----

Description

@smaug----

Per spec valueAsNumber should return milliseconds, but Chrome and Edge which support type=month seem to return number of months.
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1278185#c6

I wonder why this was implemented against the spec in Chrome or has the spec changed accidentally after that or what. But anyhow, looks like we need to change the spec.

@tkent-google

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatStandard is not web compatible or proprietary feature needs standardizingtopic: forms

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions