     if testEl.style[prefix + capProp]?
       return prefix + capProp
   false
+
+
+testGradient = ->
+  for prefix in prefixList
+    testEl.style.backgroundImage = "-#{ prefix.toLowerCase() }-linear-gradient(left, #000, #fff)"
+    if testEl.style.backgroundImage.indexOf('gradient') isnt -1
+      return "-#{ prefix }-"
+
+  ''
+
 
 # one dimensional:
 extendObj = (target, source) ->

      percent


  _getPanelType: (anchor) ->
    if anchor is 'left' or anchor is 'right'
      @vPanels

    if @shading
      topShader = shader.cloneNode()
      topShader.className = 'oridomi-shader-top'
      topShader.style.background = @_getShaderGradient 'top'
      bottomShader = shader.cloneNode()
      bottomShader.className = 'oridomi-shader-bottom'
      bottomShader.style.background = @_getShaderGradient 'bottom'
      hMask.appendChild topShader
      hMask.appendChild bottomShader

