Bug 61673 - <input> color default value incorrect
Summary: <input> color default value incorrect
Status: RESOLVED DUPLICATE of bug 61273
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Minor
Assignee: Nobody
Depends on:
Reported: 2011-05-27 16:00 PDT by rasamassen
Modified: 2011-06-20 19:05 PDT (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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
<!doctype html>
    var el = document.createElement("input");
    el.setAttribute("type", "color");

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 ***