def _toDOMname(CSSname):
 def _doCSStoDOMname2(m):
  return m.group(0)[1].capitalize()
 return _reCSStoDOMname.sub(_doCSStoDOMname2, CSSname)

def _toDOMname ( CSSname ) : def _doCSStoDOMname2 ( m ) : return m . group ( 0 ) [ 1 ] . capitalize ( ) return _reCSStoDOMname . sub ( _doCSStoDOMname2 , CSSname )
returns domname for given cssname e .