Bug 61673
Summary: | <input> color default value incorrect | ||
---|---|---|---|
Product: | WebKit | Reporter: | rasamassen |
Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Minor | CC: | mahesh4gnu, mustaf.here, tkent |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
rasamassen
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
rasamassen
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
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
*** This bug has been marked as a duplicate of bug 61273 ***