RESOLVED DUPLICATE of bug 61273 61673
<input> color default value incorrect
https://bugs.webkit.org/show_bug.cgi?id=61673
Summary <input> color default value incorrect
rasamassen
Reported 2011-05-27 16:00:49 PDT
Per http://www.w3.org/TR/html5/number-state.html#color-state, if no value is specified, then the value should be #000000. Current value is empty string.
Attachments
rasamassen
Comment 1 2011-05-30 17:03:43 PDT
Test: <!doctype html> <script> var el = document.createElement("input"); el.setAttribute("type", "color"); alert(el.value); </script> Chrome 11: "" Opera 11: "#000000" FF4/IE9 not implemented
Mahesh Kumar
Comment 2 2011-06-20 02:46:34 PDT
As per http://www.w3schools.com/html5/html5_form_input_types.asp, these new input types are not yet implemented. Will discuss in IRC regarding what is the current plan & if any one is working on this & then will update the same here.
Kent Tamura
Comment 3 2011-06-20 19:05:33 PDT
*** This bug has been marked as a duplicate of bug 61273 ***
Note You need to log in before you can comment on or make changes to this bug.