[Webkit-unassigned] [Bug 120559] [Forms:color] ColorInputType::didChooseColor should set sanitize value in element.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 4 06:08:39 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=120559


Andreas Kling <akling at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akling at apple.com




--- Comment #5 from Andreas Kling <akling at apple.com>  2013-09-04 06:07:57 PST ---
So <input type=color> does not support colors with alpha values, and the solution here is to turn colors with alpha into solid black by "sanitizing" the value?

That seems counter-intuitive. Since colors with alpha values are not allowed by the API, it would be better if they could not be selected at all. If that's not possible due to platform color picker restrictions, I think we should just always force the alpha component to 1.0.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list