Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(76)

Issue 67158: Improved color support (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
17 years, 1 month ago by erik.arvidsson
Modified:
16 years, 10 months ago
Reviewers:
eae
CC:
jvivenzio_mac.com, google-excanvas_googlegroups.com
Base URL:
http://explorercanvas.googlecode.com/svn/trunk/
Visibility:
Public.

Description

This adds support for the CSS2 color names. It also adds support for hsl() and hsla() from CSS3. This is based on the patch from John Vivenzio

Patch Set 1 #

Total comments: 1

Patch Set 2 : Changed to an object literal #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+485 lines, -15 lines) Patch
M trunk/excanvas.js View 2 chunks +213 lines, -15 lines 4 comments Download
A trunk/testcases/colors.html View 1 chunk +272 lines, -0 lines 0 comments Download

Messages

Total messages: 8
erik.arvidsson
I apologize for this taking so long to get done.
17 years, 1 month ago (2009-06-07 00:45:49 UTC) #1
erik.arvidsson
Emil, do you think you can look at this over the weekend?
17 years ago (2009-06-20 03:04:31 UTC) #2
eae
http://codereview.appspot.com/67158/diff/1/2 File excanvas.js (right): http://codereview.appspot.com/67158/diff/1/2#newcode261 Line 261: var colorString = 'aliceblue#F0F8FFantiquewhite#FAEBD7aquamarine#7FFFD4azure#F0FFFFbeige#F5F5DCbisque#FFE4C4black#000000blanchedalmond#FFEBCDblueviolet#8A2BE2brown#A52A2Aburlywood#DEB887cadetblue#5F9EA0chartreuse#7FFF00chocolate#D2691Ecoral#FF7F50cornflowerblue#6495EDcornsilk#FFF8DCcrimson#DC143Ccyan#00FFFFdarkblue#00008Bdarkcyan#008B8Bdarkgoldenrod#B8860Bdarkgray#A9A9A9darkgreen#006400darkgrey#A9A9A9darkkhaki#BDB76Bdarkmagenta#8B008Bdarkolivegreen#556B2Fdarkorange#FF8C00darkorchid#9932CCdarkred#8B0000darksalmon#E9967Adarkseagreen#8FBC8Fdarkslateblue#483D8Bdarkslategray#2F4F4Fdarkslategrey#2F4F4Fdarkturquoise#00CED1darkviolet#9400D3deeppink#FF1493deepskyblue#00BFFFdimgray#696969dimgrey#696969dodgerblue#1E90FFfirebrick#B22222floralwhite#FFFAF0forestgreen#228B22gainsboro#DCDCDCghostwhite#F8F8FFgold#FFD700goldenrod#DAA520grey#808080greenyellow#ADFF2Fhoneydew#F0FFF0hotpink#FF69B4indianred#CD5C5Cindigo#4B0082ivory#FFFFF0khaki#F0E68Clavender#E6E6FAlavenderblush#FFF0F5lawngreen#7CFC00lemonchiffon#FFFACDlightblue#ADD8E6lightcoral#F08080lightcyan#E0FFFFlightgoldenrodyellow#FAFAD2lightgreen#90EE90lightgrey#D3D3D3lightpink#FFB6C1lightsalmon#FFA07Alightseagreen#20B2AAlightskyblue#87CEFAlightslategray#778899lightslategrey#778899lightsteelblue#B0C4DElightyellow#FFFFE0limegreen#32CD32linen#FAF0E6magenta#FF00FFmediumaquamarine#66CDAAmediumblue#0000CDmediumorchid#BA55D3mediumpurple#9370DBmediumseagreen#3CB371mediumslateblue#7B68EEmediumspringgreen#00FA9Amediumturquoise#48D1CCmediumvioletred#C71585midnightblue#191970mintcream#F5FFFAmistyrose#FFE4E1moccasin#FFE4B5navajowhite#FFDEADoldlace#FDF5E6olivedrab#6B8E23orange#FFA500orangered#FF4500orchid#DA70D6palegoldenrod#EEE8AApalegreen#98FB98paleturquoise#AFEEEEpalevioletred#DB7093papayawhip#FFEFD5peachpuff#FFDAB9peru#CD853Fpink#FFC0CBplum#DDA0DDpowderblue#B0E0E6rosybrown#BC8F8Froyalblue#4169E1saddlebrown#8B4513salmon#FA8072sandybrown#F4A460seagreen#2E8B57seashell#FFF5EEsienna#A0522Dskyblue#87CEEBslateblue#6A5ACDslategray#708090slategrey#708090snow#FFFAFAspringgreen#00FF7Fsteelblue#4682B4tan#D2B48Cthistle#D8BFD8tomato#FF6347turquoise#40E0D0violet#EE82EEwheat#F5DEB3whitesmoke#F5F5F5yellowgreen#9ACD32'; I assume you do ...
17 years ago (2009-06-22 15:57:59 UTC) #3
erik.arvidsson
17 years ago (2009-06-23 01:28:45 UTC) #4
eae
On 2009/06/23 01:28:45, arv wrote: > Your last update was empty, I bet that wasn't ...
17 years ago (2009-06-23 01:46:28 UTC) #5
eae
Looks much better, one last comment though. (btw, patch set 1 seems to have vanished ...
17 years ago (2009-06-23 01:52:35 UTC) #6
erik.arvidsson
I think we should either keep it readable or small. If we go for readable, ...
17 years ago (2009-06-23 02:24:25 UTC) #7
eae
17 years ago (2009-06-23 02:49:04 UTC) #8
LGTM

You've got me convinced, let's go for readable.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b