[whatwg] Input color state: type mismatch
mounir.lamouri at gmail.com
Sat Mar 27 06:48:29 PDT 2010
It looks like the input color state can't suffer from type mismatch
according to the specs but it seems to be the only way to be sure the
value is correct. Email and URL states can suffer from type mismatch for
the exact same reason.
I think we should add:
"Constraint validation: While the value of the element is not a valid
lowercase simple color, the element is suffering from a type mismatch."
in the color state.
And add "Color" in the "Suffering from type mismatch" definition.
By the way, it looks like WebKit has implemented type mismatch for color
state  .
More information about the whatwg