Closed Bug 1012893 Opened 11 years ago Closed 4 years ago

input type="color" should allow empty value

Categories

(Core :: DOM: Core & HTML, defect, P5)

29 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: yboniface, Unassigned)

References

Details

(Keywords: dev-doc-needed)

The specs says that the native color input is not yes ready for empty values (http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#color-state-%28type=color%29). Though we already hit this as a usability issue, because, among that not allowing to clear the field, it *forces* the specs default value (#000000) on load, which does not allow a user to keep the field blank. See https://bugzilla.mozilla.org/show_bug.cgi?id=1003575
Component: General → DOM: Core & HTML
Product: Firefox → Core
Flags: needinfo?(jwatt)
Summary: input type="color": allow empty value → input type="color" should allow empty value
Blocks: 1013606
IMHO this sounds like more a spec issue, so this bug should be close (as we currently respect the spec). However, you might want to report this issue to WHATWG/W3C directly (but I suspect this has already been done).
Yohan, I agree with Arnaud. Did you contact the whatwg/w3c lists to ask about this?
Flags: needinfo?(jwatt)
It's been three years, and the spec still says that value cannot be empty. I'm guessing this isn't something that will change, but I've put dev-doc-needed on just in case it does.
Keywords: dev-doc-needed
Priority: -- → P5
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.