Mantis - Squeak
Viewing Issue Advanced Details
6936 Graphics minor always 02-19-08 11:23 04-18-10 22:05
bert  
andreas  
normal  
closed  
fixed  
none    
none trunk  
0006936: (Color fromString: '#222222') asHTMLColor = '#212121'
#asHTMLColor is inaccurate for certain values.

Attached fix resolves that, also gives 10x speed-up.
 htmlColor-bf.1.cs [^] (924 bytes) 02-19-08 11:23
 htmlColorTests-dg.1.cs [^] (1,527 bytes) 02-19-08 12:25

Notes
(0011836)
danilo   
02-19-08 12:26   
Attached changes for ColorTest to test some more colors.
Removed case sensitivity in tests.
(0013293)
andreas   
09-01-09 07:55   
http://source.squeak.org/trunk/Graphics-ar.72.mcz [^]
http://source.squeak.org/trunk/GraphicsTests-ar.14.mcz [^]