 throw 'CoffeeScript is needed' unless CoffeeScript?
+
+#TODO: lineBefore
 
 class DocumentStyle
 

      # attributes
      # color: 'black'
      else if lineBeginsWithAttribute
        line = @parseAttributeLine(line, { indent: '  ', escape: true }) # we have an escape for e.g. font: 'Lucida', Arial
      else
        line = @parseInlineArguments(line)
        # functions, like `@pad('5px')`

  
  page: (selector, values) ->    
    {selector, values} = @_selectorAndValues(selector, values)
    # values = if values then values else ''
    values = @object_to_css(values) if values
    @addLine("@page #{selector} #{values}") if selector

  _selectorAndValues: (selector,values) ->
    if typeof selector is 'object'
      { selector: '', values: selector }
    else
      selector ?= ''
