#3133 closed defect (fixed)
dojo.extractRgb doesn't always return an array of numbers
Reported by: | Ben Lowery | Owned by: | Ben Lowery |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
If dojo.extractRgb is passed the string rgb(255,255,255), the values in the returned array are typeof() == string, not number. All other cases return numbers. This can adversely affect later calculations made using the array.
Note: See
TracTickets for help on using
tickets.
(In [8727]) fixes #3133. force extractRgb to return an array of number instead of an array of string for rgb(0,0,0) style strings