[Webkit-unassigned] [Bug 38845] Canvas color property getters should serialize them according to spec

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 18 09:31:30 PDT 2010


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





--- Comment #25 from Darin Adler <darin at apple.com>  2010-05-18 09:31:29 PST ---
(In reply to comment #24)
> (In reply to comment #23)
> > Moved color serialization into the Color class - String Color::serialized() const;
> 
> Is this the one and only style of color serialization? Generally speaking I don't think the platform layer files, like Color, should have code that is specific to a particular part of the HTML5 specification. If the serialization rules are specific to HTML then I prefer the old way this code was divided between the source files.

On the other hand, if the Color.h file already has the parsing that is the flip side of this serialization code, then I suppose it's good to have both in the same place. We should keep them together, whether we leave them in the platform code or move them into the HTML code.

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