code: func (element *Element) inline() error {
  	// compute declarations
  	declarations, err := element.computeDeclarations()
  	if err != nil {
  		return err
  	}
  
  	// set style attribute
  	styleValue := computeStyleValue(declarations)
  	if styleValue != "" {
  		element.elt.SetAttr("style", styleValue)
  	}
  
  	// set additionnal attributes
  	element.setAttributesFromStyle(declarations)
  
  	return nil
  }
docs: // Inline styles on element