Bug 61673

Summary: <input> color default value incorrect
Product: WebKit Reporter: rasamassen
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Minor CC: mahesh4gnu, mustaf.here, tkent
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description rasamassen 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.
Comment 1 rasamassen 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
Comment 2 Mahesh Kumar 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.
Comment 3 Kent Tamura 2011-06-20 19:05:33 PDT

*** This bug has been marked as a duplicate of bug 61273 ***