           mistakes: ['-ms-']
           browsers: browsers
 
+feature gradients, match: /a\sx/, (browsers) ->
+  browsers = browsers.map (i) -> if /op/.test(i) then i else "#{i} old"
+  add 'linear-gradient', 'repeating-linear-gradient',
+      'radial-gradient', 'repeating-radial-gradient',
+       browsers: browsers
+
 # Box sizing
 feature require('caniuse-db/features-json/css3-boxsizing'), (browsers) ->
   prefix 'box-sizing',

          browsers: browsers

feature flexbox, match: /y\sx/, (browsers) ->
  prefix 'display-flex', 'inline-flex',
          props:  ['display']
          browsers: browsers
  prefix 'flex', 'flex-grow', 'flex-shrink', 'flex-basis',
          transition: true
          browsers:   browsers
  prefix 'flex-direction', 'flex-wrap', 'flex-flow', 'justify-content',
         'order', 'align-items', 'align-self', 'align-content',
          browsers: browsers

# calc() unit
feature require('caniuse-db/features-json/calc'), (browsers) ->


prefix = (names..., data) ->
  for name in names
    result[name] = { }
    for i of data
      result[name][i] = data[i]

add = (names..., data) ->
  for name in names
    result[name].browsers = sort(result[name].browsers.concat(data.browsers))

module.exports = result

