(key)
| 173 | // Converts the layout hash property names back to the CSS equivalents. |
| 174 | // For now, only the border properties differ. |
| 175 | function cssNameFor(key) { |
| 176 | if (key.include('border')) key = key + '-width'; |
| 177 | return key.camelize(); |
| 178 | } |
| 179 | |
| 180 | /** |
| 181 | * class Element.Layout < Hash |