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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 1 07:56:26 PDT 2013


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





--- Comment #3 from Santosh Mahto <santosh.ma at samsung.com>  2013-09-01 07:55:46 PST ---
(In reply to comment #2)
> (From update of attachment 210187 [details])
> What effect does this have? Can we create a regression test demonstrating the problem this solves?

Effect:
input type= color take color of "#rrggbb" format only (http://www.w3.org/TR/html-markup/datatypes.html#form.data.color).
if user selection has other format e.g including alpha value ("#rrggbbaa") then we should set the fallback value of color.
This sanitizing is done when we set the color value through js call.But not done 
when color is set by colorpicker.

I will try to add test cases for this.

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