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)
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
Updated•11 years ago
|
Component: General → DOM: Core & HTML
Product: Firefox → Core
![]() |
||
Updated•11 years ago
|
Flags: needinfo?(jwatt)
Summary: input type="color": allow empty value → input type="color" should allow empty value
Comment 1•11 years ago
|
||
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).
![]() |
||
Comment 2•11 years ago
|
||
Yohan, I agree with Arnaud. Did you contact the whatwg/w3c lists to ask about this?
Flags: needinfo?(jwatt)
Comment 3•8 years ago
|
||
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
Updated•7 years ago
|
Priority: -- → P5
Updated•4 years ago
|
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.
Description
•