code: def get_style_attribute(style_attribute, html_element):
          '''
          ::param: style_directive \
            The attribute value of the given style sheet.
            Example: display: none
  
          ::param: html_element: \
            The HtmlElement to which the given style is applied
  
          ::returns:
              A HtmlElement that merges the given element with
              the style attributes specified.
          '''
          custome_html_element = html_element.clone()
          for style_directive in style_attribute.lower().split(';'):
              if ':' not in style_directive:
                  continue
              key, value = (s.strip() for s in style_directive.split(':', 1))
  
              try:
                  apply_style = getattr(CssParse, "_attr_" +
                                        key.replace('-webkit-', '')
                                        .replace("-", "_"))
                  apply_style(value, custome_html_element)
              except AttributeError:
                  pass
  
          return custome_html_elemenf get_style_attribute(style_attribute, html_element):
          '''
          ::param: style_directive \
            The attribute value of the given style sheet.
            Example: display: none
  
          ::param: html_element: \
            The HtmlElement to which the given style is applied
  
          ::returns:
              A HtmlElement that merges the given element with
              the style attributes specified.
          '''
          custome_html_element = html_element.clone()
          for style_directive in style_attribute.lower().split(';'):
              if ':' not in style_directive:
                  continue
              key, value = (s.strip() for s in style_directive.split(':', 1))
  
              try:
                  apply_style = getattr(CssParse, "_attr_" +
                                        key.replace('-webkit-', '')
                                        .replace("-", "_"))
                  apply_style(value, custome_html_element)
              except AttributeError:
                  pass
  
          return custome_html_element
docs: ::param: style_directive \
            The attribute value of the given style sheet.
            Example: display: none
  
          ::param: html_element: \
            The HtmlElement to which the given style is applied
  
          ::returns:
              A HtmlElement that merges the given element with
              the style attributes specified.